diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-ruby/prime | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-ruby/prime')
-rw-r--r-- | dev-ruby/prime/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/prime/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/prime/prime-0.1.2-r1.ebuild | 34 | ||||
-rw-r--r-- | dev-ruby/prime/prime-0.1.2.ebuild | 29 |
4 files changed, 78 insertions, 0 deletions
diff --git a/dev-ruby/prime/Manifest b/dev-ruby/prime/Manifest new file mode 100644 index 000000000000..6d2247715a06 --- /dev/null +++ b/dev-ruby/prime/Manifest @@ -0,0 +1,4 @@ +DIST prime-0.1.2.tar.gz 9485 BLAKE2B 88db1d22a33405de0bd216baa0a8fa28abc61fe031ae6042a19f0a5c66cf7733b946a52f94165112b45b23331dc68e3168541ec89329ad8d2c016bbf1e33f425 SHA512 a766426884d6b3cd7a586676799db146974ec9a4a7c30ca53b5f279ad55ee9960c9b5bb26988cb66253b4fe974f9b5087f48ef5b216772464d03b8ed78a817d6 +EBUILD prime-0.1.2-r1.ebuild 932 BLAKE2B 028a95ab44b5d9df0d4b9d55cf951699a096a9e8c9a35ad32cabd04b17471d07d87886cacd9cc6a0296c8fc38754149bc14a86cd5c0b574e1d2ac02e34bf59e3 SHA512 803d8c9aa36adae20f8df9edae13eef85a21f0a8e406cb333a4a85c766e242c8e685cff41cefa8695d09e8e304f03a2aa565d06cc02ade71799d825043dad8a4 +EBUILD prime-0.1.2.ebuild 868 BLAKE2B a71c119a7c7d3e744f157282e7e9d26c35239306125b6065843f79342bfd2f4ac3e4b1c9a34924fde24119640ef580d57483df51f6ec20be3dcfa35d02686d32 SHA512 9d3fe677d573c44fcd7bbb7cb66d6e94c8d91f01c166d12d12209a770a0a65525a3dadf38feb2ed94c862022fefbd162178dbf06a497569a03b0eba327835bc7 +MISC metadata.xml 337 BLAKE2B 652f251b8ae0979a74ed4552d31240480949dc062aa5d861ae068eab6a223be3d5649d0eeffc6b3e2a9e8ac4cc5c480f3db729595372db9c3bf6173d6a2586ff SHA512 c42e3ff93bad56e8f586de51971a56a4f355f673487818093dcb7c1f71e1dfa86d207b2afd4fc2beef06327957a24d72412a72c1be6b7e10e4558aaad68b9690 diff --git a/dev-ruby/prime/metadata.xml b/dev-ruby/prime/metadata.xml new file mode 100644 index 000000000000..82f9f0cd0cba --- /dev/null +++ b/dev-ruby/prime/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/prime</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/prime/prime-0.1.2-r1.ebuild b/dev-ruby/prime/prime-0.1.2-r1.ebuild new file mode 100644 index 000000000000..c3ae370514da --- /dev/null +++ b/dev-ruby/prime/prime-0.1.2-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="prime.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Prime numbers and factorization library" +HOMEPAGE="https://github.com/ruby/prime" +SRC_URI="https://github.com/ruby/prime/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend " + dev-ruby/forwardable + dev-ruby/singleton +" + +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/prime/prime-0.1.2.ebuild b/dev-ruby/prime/prime-0.1.2.ebuild new file mode 100644 index 000000000000..676926a80163 --- /dev/null +++ b/dev-ruby/prime/prime-0.1.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="prime.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Prime numbers and factorization library" +HOMEPAGE="https://github.com/ruby/prime" +SRC_URI="https://github.com/ruby/prime/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-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 +} |