diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-02-09 06:36:22 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-02-09 06:36:22 +0100 |
commit | 0e55a3a14753c452d884bd0dcfab06aa59a02288 (patch) | |
tree | 44c3ad33c47c154a2bd30a4ce6508b261dbac0e9 /dev-ruby/rubyzip | |
parent | app-emulation/rkt: remove old versions (diff) | |
download | gentoo-0e55a3a14753c452d884bd0dcfab06aa59a02288.tar.gz gentoo-0e55a3a14753c452d884bd0dcfab06aa59a02288.tar.bz2 gentoo-0e55a3a14753c452d884bd0dcfab06aa59a02288.zip |
dev-ruby/rubyzip: add 1.2.1
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-ruby/rubyzip')
-rw-r--r-- | dev-ruby/rubyzip/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rubyzip/rubyzip-1.2.1.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/rubyzip/Manifest b/dev-ruby/rubyzip/Manifest index fd87f63d394d..1cb3557244a4 100644 --- a/dev-ruby/rubyzip/Manifest +++ b/dev-ruby/rubyzip/Manifest @@ -1,3 +1,4 @@ DIST rubyzip-0.9.9-git.tgz 59030 SHA256 897cce8c2aec4fceff51b05e353b73d7d86567a0efa6bfd6e65274ba53a3da17 SHA512 2b2b035ab0da92ff09e1a916dd703c6b3c0ca423db4a5b4c12fbbdc6018c370532721447e71559382d089172fa4ce3463d9aa148c460a6a0a4ee2ccc9df2cadc WHIRLPOOL a51746c4234ad9f993426da44ae75ad36f40ec3292eac4a0410f3bdef9ee1093542ccee2c893967daccf806666af7121e253dd113e04aaf445f5e8a0c4bc183f DIST rubyzip-1.1.7-git.tgz 100467 SHA256 12f769a0fa804cf93cabdffec31a56c535a5ad5030a5ca53e09c8b99d245dcf7 SHA512 c59c0f9671e6ddfed26555d860bad1fc560a3428b676dd10e3890b0d08aa847b1b3b6d75865ed1d12850da7a4a59f2a26d3e30d517f92803a144487bbc04ace8 WHIRLPOOL 97ae089905b289236c4c532b771c3a3764963d314b3848526247312a8f62912faeaaf8622bf6da7771e86dbffcd98587f6c0f28ed0f1e84e9c76218977dff566 DIST rubyzip-1.2.0-git.tgz 150545 SHA256 d5277faab3c20bd6ca2a987d5ed57ceb406e3aca1d1b125f6979839b73d55ec0 SHA512 58654cffabe778d4be228a2e9c61152ae39e5db5e41fcd20ad497f8a9f5d636eb35682e684e783ba78666c28c849678d9974a2f34acaff6f73df3e805a358ffc WHIRLPOOL ebc10d7932180bb8bb9f4338dd62c792b1f94fe6f61c19361355b02171a80628bbc5eeac62dedf1a414b5294b42b4a13647fa890a2e78016ef7aae4e1634a4b5 +DIST rubyzip-1.2.1-git.tgz 151085 SHA256 03f233563b9d4bb950da01b8c4dae80f83c797d1adee478e5e9fa3aeb78a6c52 SHA512 ba71d293120943142608b617d76d72699c64b92a6bf602543a3f42f01c44eea3f0c902bc841a2aaf9cffac4a2ba02a47a847115eca1093587d944c2f4acc9b9e WHIRLPOOL be38ab13075f524e4d1f6f4c040320be5254dfce9905d580f1118910c6bfbc4e5d4244cd3769a672aa83f5ccc2446d4bb4f25de32d9797a6ecd3a3827d47a066 diff --git a/dev-ruby/rubyzip/rubyzip-1.2.1.ebuild b/dev-ruby/rubyzip/rubyzip-1.2.1.ebuild new file mode 100644 index 000000000000..73d3fc74ccd0 --- /dev/null +++ b/dev-ruby/rubyzip/rubyzip-1.2.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md TODO" + +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="~amd64 ~arm ~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 require + sed -i -e '1irequire "forwardable"' test/input_stream_test.rb || die +} |