diff options
author | 2023-09-15 07:51:53 +0200 | |
---|---|---|
committer | 2023-09-15 07:51:53 +0200 | |
commit | d2538b9b4c81c4e80f3c0167acbb96a959597b5f (patch) | |
tree | 988339686ef23f445b5f9e501786123fa0bcb07f /dev-ruby | |
parent | dev-ruby/sanitize: add 6.1.0 (diff) | |
download | gentoo-d2538b9b4c81c4e80f3c0167acbb96a959597b5f.tar.gz gentoo-d2538b9b4c81c4e80f3c0167acbb96a959597b5f.tar.bz2 gentoo-d2538b9b4c81c4e80f3c0167acbb96a959597b5f.zip |
dev-ruby/tilt: add 2.3.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/tilt/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/tilt/tilt-2.3.0.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/tilt/Manifest b/dev-ruby/tilt/Manifest index 121a3ff5e552..60681839391c 100644 --- a/dev-ruby/tilt/Manifest +++ b/dev-ruby/tilt/Manifest @@ -1,3 +1,4 @@ DIST tilt-2.0.11.tar.gz 53041 BLAKE2B 2509cc3efe5e6302c8943c00108eeda6ee4b23a18952ad23049e11ea28b397b80a21d34c4d241119f45cedf2a978a2673d857a6cc32d7e26a2016caa510458f9 SHA512 e28e31ab92aa42eada34e0f6c05dab6a54945d07b649588356b1635ba8a36700f6e537e8702613883693501442d21690d8b3690b06f7b9f331192134511b78b7 DIST tilt-2.1.0.tar.gz 54542 BLAKE2B b2d7729654efb51d9f61afe75476d6620edd7c104c045dc68c6a5e983cea8dec612d2e5013c51ee7736c87d770acdf8e6f186ff156d177f3281e0fb58d0e8422 SHA512 a450bdc51d782169cda2c43b550fad1425d4ee1a8f3c2da0bb1112051eb9ccfd95e903984ed6d3c76b0f322a243021587c6614f6452c385450ff1a985cfbcaa5 DIST tilt-2.2.0.tar.gz 57826 BLAKE2B 10729ac9cb2e2d0b2292a6fdacc0d705179d719d7f4bbdb11075e0eeaeb82933daec22063d3448ea2ada6e50f37b2b66303854707f50162efd11a6151ded45df SHA512 135a32402512fda71952dc2534b02a291d749dbdcb9e17f52c7fa6ecfe3bd7e894f28f3d3d4a595daa63ffbe90cca106347aa916541292558a26d8122fcd7c90 +DIST tilt-2.3.0.tar.gz 57454 BLAKE2B 2c3c934e73c015be850951c67731b2f1640fb340ab1807c72c654363c2ab3aca939b8452327cd54e2c1964add81176cec0dfd2639901284476f0dd13d42a2ccf SHA512 3438c196c2e0936f2c3551fe3786d71b1336118352b97c95d3504b900082ce4248bbaf715f3f812eb7fe6e959767c75e316bf6cd5b659c216bbfd630dbf678bc diff --git a/dev-ruby/tilt/tilt-2.3.0.ebuild b/dev-ruby/tilt/tilt-2.3.0.ebuild new file mode 100644 index 000000000000..2c9d6bfc3006 --- /dev/null +++ b/dev-ruby/tilt/tilt-2.3.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="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 ~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 + + # 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 +} |