diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-07 17:30:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-07 17:30:28 +0100 |
commit | debb2c431b40a6b4750a39956cc5fcfa5a4a6476 (patch) | |
tree | 5c5fceb399f1dddaf02d4d8da8f674106cede374 /dev-ruby/haml | |
parent | a17b25a10359070f9527893d861369d378021aa9 (diff) |
gentoo auto-resync : 07:04:2023 - 17:30:27
Diffstat (limited to 'dev-ruby/haml')
-rw-r--r-- | dev-ruby/haml/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/haml/haml-6.1.1-r1.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-ruby/haml/Manifest b/dev-ruby/haml/Manifest index 814a0ce086cb..93bed4098346 100644 --- a/dev-ruby/haml/Manifest +++ b/dev-ruby/haml/Manifest @@ -1,5 +1,6 @@ DIST haml-5.2.2.tar.gz 129833 BLAKE2B d68c24c7a3c817d6d364b2ec92b84b4f56f4fffa48b99d17b2df27da35f50b1fb1f69b184a7b21d899c476e0d4c8ad2b940a7cb2995ec24ecdafab8ef61fe393 SHA512 1aec59fab20d8139a5dfedde2007fa8137a377a345e4d30229f9d1140d56cdf970c8ae70e2647e6a408d7fa543a16050f66a8a636efa6a6b1f91ee1ffcc136c1 DIST haml-6.1.1.tar.gz 669644 BLAKE2B 239b3a1fe02bcd1e2981198ba7c54c71ca2af0947102fcea6cd600cc6579294856baa290589a7d3a015e54df8bcecf8e50175cf2189e8f4f9c6f9721a558bcc9 SHA512 7d732be085b41b8f0eec418600a82b51c68301081165aa636fa342ae26b74215a202a4b15e592da980d9a7fbe24bad01399f599770420133c4b6ab7523386fa5 EBUILD haml-5.2.2.ebuild 1496 BLAKE2B 1abadf57965798595ed08da1de7b19b0635a05ead6287e29e8902c2a69de9a69b693d3e282ba51468f6ed4c83a455c63f539020274c4e8332f8e933dec8d233c SHA512 3828bbbf977f0157e3669c425b870b8faff8260c94be80b3f08b55c04b2654a763e24f0b82d6dd4deb79075f0d85741e34462aa020903f01dc0c3c5f4eb43d4a +EBUILD haml-6.1.1-r1.ebuild 1636 BLAKE2B 8debb15864c0aada3b2f518bdfca389c758ca9f1614fa5b6e90f4c9e69cd97b3941921908a0e9b54d8b917e54cfffe1eeadf6f57cc8b02a3ad5ba5444ae4a2fc SHA512 33b20278c4b44a9c86ac02604b1fc2887c24a30059cb1be54955a2414dc76c4509e2c1cc94c53bf70374cb8541e36a2b6c7f2ec041e0dac7bc456d461dbf2c0d EBUILD haml-6.1.1.ebuild 1520 BLAKE2B fa676f2d2e9e21dfb3e8a9c51822e940dd6a51229671b7daf05afa107463236d5ff96ffa8753ac8ed276115d2e0d4d19b79d9d6e5ba9f987eed4fb975ae40083 SHA512 7f3e61e6830681e28415d943a43e08716ac7d3825e2a4f0637d5105b70388c12a6235e7421dda623dcff07390c910725bf580a6332cd06d896d4a75276cdbeaa MISC metadata.xml 384 BLAKE2B 49a1ec969b1de2c61646aef404bcb19961d7f7b6b8c0324c1f447c8847adb0d3667e653b4273ed1c7e177e7e5216e6275a7c664ee6917ecb48e69d89554a33c6 SHA512 047f50785afcb708d07a770c38e40d7c8be01455832f01bbd006608eb18af8a8470a21ab0c57b7304ad4e2be39121310d0feb1ac64163a1b5e4c1cbf61cb8bfb diff --git a/dev-ruby/haml/haml-6.1.1-r1.ebuild b/dev-ruby/haml/haml-6.1.1-r1.ebuild new file mode 100644 index 000000000000..2cfae3699c8e --- /dev/null +++ b/dev-ruby/haml/haml-6.1.1-r1.ebuild @@ -0,0 +1,59 @@ +# 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_BINWRAP="" +RUBY_FAKEGEM_EXTENSIONS=(ext/haml/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/haml" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md REFERENCE.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A ruby web page templating engine" +HOMEPAGE="https://haml.info/" +SRC_URI="https://github.com/haml/haml/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm arm64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +IUSE="doc test" + +ruby_add_rdepend ">=dev-ruby/temple-0.8.2 dev-ruby/thor dev-ruby/tilt:*" + +ruby_add_bdepend " + test? ( + dev-ruby/minitest:5.15 + dev-ruby/nokogiri + >=dev-ruby/railties-6.0 + >=dev-ruby/activemodel-6.0 + >=dev-ruby/actionpack-6.0 + dev-ruby/unindent + ) + doc? ( + dev-ruby/yard + )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '/bundler/ s:^:#: ; /Bundler/,/end/ s:^:#:' Rakefile || die + # minitest hack just to match rails/activesupport + sed -i \ + -e "/require 'minitest\/autorun'/igem 'minitest', '< 5.16'" \ + -e '/bundler/I s:^:#:' \ + -e '/simplecov/I s:^:#:' \ + test/test_helper.rb || die + # Remove tests that fails when RedCloth is available + rm -f test/haml/filters/markdown_test.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -rtest_helper -e 'Dir["test/haml/**/*_test.rb"].each { require _1 }' || die +} |