diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-11-08 07:57:13 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-11-08 07:57:13 +0100 |
commit | 479cb99c72c004c4ed9588cda18f7b0081b37b1d (patch) | |
tree | e984c418fd895f8983afecfe5ac535d2ed4b4f1f /dev-ruby/base64 | |
parent | dev-python/ddt: Bump to 1.7.0 (diff) | |
download | gentoo-479cb99c72c004c4ed9588cda18f7b0081b37b1d.tar.gz gentoo-479cb99c72c004c4ed9588cda18f7b0081b37b1d.tar.bz2 gentoo-479cb99c72c004c4ed9588cda18f7b0081b37b1d.zip |
dev-ruby/base64: add 0.2.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/base64')
-rw-r--r-- | dev-ruby/base64/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/base64/base64-0.2.0.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/base64/Manifest b/dev-ruby/base64/Manifest index 1623d8bd8437..fbc53ae7f1d0 100644 --- a/dev-ruby/base64/Manifest +++ b/dev-ruby/base64/Manifest @@ -1 +1,2 @@ DIST base64-0.1.1.tar.gz 4704 BLAKE2B c995292e1abd1e9c28db0cf4c6dbdf9b388062bc4f618c6fcf9404faa6516f5e9689965f63edbd44ca91d4c938be72293b3ad3aad87bed8be0c7a5f064cc83fd SHA512 3ac6dac47deba30002fb19e369fac50c1c3838c7ed8545eff462b7c6402f731d9dd1951f56bb1b2a31bec324c8a28ef94599650129f66bae72dccc72707ff7af +DIST base64-0.2.0.tar.gz 7004 BLAKE2B a70b357f4998925dc9c6c365e23f0c45eca100170271d2daf3ead56a3656d0a5cc77f8d4e84796c486a7f96dcf520e0a4ba22d3b880926afe41f0603952a93ef SHA512 e2b8f6b28de6eba1b6fdb6496ded0b37465f848d6b338715c715289a221ea9b2df3bef15f32d686cea53a76443f0ed0a183becdb666f842e54f827e08cf0f474 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 +} |