diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-09-13 06:43:53 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-09-13 06:44:07 +0200 |
commit | 363924c2f53704fe210de5c5d28c3781dfcb30ee (patch) | |
tree | 87402886053f81d7285e9fa4251aa4941371c9fb /dev-ruby/base64 | |
parent | dev-ruby/sys-filesystem: add 1.4.4 (diff) | |
download | gentoo-363924c2f53704fe210de5c5d28c3781dfcb30ee.tar.gz gentoo-363924c2f53704fe210de5c5d28c3781dfcb30ee.tar.bz2 gentoo-363924c2f53704fe210de5c5d28c3781dfcb30ee.zip |
dev-ruby/base64: new package, add 0.1.1
Moved from "graaff" overlay.
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.1.1.ebuild | 29 | ||||
-rw-r--r-- | dev-ruby/base64/metadata.xml | 11 |
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/base64/Manifest b/dev-ruby/base64/Manifest new file mode 100644 index 000000000000..1623d8bd8437 --- /dev/null +++ b/dev-ruby/base64/Manifest @@ -0,0 +1 @@ +DIST base64-0.1.1.tar.gz 4704 BLAKE2B c995292e1abd1e9c28db0cf4c6dbdf9b388062bc4f618c6fcf9404faa6516f5e9689965f63edbd44ca91d4c938be72293b3ad3aad87bed8be0c7a5f064cc83fd SHA512 3ac6dac47deba30002fb19e369fac50c1c3838c7ed8545eff462b7c6402f731d9dd1951f56bb1b2a31bec324c8a28ef94599650129f66bae72dccc72707ff7af diff --git a/dev-ruby/base64/base64-0.1.1.ebuild b/dev-ruby/base64/base64-0.1.1.ebuild new file mode 100644 index 000000000000..093c9abc72b5 --- /dev/null +++ b/dev-ruby/base64/base64-0.1.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 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:_relative ": "./:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test:test/lib -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/base64/metadata.xml b/dev-ruby/base64/metadata.xml new file mode 100644 index 000000000000..da4e24add3eb --- /dev/null +++ b/dev-ruby/base64/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">ruby/base64</remote-id> + </upstream> +</pkgmetadata> |