commit: ed1b5325d135a96a4448ca2e95539dd765f3954d Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sat Dec 21 08:57:48 2024 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sat Dec 21 08:58:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed1b5325
dev-ruby/tilt: add 2.5.0 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/tilt/Manifest | 1 + dev-ruby/tilt/tilt-2.5.0.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/dev-ruby/tilt/Manifest b/dev-ruby/tilt/Manifest index 33ab1d93ba75..d8df2b7f9528 100644 --- a/dev-ruby/tilt/Manifest +++ b/dev-ruby/tilt/Manifest @@ -1 +1,2 @@ DIST tilt-2.4.0.tar.gz 58520 BLAKE2B fe07437d62de1db062625c1ead3a81ed34bba0c7169181d44216b5f42b1b742b2c7900c079affbae13831d1370044827384da4302b6e92a01f151b36b37f3772 SHA512 3053479b9f258e01620db5f4af02247179df39f18baae2b5b83eac23046effafcd6f47575432158bb752e3019dcb0aadb67ca11236a12ea01e2211354b7418d1 +DIST tilt-2.5.0.tar.gz 57181 BLAKE2B 27f2eccaec18c7e87ac30680ad94f9202f9608a384d4391e90cc882a4ed82e8b977d89c275202d67e5f30581104a5279e88d47288e709567d65940c18c8d585f SHA512 d27e08e773dd83cf9310ae2879a3a558ecdf686f105c6f03588646ba771933533f75c0132b404c846dfd10087cd6e9aa2cc7fe41076bb4e84766c79f0b98538f diff --git a/dev-ruby/tilt/tilt-2.5.0.ebuild b/dev-ruby/tilt/tilt-2.5.0.ebuild new file mode 100644 index 000000000000..b76fb674cff9 --- /dev/null +++ b/dev-ruby/tilt/tilt-2.5.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md docs/TEMPLATES.md" + +RUBY_FAKEGEM_GEMSPEC="tilt.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Thin interface over template engines to make their usage as generic as possible" +HOMEPAGE="https://github.com/jeremyevans/tilt" +SRC_URI="https://github.com/jeremyevans/tilt/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +# Block on some of the potential test dependencies. These dependencies +# are optional for the test suite, and we don't want to depend on all of +# them to facilitate keywording and stabling. +ruby_add_bdepend "test? ( + dev-ruby/erubi + dev-ruby/nokogiri +)" + +all_ruby_prepare() { + sed -e '/bundler/I s:^:#:' -i Rakefile test/test_helper.rb || die + sed -e '7irequire "uri"' -i test/test_helper.rb || die +}
