diff options
Diffstat (limited to 'dev-ruby/securerandom')
-rw-r--r-- | dev-ruby/securerandom/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/securerandom/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/securerandom/securerandom-0.2.2.ebuild | 27 |
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/securerandom/Manifest b/dev-ruby/securerandom/Manifest new file mode 100644 index 000000000000..b17e67046848 --- /dev/null +++ b/dev-ruby/securerandom/Manifest @@ -0,0 +1,3 @@ +DIST securerandom-0.2.2.tar.gz 7871 BLAKE2B 3ded59a1c4a035ea80b0fb1fa67e43d86c27485c782b34c2a548489ea1570be1cdc12860389d655ba0344900275af3422fcbe4621335ec62895eb229407326d2 SHA512 173e8968de037b17d5c4cf22b1d08b042c60e9679fb8cea100df193d58a345d6cb246ad56eeb07f58a3a7a6060826d59b7ed8ecdf7e38352b9d56d3cdfa71ff1 +EBUILD securerandom-0.2.2.ebuild 826 BLAKE2B 15ccf1f57d4e62734dc01300e2e2d2b29c08948dd7c39df4e95613112653f969f7d4acf72021a539615d883ca49cc67f705c2dd0e813fa21b27d5aff131005d2 SHA512 3a3bb80052bda8725c8221e05f8cf7279c182ae93221012c08657a6010e57dd362f569fa9fc2bdb509d5d0577fc7ed1924f9d3ab9914fc5e7ff9fb0668da81da +MISC metadata.xml 344 BLAKE2B 3bfca7d632e9ed3ddb1d9e83312f1045e81d2486a06e9c4bd990c2686b94584e83a07ca303e366e058d3dbd0e3bb9c67626c3716938d49b11efe8288b979bd09 SHA512 fe13e1a6482387b9f886ad6792723d45104508235927967154d9d101ddf47fd51d9114054f1db6523f490411132c0706526515fffcea871cbe7faec5d3542271 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 +} |