dev-ruby/zlib: add 3.2.3

Bug: https://bugs.gentoo.org/979772
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1530
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate
2026-07-25 01:28:05 +03:00
committed by Sam James
parent a810b1b22c
commit 0eb145b6d6
2 changed files with 37 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST zlib-3.2.1.tar.gz 45346 BLAKE2B c07e486cd64d25b2b070fadc77b3703786e36ac285cf04359db16b8ff81e9eae331d19468950d6db711ec09cca10701d221fc877e95eae626ce023fbd07ca3e2 SHA512 43620ef9e97fe1c592679335a10e1fea005f567ccd39926450c4082d083d4e53bdd357ae9dd027fdffa9239b5234212edc8d11f8eb7445d74ae4abfb60ce277b
DIST zlib-3.2.2.tar.gz 45753 BLAKE2B e2eab264dc2824b963249ea184650e392959cef6b01e6bd9bda55b4ca7fd2e7f4be63bf6e282a2891ddea391ea2d26d1f8901afe7155d6139ffeb3fc48b12de3 SHA512 027b1eeaa3c2eb9c66b5cc85c0343ed4147170b867edf713fc95cf7712436468cd77dcf457be63779f8f04dac2af32766566080699594c249bdf70e80fe9eacf
DIST zlib-3.2.3.tar.gz 45921 BLAKE2B b65e36259d110f69ccfce3b4ea0803c5e2003619f3ceb45e9bd6a17ee3eeacec875a89bfa7784e33d5b4ab70ac281c5a38990e115dc398b848b3be20e53f5076 SHA512 baeb9678abf52841879f902f9eaefb37cac71251ad35af0cf6ccf4fd5d73bc4a0ef9eaf18fbc8d4552eca791593e44e132151b48375ccc5d523df55049af70b7

View File

@@ -0,0 +1,36 @@
# 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_BINWRAP=""
RUBY_FAKEGEM_EXTENSIONS=(ext/zlib/extconf.rb)
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="zlib.gemspec"
RUBY_FAKEGEM_RECIPE_DOC="none"
inherit ruby-fakegem
DESCRIPTION="Ruby interface for the zlib compression/decompression library"
HOMEPAGE="https://github.com/ruby/zlib"
SRC_URI="https://github.com/ruby/zlib/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
IUSE="test"
ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )"
all_ruby_prepare() {
sed -e 's/__dir__/"."/' \
-e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \
-e 's/git ls-files -z/find * -print0/' \
-i ${RUBY_FAKEGEM_GEMSPEC} || die
}
each_ruby_test() {
${RUBY} -Ilib:.:test:test/lib -rhelper -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die
}