summaryrefslogtreecommitdiff
path: root/dev-ruby/erubis
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-31 20:59:14 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-31 20:59:14 +0100
commite748ba9741f6540f4675c23e3e37b73e822c13a4 (patch)
tree23dece8beabb3a3d7c6c0273b0eb40b21c62a889 /dev-ruby/erubis
parent908778078736bd36f7a60a2d576d415cb8e000fa (diff)
gentoo resync : 31.05.2021
Diffstat (limited to 'dev-ruby/erubis')
-rw-r--r--dev-ruby/erubis/Manifest1
-rw-r--r--dev-ruby/erubis/erubis-2.7.0-r3.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/erubis/Manifest b/dev-ruby/erubis/Manifest
index 822aef1deaf7..fe23007c247e 100644
--- a/dev-ruby/erubis/Manifest
+++ b/dev-ruby/erubis/Manifest
@@ -1,3 +1,4 @@
DIST erubis-2.7.0.gem 173056 BLAKE2B b1059469b5d75dd71be32eabfae0f1715dca11b9c5eb79499a5a8835a4db44e8c2163386af1e4ef9cab8cecf4ae6f2eb57b5105d53d56e5784b06d65398b22fb SHA512 49b08b28656acaf3b0c88fe064bb0d5f79fd08b834d7eba9294217b0893c5a0244ac5dd54de0e52dd17e828a0110e54b29e8c2d75171d527da957917344a0f27
EBUILD erubis-2.7.0-r2.ebuild 1093 BLAKE2B 987a269b2a58579ff5e3b939559c5ccf30e25fc117c219576730454d428510d118335c727bb92180b1b7a43ea26d529d27543ccccfa4729a2b1bc70511bfcac4 SHA512 4e8e796e311b5654f3e5736d6bdb4bd4e2695be5d1dae1290c950953e466de8b0e234001d00b1e49b1aeae13fbe5ccaedc1a7ff76f281bd0390b0eb05f1da91d
+EBUILD erubis-2.7.0-r3.ebuild 1099 BLAKE2B 9d61a30b365ff8fdddbc0c4d13d605376c99b4352e5c9b32c7d9e98055e637f27047fbe6248bb177b9339fa18a31beefb51a58d41b4bbb4f3e132c3becac84ad SHA512 a2ab92f75a450018acc65ad7cdad873f9d32dc4492ce924bb7ace0e726a2dd21ea88f4894a270a9e51940c9bd92c823edcbd4ac0bb00371e50cc1a8d02b6fa6b
MISC metadata.xml 247 BLAKE2B 7717702c51c35b2a20983332abc6218047b2b5036e6b4c09d3d58b4339e8f9e776879cd116cfda60d3bcf4188859993fb9f3f779aaf595f155d53e85288f3dcc SHA512 ea4c044637b751a2c28c6ac226121e74ef18196af4b594e60413fec907bbab29c6b0c7735c3f503485df16dcfb36ddb86038394d92e2cd18c8f04626628e9f09
diff --git a/dev-ruby/erubis/erubis-2.7.0-r3.ebuild b/dev-ruby/erubis/erubis-2.7.0-r3.ebuild
new file mode 100644
index 000000000000..3c03492b0c70
--- /dev/null
+++ b/dev-ruby/erubis/erubis-2.7.0-r3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.txt"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Erubis is an implementation of eRuby"
+HOMEPAGE="http://www.kuwata-lab.com/erubis/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+# http://rubyforge.org/tracker/index.php?func=detail&aid=29484&group_id=1320&atid=5201
+# Tests are not compatible with Psych as YAML module.
+RESTRICT="test"
+
+ruby_add_rdepend ">=dev-ruby/abstract-1.0.0"
+
+all_ruby_prepare() {
+ # These tests now fail due to other ordering and fact that sym
+ # are now returned.
+ rm test/test-users-guide.rb || die
+ sed -i -e '/test-users-guide/ s:^:#:' test/test.rb || die
+}
+
+each_ruby_test() {
+ PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -I. test/test.rb || die
+}