dev-ruby/digest: add 3.2.0

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2024-12-28 10:43:22 +01:00
parent d105855879
commit abd255f5b3
2 changed files with 30 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST digest-3.1.1.tar.gz 59341 BLAKE2B 460ed1567b1e24d56e7be66bec06d4dac4ce86ab21392c192c7455a9d735f84a5450d2482e9844f526985dd83af290f60487c179563f1190b0acf8c6241f1b60 SHA512 7a74654f2240d21d1ffb7d8f4292f9f17c26da7e24c970964ddccc6da7ee2972b834ce0830657f87b28773c84565a172d8a1fa287656929a34a2941f9b28b028
DIST digest-3.2.0.tar.gz 51230 BLAKE2B cb4c6b5f76d90899af1e48d29e3d284204d5c8dcb661600cfa564a3c99718a7f8cb01bfd0a0adeb41fad53c0aa782a424692b4d0d93e9b1e1170467a8d77d6e9 SHA512 c76fc3f19ddd1510846fbdeaefb17bb9c6632e1b8691d34bde676e4817c6d28723045ac1edf1398c6ac8e42cddadc8f9d846172178a1d4ab1eb923fab11fb0b5

View File

@@ -0,0 +1,29 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
RUBY_FAKEGEM_BINWRAP=""
RUBY_FAKEGEM_EXTENSIONS=(ext/digest/extconf.rb ext/digest/bubblebabble/extconf.rb ext/digest/md5/extconf.rb
ext/digest/rmd160/extconf.rb ext/digest/sha1/extconf.rb ext/digest/sha2/extconf.rb)
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="digest.gemspec"
inherit ruby-fakegem
DESCRIPTION="Provides a framework for message digest libraries"
HOMEPAGE="https://github.com/ruby/digest"
SRC_URI="https://github.com/ruby/digest/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 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
all_ruby_prepare() {
sed -i -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die
}
each_ruby_test() {
${RUBY} -Ilib:ext/digest/lib:.:test:test/lib -rhelper -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die
}