diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-08-16 11:17:33 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-08-16 21:20:18 +0200 |
commit | 761df5ee440b0718307f13541c8697fe04c3e695 (patch) | |
tree | 74531d17691e9812d3440dea984663333b999885 /dev-ruby/securerandom | |
parent | media-libs/intel-hybrid-codec-driver: Stabilize 2.0.0 amd64, #912305 (diff) | |
download | gentoo-761df5ee440b0718307f13541c8697fe04c3e695.tar.gz gentoo-761df5ee440b0718307f13541c8697fe04c3e695.tar.bz2 gentoo-761df5ee440b0718307f13541c8697fe04c3e695.zip |
dev-ruby/securerandom: new package, add 0.2.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/securerandom')
-rw-r--r-- | dev-ruby/securerandom/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/securerandom/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/securerandom/securerandom-0.2.2.ebuild | 27 |
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/securerandom/Manifest b/dev-ruby/securerandom/Manifest new file mode 100644 index 000000000000..f5b6ef6424dd --- /dev/null +++ b/dev-ruby/securerandom/Manifest @@ -0,0 +1 @@ +DIST securerandom-0.2.2.tar.gz 7871 BLAKE2B 3ded59a1c4a035ea80b0fb1fa67e43d86c27485c782b34c2a548489ea1570be1cdc12860389d655ba0344900275af3422fcbe4621335ec62895eb229407326d2 SHA512 173e8968de037b17d5c4cf22b1d08b042c60e9679fb8cea100df193d58a345d6cb246ad56eeb07f58a3a7a6060826d59b7ed8ecdf7e38352b9d56d3cdfa71ff1 diff --git a/dev-ruby/securerandom/metadata.xml b/dev-ruby/securerandom/metadata.xml new file mode 100644 index 000000000000..f615da12f671 --- /dev/null +++ b/dev-ruby/securerandom/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/securerandom</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/securerandom/securerandom-0.2.2.ebuild b/dev-ruby/securerandom/securerandom-0.2.2.ebuild new file mode 100644 index 000000000000..180c2687ae21 --- /dev/null +++ b/dev-ruby/securerandom/securerandom-0.2.2.ebuild @@ -0,0 +1,27 @@ +# 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="securerandom.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Interface for secure random number generator" +HOMEPAGE="https://github.com/ruby/securerandom" +SRC_URI="https://github.com/ruby/securerandom/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" +IUSE="" + +all_ruby_prepare() { + sed -e 's/__dir__/"."/' \ + -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} |