diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-12 08:41:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-12 08:41:54 +0100 |
commit | 4df3bf9762850b34cd1ead5c80374d1a0fc3362e (patch) | |
tree | 3080c5cb7ad17abcb63776a9f21c4947845546a6 /dev-ruby/rubyzip | |
parent | 814f4cf860e299a046b649eaee5463427984c09c (diff) |
gentoo resync : 12.07.2021
Diffstat (limited to 'dev-ruby/rubyzip')
-rw-r--r-- | dev-ruby/rubyzip/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/rubyzip/rubyzip-2.3.2.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-ruby/rubyzip/Manifest b/dev-ruby/rubyzip/Manifest index 1a8ad8b58925..39aac9ef8114 100644 --- a/dev-ruby/rubyzip/Manifest +++ b/dev-ruby/rubyzip/Manifest @@ -1,7 +1,9 @@ DIST rubyzip-1.3.0-git.tgz 156664 BLAKE2B 2bde6515ddc71da32fc2d2819770857f7dde8605718c868f73edb8493f7db5ce66a7115d09933ffc6a06ac0979ab07e8cbdcd47984707688b7a5db43394847bc SHA512 5a764725d1f6a797f710581dbe07bd7971f0a8a5b0ffb7fc9b1a627c32e6e342ff54e2ad39e74e294dd283b8cbf358ed2dc40857f6f656007adff80d4769b9f4 DIST rubyzip-2.2.0-git.tgz 224109 BLAKE2B b1d879d04c4bd23f32f82260d386a0b0ff8bb4c1af705a4eca9fc279b4095551edad27e2187aa146b9c76f183df2687fc03dd7c6d62c2dde6d70c9137226316c SHA512 c10f3574c7948ae29ed665de69f79d714e146bda27a634c3bfdf7210240b535c6a9fba43fff0228fd85afd262ca56d25002393eda90237d8da1034edda62e2a7 DIST rubyzip-2.3.0-git.tgz 225336 BLAKE2B 24b00e02c26881953c843761d38b8bf3a9a5a04da6cafa73bea6abdeea345a71a31241a557ff3c182df274210a970f17b3e866657153784df6b03cdf472681f6 SHA512 da9c446aa1a3c457decdaedb387f4030f84a2b1c1c3ca14a0e8588103f95cf893812e7a146362c083aba478828ccda4b127cd0b80fa2fa09022e06ad041506bf +DIST rubyzip-2.3.2-git.tgz 225923 BLAKE2B ed901326cd0f79c8be004d9c14b32d7e67e90ab4d2d5b67dc64559fd4691dfb63cfa1ee18363a7cf864bd62559f1bc2fae71fc25ad1c727d7cc01f94d1ec62ee SHA512 6c64e53c1f5ca530abfa22baf388f87c8cf098d81cc9c639f20903e5193cf26243fbf861ac12002ae954f026e04168d8a55beeaf3ac5542bd0618ca85a5c90de EBUILD rubyzip-1.3.0.ebuild 1321 BLAKE2B f164c3bad0db8bcc903760dba8afe1861bf7e0db1f4445185f3cd7dd69126aa24d18d8bd8b78c2cb7a8492110ac5c2b313f38b95843c1abc2bcbd2f8e869a065 SHA512 49cb399b04de09f83a8acb49ee90e519b67ed598516c344e62fee01d7aaf758791c5a55faad02a0eb5dc45da4106e18396e286f77f78f2f59764580f6bd7bb67 EBUILD rubyzip-2.2.0.ebuild 1230 BLAKE2B 3b67eab314531caccf03ae0b6f347edeb67ad8fd21e617b64a17b38345beefba1634c04524a4d0a2ed29708f020265bca9b1e1015bff400d6f1beead932cfee5 SHA512 dda84818e3ee920eb3a68366e7e7861d296f7628397bf6073fd8ee36ec874c8b0f9d01daa62715ce9a013fc7ad1d906a83bc3f09b49f3a4afcb69d51b616dc87 EBUILD rubyzip-2.3.0.ebuild 1383 BLAKE2B 47f532d95d907f69b3aec6d6bfa57baa3619d6bcf461d144f065b073ece7c23702f624b16d139dbeddec99d05ed0026fca59036b719662e01c1b1499bdf474db SHA512 6c31d08e43884dcde933ddef3c48b072deac408edf887564c2bdfb64bd3366062f35ced9465a451846ab46674d0de2916ebd621e804b36f0ad407bfa170c288c +EBUILD rubyzip-2.3.2.ebuild 1383 BLAKE2B 47f532d95d907f69b3aec6d6bfa57baa3619d6bcf461d144f065b073ece7c23702f624b16d139dbeddec99d05ed0026fca59036b719662e01c1b1499bdf474db SHA512 6c31d08e43884dcde933ddef3c48b072deac408edf887564c2bdfb64bd3366062f35ced9465a451846ab46674d0de2916ebd621e804b36f0ad407bfa170c288c MISC metadata.xml 341 BLAKE2B 2e04f2f0e3ee64a4d476ca38f166efc94dad160850cd08b42ed54e68a275ec1d26b76a751bf9a347da5f9c8851575a8a58b9021f91acd1a733be536f947e6743 SHA512 7928d7e4a5dcaeb924d44348981910cf0024939f6f169a00df46fcd80cc933b56e91423e8919ef7a74f03e4bc1eda7b7f8a8bc6e954f6195989c1a9eb574cf3f diff --git a/dev-ruby/rubyzip/rubyzip-2.3.2.ebuild b/dev-ruby/rubyzip/rubyzip-2.3.2.ebuild new file mode 100644 index 000000000000..63b3c7e93be4 --- /dev/null +++ b/dev-ruby/rubyzip/rubyzip-2.3.2.ebuild @@ -0,0 +1,54 @@ +# 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_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md TODO" + +RUBY_FAKEGEM_GEMSPEC="rubyzip.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +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="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +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:^:#: ; /rubocop/I 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 + + # Fix broken test that uses native endian + sed -i -e '/pack/ s/LLS/VVv/' test/file_extract_test.rb || die +} |