summaryrefslogtreecommitdiff
path: root/dev-ruby/base64
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-08 10:24:46 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-08 10:24:46 +0000
commit9263a8dda30106335f556e7f5936f5607db6f92c (patch)
tree59614d42ee7ac6187fd0c542956f2aa89c39f6e9 /dev-ruby/base64
parentd8ae0501eb6c157339ede48ca34513d27470e1dc (diff)
gentoo auto-resync : 08:11:2023 - 10:24:46
Diffstat (limited to 'dev-ruby/base64')
-rw-r--r--dev-ruby/base64/Manifest2
-rw-r--r--dev-ruby/base64/base64-0.2.0.ebuild30
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/base64/Manifest b/dev-ruby/base64/Manifest
index cd72a1ff3f25..18d1382cd8fc 100644
--- a/dev-ruby/base64/Manifest
+++ b/dev-ruby/base64/Manifest
@@ -1,3 +1,5 @@
DIST base64-0.1.1.tar.gz 4704 BLAKE2B c995292e1abd1e9c28db0cf4c6dbdf9b388062bc4f618c6fcf9404faa6516f5e9689965f63edbd44ca91d4c938be72293b3ad3aad87bed8be0c7a5f064cc83fd SHA512 3ac6dac47deba30002fb19e369fac50c1c3838c7ed8545eff462b7c6402f731d9dd1951f56bb1b2a31bec324c8a28ef94599650129f66bae72dccc72707ff7af
+DIST base64-0.2.0.tar.gz 7004 BLAKE2B a70b357f4998925dc9c6c365e23f0c45eca100170271d2daf3ead56a3656d0a5cc77f8d4e84796c486a7f96dcf520e0a4ba22d3b880926afe41f0603952a93ef SHA512 e2b8f6b28de6eba1b6fdb6496ded0b37465f848d6b338715c715289a221ea9b2df3bef15f32d686cea53a76443f0ed0a183becdb666f842e54f827e08cf0f474
EBUILD base64-0.1.1.ebuild 876 BLAKE2B 5b589b1f8f1502e3a0ccf5e4a91846974e773cee173c99946f63239346388007096b4fc6e1f1e8ac1000ddf0058d66ce846f2354da2dd8e678197b8ec35d07e4 SHA512 898316602ded19d03b142edcb5f84540e6b4b5834612f68cc58fb524d7229ad437aa8e28f1de79beb3042f59f958abc99c1fe26c3cee3e872d1274dd80358bb4
+EBUILD base64-0.2.0.ebuild 902 BLAKE2B f1b5512f7ec14b5ae5aa36c3507220252a3f381e8148e643f1a7bf7482378e3adc92b6e6db836bb61cc59d35ad402a30ce534c0dc36202d5af92a6d965d341e4 SHA512 0efaa3c5d247c59160b4f09d45fd429d6dd6e6ff8e7b687d6f78cb41320c81b20b96781431e43d1ff6032a0a0a672512636073bb6398f3f9684fac7fd5e17a95
MISC metadata.xml 338 BLAKE2B ae4ff6f1977847d803273828447bb2cf6f0e75bd56548b8edf808db791a1a154cab1e85bbc6bc5a191994824c724400a15ef6860965e4e5364a35b4a90b2bafd SHA512 4f11f55ce5862fc360f85c43879821e50562e6d417e62d7476c8cd988c1d3b549fccb48c6cec7d566783cd3718f211e3692c4629c2b679fa2e8a9ddb8a2c958e
diff --git a/dev-ruby/base64/base64-0.2.0.ebuild b/dev-ruby/base64/base64-0.2.0.ebuild
new file mode 100644
index 000000000000..ea8a5a9343ba
--- /dev/null
+++ b/dev-ruby/base64/base64-0.2.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="base64.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Support for encoding and decoding binary data using a Base64 representation."
+HOMEPAGE="https://github.com/ruby/base64"
+SRC_URI="https://github.com/ruby/base64/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -e 's/__FILE__/"base64.gemspec"/' \
+ -e 's/__dir__/"."/' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:.:test:test/lib -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die
+}