diff options
author | 2023-03-20 11:29:40 +0000 | |
---|---|---|
committer | 2023-03-22 03:25:10 +0000 | |
commit | 0e4f58d873a0b98343eaef31a9f481d0daf95fb1 (patch) | |
tree | 8c22dd1bd88555d2f78d775d4b7181e912a1206f /dev-ruby/tilt | |
parent | dev-ruby/erubi: enable ruby32 (diff) | |
download | gentoo-0e4f58d873a0b98343eaef31a9f481d0daf95fb1.tar.gz gentoo-0e4f58d873a0b98343eaef31a9f481d0daf95fb1.tar.bz2 gentoo-0e4f58d873a0b98343eaef31a9f481d0daf95fb1.zip |
dev-ruby/tilt: add 2.1.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ruby/tilt')
-rw-r--r-- | dev-ruby/tilt/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/tilt/tilt-2.1.0.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/tilt/Manifest b/dev-ruby/tilt/Manifest index 53b57245771a..f31a652a34a5 100644 --- a/dev-ruby/tilt/Manifest +++ b/dev-ruby/tilt/Manifest @@ -1 +1,2 @@ DIST tilt-2.0.11.tar.gz 53041 BLAKE2B 2509cc3efe5e6302c8943c00108eeda6ee4b23a18952ad23049e11ea28b397b80a21d34c4d241119f45cedf2a978a2673d857a6cc32d7e26a2016caa510458f9 SHA512 e28e31ab92aa42eada34e0f6c05dab6a54945d07b649588356b1635ba8a36700f6e537e8702613883693501442d21690d8b3690b06f7b9f331192134511b78b7 +DIST tilt-2.1.0.tar.gz 54542 BLAKE2B b2d7729654efb51d9f61afe75476d6620edd7c104c045dc68c6a5e983cea8dec612d2e5013c51ee7736c87d770acdf8e6f186ff156d177f3281e0fb58d0e8422 SHA512 a450bdc51d782169cda2c43b550fad1425d4ee1a8f3c2da0bb1112051eb9ccfd95e903984ed6d3c76b0f322a243021587c6614f6452c385450ff1a985cfbcaa5 diff --git a/dev-ruby/tilt/tilt-2.1.0.ebuild b/dev-ruby/tilt/tilt-2.1.0.ebuild new file mode 100644 index 000000000000..a1ad7679472a --- /dev/null +++ b/dev-ruby/tilt/tilt-2.1.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" + +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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-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 faciliate keywording and stabling. +ruby_add_bdepend "test? ( + dev-ruby/erubi + dev-ruby/nokogiri +)" + +all_ruby_prepare() { + rm Gemfile || die + sed -e '/bundler/I s:^:#:' -i Rakefile test/test_helper.rb || die + + # Avoid tests with minor syntax differences since this happens all + # the time when details in the dependencies change. + rm -f test/tilt_sasstemplate_test.rb || die + + # Skip tests for unpackaged asciidoctor converter + sed -i -e '/docbook 4.5/askip' test/tilt_asciidoctor_test.rb || die +} |