summaryrefslogtreecommitdiff
path: root/dev-ruby/haml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-19 09:38:07 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-19 09:38:07 +0100
commit4d9aef45678c7cb55b24107642790224ab8c153b (patch)
treeb1c56639785aeba23901272429a46e4e872a7711 /dev-ruby/haml
parentf09a6cf772eb2f757f0fc49f3297d6a095a10aa5 (diff)
gentoo auto-resync : 19:08:2023 - 09:38:07
Diffstat (limited to 'dev-ruby/haml')
-rw-r--r--dev-ruby/haml/Manifest2
-rw-r--r--dev-ruby/haml/haml-6.1.2.ebuild59
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-ruby/haml/Manifest b/dev-ruby/haml/Manifest
index c4df4beba401..d6abc5e2e97f 100644
--- a/dev-ruby/haml/Manifest
+++ b/dev-ruby/haml/Manifest
@@ -1,6 +1,8 @@
DIST haml-5.2.2.tar.gz 129833 BLAKE2B d68c24c7a3c817d6d364b2ec92b84b4f56f4fffa48b99d17b2df27da35f50b1fb1f69b184a7b21d899c476e0d4c8ad2b940a7cb2995ec24ecdafab8ef61fe393 SHA512 1aec59fab20d8139a5dfedde2007fa8137a377a345e4d30229f9d1140d56cdf970c8ae70e2647e6a408d7fa543a16050f66a8a636efa6a6b1f91ee1ffcc136c1
DIST haml-6.1.1.tar.gz 669644 BLAKE2B 239b3a1fe02bcd1e2981198ba7c54c71ca2af0947102fcea6cd600cc6579294856baa290589a7d3a015e54df8bcecf8e50175cf2189e8f4f9c6f9721a558bcc9 SHA512 7d732be085b41b8f0eec418600a82b51c68301081165aa636fa342ae26b74215a202a4b15e592da980d9a7fbe24bad01399f599770420133c4b6ab7523386fa5
+DIST haml-6.1.2.tar.gz 669696 BLAKE2B 81398ca33af69a1cf79cbe6d49d82ca27489584dc8c4082c079606f1f029b99e6b4c6fb350a5b50da31349ca3cbd7b7d2913e521b401634f7442e03279753e18 SHA512 c059b96111c6e477874cf37f0463dd9150d00e2e5261e9dab8251e1f66cacfa647009bf4d7ddd60fd11582c3f41ce06515f5aa448358aa58a9df2c8289660151
EBUILD haml-5.2.2.ebuild 1451 BLAKE2B 7e69cae6af682922121eaa2533730e193a8d559775825cdb1df218832448e727bed7625b512602f2a2fb44ccb18f9bdf27875cb5d4ba527bad9cb809798783cc SHA512 51556e02ae68e0cbe0546ea6a0953cb1157b0f046a8add4959470e083baefe9e97a8989ca24cf730e46a0c5ee115c056a7b9937ac4f99894de1ff07598bcf5a0
EBUILD haml-6.1.1-r1.ebuild 1611 BLAKE2B 78a927e584ca28ae8caf906d05d4ef2e4cefbb44755edc40eac42ec0f5ae4ee0eea4ca504b66513afeea7e5b226e0f654b847dc116579c9aaab650e027b2506f SHA512 4cebc604ee017ed24c4b1e4e7481dcce78cd5c0f817e3c1c9fdfe09c7b3409b12838c332bab795dcd3c02e2536ab5806586d4967f776aa2fc69ecc44331d0bb0
EBUILD haml-6.1.1.ebuild 1475 BLAKE2B c00347b47cca4ec075553ccd270996fb167f47e847159bbdadb692dea3b5b559d875057641a9943795a7c22192200980c88314c0b1460e4909b992f8cf167060 SHA512 b14fa6a5694a1e0eb542cf4c2f99da36232956a2070aff38300a4ba6dca73e906fc1d94259233afb72842de557d0efb1be5b6060f3ebb1cb4127dfcff97d28e6
+EBUILD haml-6.1.2.ebuild 1607 BLAKE2B c370cf85f1f35831f8ec35a3d1bd6bc0e1f9e41cf0ad3eba639af4ad394507f737fd55dd9d29bbc236e3a995a633e4f16cc771392658b5213d22b7793de36301 SHA512 3adb55b0165cffe45ddc84de30675075a378c3dff533328a2bd144d325705eb5a5ab0c993ab4a76c0ca93f824c6f0bd6af76227891d7b5e7dbe7b2c1de233cdc
MISC metadata.xml 384 BLAKE2B 49a1ec969b1de2c61646aef404bcb19961d7f7b6b8c0324c1f447c8847adb0d3667e653b4273ed1c7e177e7e5216e6275a7c664ee6917ecb48e69d89554a33c6 SHA512 047f50785afcb708d07a770c38e40d7c8be01455832f01bbd006608eb18af8a8470a21ab0c57b7304ad4e2be39121310d0feb1ac64163a1b5e4c1cbf61cb8bfb
diff --git a/dev-ruby/haml/haml-6.1.2.ebuild b/dev-ruby/haml/haml-6.1.2.ebuild
new file mode 100644
index 000000000000..90cefede012b
--- /dev/null
+++ b/dev-ruby/haml/haml-6.1.2.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="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 ~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.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
+}