diff options
Diffstat (limited to 'dev-ruby/rubyzip')
| -rw-r--r-- | dev-ruby/rubyzip/Manifest | 5 | ||||
| -rw-r--r-- | dev-ruby/rubyzip/metadata.xml | 12 | ||||
| -rw-r--r-- | dev-ruby/rubyzip/rubyzip-2.4.1.ebuild | 55 | ||||
| -rw-r--r-- | dev-ruby/rubyzip/rubyzip-3.1.1.ebuild | 60 | ||||
| -rw-r--r-- | dev-ruby/rubyzip/rubyzip-3.2.0.ebuild | 60 | ||||
| -rw-r--r-- | dev-ruby/rubyzip/rubyzip-3.2.1.ebuild | 60 | ||||
| -rw-r--r-- | dev-ruby/rubyzip/rubyzip-3.2.2.ebuild | 63 |
7 files changed, 315 insertions, 0 deletions
diff --git a/dev-ruby/rubyzip/Manifest b/dev-ruby/rubyzip/Manifest new file mode 100644 index 000000000000..53f2e95627be --- /dev/null +++ b/dev-ruby/rubyzip/Manifest @@ -0,0 +1,5 @@ +DIST rubyzip-2.4.1-git.tgz 230194 BLAKE2B 506ed57bfa2bc97787c5d18295f024045f418857b221cf7270af2ce4eacde9e92ad9c1c165f3c697980000f87951028bf839771566088380c4d56d3171a25c05 SHA512 10799311ce960a909ae5cca20e6bd0db810d701e30cbfd557d7845ca1934b572561f913b49f6879db12fc98722b8b3b12f3c548305106838922bfa08a4bed122 +DIST rubyzip-3.1.1-git.tgz 1070421 BLAKE2B ed1527adffb6d8f7392e3dac3ab82b0fc5e25ceecf4a70cbc2d052c5bc0e033ecfe174d3f40317429f347b2cbc69bb0792ab59c23080e166257936003e537e2a SHA512 ff69c517e1bc06e71baff5ca60046764ebb0e241d01ce76edff93bfd44a59b8aa388f0028792b78a8989ddba70eadf2422e6598da9c7a8c87d0adf26037e4ea5 +DIST rubyzip-3.2.0-git.tgz 1072392 BLAKE2B 1d1fc763a895abe158e7ac1f558b1e5827e4b5c6a2a5a0906cf1c011a46285a65474a01a50cab952319ec90be7a7fa5281abdcb3a5c9ec63b460e038b69c22b5 SHA512 3d98cbd24be64d89d6227039353058f98c95221fc511f1e49cad85fbf57da5f6fcd5d38d80b2cfaec3e392531bb8635d1a593c4e794c170f4fa4f3f4f311a399 +DIST rubyzip-3.2.1-git.tgz 1072295 BLAKE2B 86e70b8391f5bc57a21cb0e44386d26c086a583c056f8fa96ce567741285cb24128e6047706e06e56d612302e23c009ea016a076adc3499df8eba080bd64747b SHA512 fb08a1540bb5faa655cb6eb9786da4c4d31bb218917077d0e28399747543a2a709ba8f1a10c7185d93fa5793e1f6826aa1c55978af573ac0c0e52bbf8e67b205 +DIST rubyzip-3.2.2-git.tgz 1072564 BLAKE2B c537755e6b9842877712c55fe1da817b758f8fb8aefafc133a939792bede0b2f3fff25aea809afaee16b254bcb1a165eb8db70ae591739a9def7d97b645675dc SHA512 6b972f92670e249f3b625530816bad2e6ef6e00557239b06cf35ff57d0d8dde3fadcb5919872c5273030e5809171c440244b564480e5d8b534eef0296f70330e diff --git a/dev-ruby/rubyzip/metadata.xml b/dev-ruby/rubyzip/metadata.xml new file mode 100644 index 000000000000..94e7c8f9e729 --- /dev/null +++ b/dev-ruby/rubyzip/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="cpe">cpe:/a:rubyzip_project:rubyzip</remote-id> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-ruby/rubyzip/rubyzip-2.4.1.ebuild b/dev-ruby/rubyzip/rubyzip-2.4.1.ebuild new file mode 100644 index 000000000000..228c4e97bdc8 --- /dev/null +++ b/dev-ruby/rubyzip/rubyzip-2.4.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33 ruby34" + +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-BSD" +SLOT="$(ver_cut 1)" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +IUSE="test" + +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 + sed -e '2irequire "zip/version"' \ + -i test/constants_test.rb || die + + # Fix broken test that uses native endian + sed -i -e '/pack/ s/LLS/VVv/' test/file_extract_test.rb || die +} diff --git a/dev-ruby/rubyzip/rubyzip-3.1.1.ebuild b/dev-ruby/rubyzip/rubyzip-3.1.1.ebuild new file mode 100644 index 000000000000..1fa7e1fc8f28 --- /dev/null +++ b/dev-ruby/rubyzip/rubyzip-3.1.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +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-BSD" +SLOT="$(ver_cut 1)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" + +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 -e '/bundler/ s:^:#: ; /rubocop/I s:^:#:' \ + -e '2irequire "zip/version"' \ + -i 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 + sed -e '2irequire "zip/version"' \ + -i test/constants_test.rb || die + + # Fix broken test that uses native endian + sed -i -e '/pack/ s/LLS/VVv/' test/file_extract_test.rb || die + + sed -e "s:_relative ': './:" \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/rubyzip/rubyzip-3.2.0.ebuild b/dev-ruby/rubyzip/rubyzip-3.2.0.ebuild new file mode 100644 index 000000000000..1fa7e1fc8f28 --- /dev/null +++ b/dev-ruby/rubyzip/rubyzip-3.2.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +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-BSD" +SLOT="$(ver_cut 1)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" + +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 -e '/bundler/ s:^:#: ; /rubocop/I s:^:#:' \ + -e '2irequire "zip/version"' \ + -i 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 + sed -e '2irequire "zip/version"' \ + -i test/constants_test.rb || die + + # Fix broken test that uses native endian + sed -i -e '/pack/ s/LLS/VVv/' test/file_extract_test.rb || die + + sed -e "s:_relative ': './:" \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/rubyzip/rubyzip-3.2.1.ebuild b/dev-ruby/rubyzip/rubyzip-3.2.1.ebuild new file mode 100644 index 000000000000..1fa7e1fc8f28 --- /dev/null +++ b/dev-ruby/rubyzip/rubyzip-3.2.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +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-BSD" +SLOT="$(ver_cut 1)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" + +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 -e '/bundler/ s:^:#: ; /rubocop/I s:^:#:' \ + -e '2irequire "zip/version"' \ + -i 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 + sed -e '2irequire "zip/version"' \ + -i test/constants_test.rb || die + + # Fix broken test that uses native endian + sed -i -e '/pack/ s/LLS/VVv/' test/file_extract_test.rb || die + + sed -e "s:_relative ': './:" \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/rubyzip/rubyzip-3.2.2.ebuild b/dev-ruby/rubyzip/rubyzip-3.2.2.ebuild new file mode 100644 index 000000000000..5257298a310a --- /dev/null +++ b/dev-ruby/rubyzip/rubyzip-3.2.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34 ruby40" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +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-BSD" +SLOT="$(ver_cut 1)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" + +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 -e '/simplecov/ s:^:#:' \ + -e '1igem "minitest", "~> 5.0"' \ + -i test/test_helper.rb || die + + # Avoid dependency on bundler + sed -e '/\bundler/ s:^:#: ; /rubocop/I s:^:#:' \ + -e '2irequire_relative "lib/zip/version"' \ + -e "s:framework = .*:framework = 'gem \"minitest\", \"~> 5.0\"; require \"minitest/autorun\"':" \ + -i 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 + sed -e '2irequire "zip/version"' \ + -i test/constants_test.rb || die + + # Fix broken test that uses native endian + sed -i -e '/pack/ s/LLS/VVv/' test/file_extract_test.rb || die + + sed -e "s:_relative ': './:" \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} |
