summaryrefslogtreecommitdiff
path: root/dev-ruby/haml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-16 03:02:52 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-16 03:02:52 +0000
commitb0735771a80a647a2ea5a03a87d5873d175bd744 (patch)
treeaed120d0dfeab57cb7f38b7a5d186b1c53ae10cd /dev-ruby/haml
parent57d1fe5ae0c56e604db5d29bf7b62d685c42e043 (diff)
gentoo auto-resync : 16:11:2024 - 03:02:52
Diffstat (limited to 'dev-ruby/haml')
-rw-r--r--dev-ruby/haml/Manifest2
-rw-r--r--dev-ruby/haml/haml-5.2.2-r1.ebuild53
-rw-r--r--dev-ruby/haml/haml-6.3.0-r1.ebuild60
3 files changed, 115 insertions, 0 deletions
diff --git a/dev-ruby/haml/Manifest b/dev-ruby/haml/Manifest
index cb3fc4dedb93..9a30e3090d28 100644
--- a/dev-ruby/haml/Manifest
+++ b/dev-ruby/haml/Manifest
@@ -1,7 +1,9 @@
DIST haml-5.2.2.tar.gz 129833 BLAKE2B d68c24c7a3c817d6d364b2ec92b84b4f56f4fffa48b99d17b2df27da35f50b1fb1f69b184a7b21d899c476e0d4c8ad2b940a7cb2995ec24ecdafab8ef61fe393 SHA512 1aec59fab20d8139a5dfedde2007fa8137a377a345e4d30229f9d1140d56cdf970c8ae70e2647e6a408d7fa543a16050f66a8a636efa6a6b1f91ee1ffcc136c1
DIST haml-6.2.3.tar.gz 666083 BLAKE2B 8f6c3e6b3538fdd8b6937278073d532245d7ce53bfbb81f2ebc394160af50e8022475bf7225d3e8f8846d0088120de58829dacf91864b91bab4f0ffc18479322 SHA512 28c0031b62c44cf6b057ee88ffb522d2081e92f5d70fc25999b64a59a4430acd63bb9ee4e3fc34139a1a6fe6f678cde6c3ce08b9a5ed5d433d30d661c5983b81
DIST haml-6.3.0.tar.gz 666327 BLAKE2B 0672d39857fa0dac466bc29468a76e71d583da6637ce8534eb4d84aa4388bdc0f42d747d74cc5389bd24faf428076c13cf1897edc93317b2da7b770830d53b37 SHA512 64ee2eb7fad2e0b77307dd18a268b53a7f21b78b99a8bf80831cda9f8b6d8be983e7a23ba62942d251e7baf2c9732e38c18b842052690e5bbeb27961ca139c73
+EBUILD haml-5.2.2-r1.ebuild 1482 BLAKE2B a33d314c4538ac5f02c1fcf6c1f1dfb950a914ed738d4f1003357e197f2a4d8cc4e9ff37c8c24a64131d2f2acefbb721d28d400b7b3adc476142e562cb848a0c SHA512 08f112a558cc7bac999ff14465ab5378091bfc0bdc1355895b8910e36ba7dcba73036f7d07900f8d7deaa5667c33198bfd7b2d837d5a9b29da4fb19b295e5634
EBUILD haml-5.2.2.ebuild 1451 BLAKE2B 7e69cae6af682922121eaa2533730e193a8d559775825cdb1df218832448e727bed7625b512602f2a2fb44ccb18f9bdf27875cb5d4ba527bad9cb809798783cc SHA512 51556e02ae68e0cbe0546ea6a0953cb1157b0f046a8add4959470e083baefe9e97a8989ca24cf730e46a0c5ee115c056a7b9937ac4f99894de1ff07598bcf5a0
EBUILD haml-6.2.3.ebuild 1674 BLAKE2B 68bea1e8a1eb0802b71685605c5592979041414f73b48a618bfda9e15dd39e647ec478ed84cb3cc83f91789eb435ffdd43f45e9a5d441bbe345e2843a3949713 SHA512 629cc3220ae57960e3f15d3e5197552cc7798a2c5261fe7c41b14dc20a304337578b541bda0e505db28cda7fe17885cd61900c7963e87ac669491d64d2912435
+EBUILD haml-6.3.0-r1.ebuild 1634 BLAKE2B bbd46e63d4c5fbdcfd1cbd4a752a36f1a6bc83738f13a1c34e24f6fe10a2aa197c0c978e4abffe36fcbf00304d8df4465c5a79331b855aef7f999d296ecacfbc SHA512 abe684e0a81781681ef04fd7aeb0822b78defd9f1add8717e26eb2b3428fd2bd1fc4bbcc202c635ef859d49b49c7e57192eed2d38d711def06de38888bf18ead
EBUILD haml-6.3.0.ebuild 1653 BLAKE2B ceeeb3706df35725b289d3148c0044689001a4f3f78abfe2fbbd86cd533426413160617168cf2ce5bbe956fb968cad972fa407e50e5a8e11999f0c88faad9640 SHA512 923883a47611f500ae5bba40f2493fb04dc103091d74073429e8710455667c94169b90553052a2f3fed2186d2b61865517f868d45805e6c81f9e9f88b57fcc70
MISC metadata.xml 384 BLAKE2B 49a1ec969b1de2c61646aef404bcb19961d7f7b6b8c0324c1f447c8847adb0d3667e653b4273ed1c7e177e7e5216e6275a7c664ee6917ecb48e69d89554a33c6 SHA512 047f50785afcb708d07a770c38e40d7c8be01455832f01bbd006608eb18af8a8470a21ab0c57b7304ad4e2be39121310d0feb1ac64163a1b5e4c1cbf61cb8bfb
diff --git a/dev-ruby/haml/haml-5.2.2-r1.ebuild b/dev-ruby/haml/haml-5.2.2-r1.ebuild
new file mode 100644
index 000000000000..d13d9f1ad66d
--- /dev/null
+++ b/dev-ruby/haml/haml-5.2.2-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true RUBYLIB=lib test"
+RUBY_FAKEGEM_TASK_DOC="-Ilib doc"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md REFERENCE.md"
+RUBY_FAKEGEM_DOCDIR="doc"
+
+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 ~hppa ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+
+IUSE="doc test"
+
+ruby_add_rdepend ">=dev-ruby/temple-0.8.0 dev-ruby/tilt:*"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/minitest:5
+ dev-ruby/nokogiri
+ || ( dev-ruby/rails:6.1 dev-ruby/rails:7.0 )
+ )
+ doc? (
+ dev-ruby/yard
+ >=dev-ruby/maruku-0.7.2-r1
+ )"
+
+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
+ sed -i -e '/bundler/I s:^:#:' \
+ -e '/simplecov/I s:^:#:' \
+ -e '2igem "rails", "< 7.1"' \
+ -e '3irequire "ostruct"' \
+ test/test_helper.rb || die
+ # Remove test that fails when RedCloth is available
+ sed -i -e "/should raise error when a Tilt filters dependencies are unavailable for extension/,/^ end/ s/^/#/"\
+ test/filters_test.rb || die
+}
diff --git a/dev-ruby/haml/haml-6.3.0-r1.ebuild b/dev-ruby/haml/haml-6.3.0-r1.ebuild
new file mode 100644
index 000000000000..cf0916b76cc0
--- /dev/null
+++ b/dev-ruby/haml/haml-6.3.0-r1.ebuild
@@ -0,0 +1,60 @@
+# 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_BINWRAP=""
+
+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 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-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
+ dev-ruby/nokogiri
+ <dev-ruby/rails-7.2
+ || ( dev-ruby/sassc dev-ruby/sass )
+ 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
+ sed -i \
+ -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
+
+ # Remove tests that require coffee-script (does not work with x32
+ # and coffee-script is obsolete anyway).
+ rm -f test/haml/filters/coffee_test.rb || die
+ sed -e '/describe.*coffee filter/,/^ end/ s:^:#:' \
+ -i test/haml/line_number_test.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:test:. -rtest_helper -e 'Dir["test/haml/**/*_test.rb"].each { require _1 }' || die
+}