summaryrefslogtreecommitdiff
path: root/dev-ruby/digest
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-30 06:30:40 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-30 06:30:40 +0000
commit7d7cc3f0fa58454952dec67b110b41d503bca422 (patch)
tree1a8f98c27530104edbec5993a3ae262b82a25823 /dev-ruby/digest
parent0e12f8e53cdddba84b0eb27dca59153e2cf52309 (diff)
gentoo auto-resync : 30:12:2024 - 06:30:40
Diffstat (limited to 'dev-ruby/digest')
-rw-r--r--dev-ruby/digest/Manifest2
-rw-r--r--dev-ruby/digest/digest-3.2.0.ebuild29
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/digest/Manifest b/dev-ruby/digest/Manifest
index ffbdd4788fa6..8f486eeb5c02 100644
--- a/dev-ruby/digest/Manifest
+++ b/dev-ruby/digest/Manifest
@@ -1,3 +1,5 @@
DIST digest-3.1.1.tar.gz 59341 BLAKE2B 460ed1567b1e24d56e7be66bec06d4dac4ce86ab21392c192c7455a9d735f84a5450d2482e9844f526985dd83af290f60487c179563f1190b0acf8c6241f1b60 SHA512 7a74654f2240d21d1ffb7d8f4292f9f17c26da7e24c970964ddccc6da7ee2972b834ce0830657f87b28773c84565a172d8a1fa287656929a34a2941f9b28b028
+DIST digest-3.2.0.tar.gz 51230 BLAKE2B cb4c6b5f76d90899af1e48d29e3d284204d5c8dcb661600cfa564a3c99718a7f8cb01bfd0a0adeb41fad53c0aa782a424692b4d0d93e9b1e1170467a8d77d6e9 SHA512 c76fc3f19ddd1510846fbdeaefb17bb9c6632e1b8691d34bde676e4817c6d28723045ac1edf1398c6ac8e42cddadc8f9d846172178a1d4ab1eb923fab11fb0b5
EBUILD digest-3.1.1.ebuild 1036 BLAKE2B 1f3bc581c209262125c45ea2a2b4b8412f08dc5506f882e0cf1e4c3f64296d3a5bfcba4af38c40d15b635fe45d15ea5ed0e0cb2932d6adde6e98f64bdd6d6fbe SHA512 460e09475af46082046aaaca6c58150ddb4fcb134394f5407c356d7b184c2643bb48adc686560f43b222e0fc4cebd097e2edc488318f8cfb38f5ac07bed1b1de
+EBUILD digest-3.2.0.ebuild 1042 BLAKE2B c373872c565e40af738e97ab75605700b491ef83e14651f441bbf43eb3d0d58d0c4760fa673c335a8bec28819dd7ea8bea1dd6f70581dda82e2617b0793e7efc SHA512 91ec73f2b87c303f7d2a882f76286b2ab0c62f9994dd66aee65f4c1eb7006907bb2e56869d9757550ae1c11671e1739330920d4d4b8c1026056bdbcac1a1c395
MISC metadata.xml 338 BLAKE2B 1a016bd3e85b4f5b69ba5786b1ff95851702539014544cca7228219ca187de64a4c95067d45de0a88f2127a91ac8e78b175821682c13ff7ada4effbcfb7f7f48 SHA512 2e64f3ddca50af8e92e9cbdc83fe2145ca3cd88f65599f9c14bb835d27549051ad6e2d82fad57bd798a2812dedfea31f00ba89f7e6de040288be5b435c11d95b
diff --git a/dev-ruby/digest/digest-3.2.0.ebuild b/dev-ruby/digest/digest-3.2.0.ebuild
new file mode 100644
index 000000000000..23fece05559a
--- /dev/null
+++ b/dev-ruby/digest/digest-3.2.0.ebuild
@@ -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
+}