commit: 5f30b3f5f8b297be67a604ce5e951c4b4cb26057 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Mon Nov 13 06:46:32 2023 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Mon Nov 13 06:50:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f30b3f5
dev-ruby/temple: add 0.10.3 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/temple/Manifest | 1 + dev-ruby/temple/temple-0.10.3.ebuild | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/dev-ruby/temple/Manifest b/dev-ruby/temple/Manifest index 884fdc107027..308cf1a757b7 100644 --- a/dev-ruby/temple/Manifest +++ b/dev-ruby/temple/Manifest @@ -1,2 +1,3 @@ DIST temple-0.10.0.gem 40960 BLAKE2B c3d272bc5f9263f5727fc81803f1c265f39ba10a3336bccbe17ce9aa4a6a13304c73a8d323bc45fe59c5d8230a569ad3af3de9225c8e21eccda291e89e482d75 SHA512 b207ff1f29b810c943577da1ce72c7eaa2bd672758929b39d6f92c5061c85c720fd49fbb666d5d8f9d1a8c1fbbef28f85cadb6635c12a3ceec29f8b0305833cc DIST temple-0.10.2.gem 40960 BLAKE2B 690d4a891d30d453c303aa47c07f341334cdbf4605f3936422d939bd148cb0df412d00c2718db2e6e9b9ab7a1c2ba7f538cdc96fec17958215b95a1b60093955 SHA512 54cc549056924958ce36c52d2b795cc3303ddd689f5fbe50b01c1e806582b97d37e438d917eaf6c05519b4aad9b05fff5e305d8d614c1e8f714f1e1a88d8db23 +DIST temple-0.10.3.tar.gz 37780 BLAKE2B 9b18f9103f05935ac774423958372b0c518aa0976e46b59d4d80ab4649fae96b83486a0f650a6d3b27ae7af20ce9f9f49b50989da3313d13134e2b29bdfcd32d SHA512 3f41e5897fb43be844f7c0804c01e6bb8843034ca5cad9550eb96140136fdc3a2251ae682f4566520476d7b5e8a7e1585b65aedb5c922643d71b6c4454d3e1bd diff --git a/dev-ruby/temple/temple-0.10.3.ebuild b/dev-ruby/temple/temple-0.10.3.ebuild new file mode 100644 index 000000000000..2cea6862ba91 --- /dev/null +++ b/dev-ruby/temple/temple-0.10.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="CHANGES EXPRESSIONS.md README.md" +RUBY_FAKEGEM_GEMSPEC="temple.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="An abstraction and a framework for compiling templates to pure Ruby" +HOMEPAGE="https://github.com/judofyr/temple" +SRC_URI="https://github.com/judofyr/temple/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0.7" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="" + +ruby_add_bdepend "test? ( + dev-ruby/erubi + >=dev-ruby/tilt-2.0.1 )" + +all_ruby_prepare() { + sed -e 's/__FILE__/"."/' \ + -e 's/git ls-files -z/find * -print0/' \ + -e 's/git ls-files --/echo/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +}