summaryrefslogtreecommitdiff
path: root/dev-ruby/rubyzip
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-09-08 01:07:24 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-09-08 01:07:24 +0100
commite3cf2c86fca1750343c1885311f857f185ee4f2d (patch)
treed9d1fbc20509d4c90f57fb2d9e1459bc8034c831 /dev-ruby/rubyzip
parentf1af93971b7490792d8541bc790e0d8c6d787059 (diff)
gentoo resync : 08.09.2019
Diffstat (limited to 'dev-ruby/rubyzip')
-rw-r--r--dev-ruby/rubyzip/Manifest2
-rw-r--r--dev-ruby/rubyzip/rubyzip-1.2.4.ebuild49
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-ruby/rubyzip/Manifest b/dev-ruby/rubyzip/Manifest
index 0f411930d987..2d9f6e519034 100644
--- a/dev-ruby/rubyzip/Manifest
+++ b/dev-ruby/rubyzip/Manifest
@@ -1,5 +1,7 @@
DIST rubyzip-1.2.2-git.tgz 153976 BLAKE2B 350c05b5dde15bf6450c32b679b474df68b8597e82770e2d5f59bd0c430344a3f2868e8d2d7f59f2240f8fea02bc7ccc31777ceb5ff66041dba5a619e7849b21 SHA512 1af115db39b5107687049cead85732a3cdc6b0c3db69103af20bccf1c684ddc99d5d2f5b178b86600d2d6458f5eb535b7c9dc89ab32c91dba3519bbd3df59e7a
DIST rubyzip-1.2.3-git.tgz 155000 BLAKE2B 021bf1f3278fe52a2a1f0b8a6a8e0879f81a3b0765f1f5c12133ac6a2f2995ae56b786e7e53a4146cfd7df281199f4072dd820c334d18fd4f2a59ac500b57763 SHA512 a6dab87588655852fb4d363ce179af79e967f7fdcaa55460eb1bb40c0cccb04170022fdda5a88149bace8873646150cfbd0ba37ded79f6fc1d7243db45eeaee2
+DIST rubyzip-1.2.4-git.tgz 155389 BLAKE2B 384e820866d907aa98c6c97e1f37f05f3ed30949273e51b5492125b6a1540ab4b1dedf9757bf9d317f3322811c23bd063d7a75c83b420eb4dc9fe548a662d4a3 SHA512 3dc4c2caad9c319b05daa4fa693f6bee3d9895cbb1c92f77b1db8d4c5d58ce90929d545c5f5f714b5908580472dd93a2ce5cfbb480aafeb49172a102d9a5f59c
EBUILD rubyzip-1.2.2.ebuild 1189 BLAKE2B 3ac1c055fbb0333d3ca0a6d10586f4b8564d6d82bd9086f24f68b56c20ce124f2849e3349385c41dc9b670ca1f04250885fba214bcb329db8f9d9f2cf3e57a17 SHA512 73281d290f5890d948d68fedce3c368c765b2878729eb3fabd9606a0bca3c89a59cb78d7cbc58926d3df944c1ba6fab338954ec745bdb2b1dee9721da40a9ada
EBUILD rubyzip-1.2.3.ebuild 1189 BLAKE2B 4d5b92b57427bd228034cac98b8c32c5cd9b91fe67172b9015349de64f874affed327656edcc0da42cc9f68807e0f2460f80c56f5c665e3653d3bd91b29241dd SHA512 4274fcfa27169c77394913e562acdbc89d80bba685e56f27444baf65f01bfda062f161ddaea4ff615c796c3ea6d0d92066404f739654f0c08d07f4428f49d395
+EBUILD rubyzip-1.2.4.ebuild 1235 BLAKE2B 99e2837ec5bd56eeb0fedddf03b89ac160e46b3ae6a823f7eb2c19400e95e725e3f091b4cc35a4f8a62a54f15f76cd01e5d94230e8c5107c30b7aad08afb8aab SHA512 fec469b10bcf18355e40ae43d45e7d018e164593aeed1ef6ee5331c287362a612b1b9a35e32079d389426fa81c1afc9c71192f8d882c6e84c61a495d0c6fe4f3
MISC metadata.xml 341 BLAKE2B 2e04f2f0e3ee64a4d476ca38f166efc94dad160850cd08b42ed54e68a275ec1d26b76a751bf9a347da5f9c8851575a8a58b9021f91acd1a733be536f947e6743 SHA512 7928d7e4a5dcaeb924d44348981910cf0024939f6f169a00df46fcd80cc933b56e91423e8919ef7a74f03e4bc1eda7b7f8a8bc6e954f6195989c1a9eb574cf3f
diff --git a/dev-ruby/rubyzip/rubyzip-1.2.4.ebuild b/dev-ruby/rubyzip/rubyzip-1.2.4.ebuild
new file mode 100644
index 000000000000..f43c15702d6c
--- /dev/null
+++ b/dev-ruby/rubyzip/rubyzip-1.2.4.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md TODO"
+
+RUBY_FAKEGEM_GEMSPEC="rubyzip.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A ruby library for reading and writing zip files"
+HOMEPAGE="https://github.com/rubyzip/rubyzip"
+# Tests are not included in the gem.
+SRC_URI="https://github.com/rubyzip/rubyzip/archive/v${PV}.tar.gz -> ${P}-git.tgz"
+
+LICENSE="Ruby"
+SLOT="1"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${DEPEND} test? ( app-arch/zip )"
+
+ruby_add_bdepend "test? ( dev-ruby/minitest:5 )"
+
+all_ruby_install() {
+ all_fakegem_install
+
+ docinto examples
+ dodoc samples/*
+}
+
+all_ruby_prepare() {
+ # Avoid dependencies on simplecov and coveralls
+ sed -i -e '/simplecov/ s:^:#:' test/test_helper.rb || die
+
+ # Avoid dependency on bundler
+ sed -i -e '/bundler/ s:^:#:' Rakefile || die
+
+ # Fix hardcoded path to /tmp
+ sed -i -e 's:/tmp/:'${T}'/:g' test/entry_test.rb || die
+
+ # Add missing requires
+ sed -i -e '1irequire "forwardable"; require "pathname"' test/input_stream_test.rb || die
+}