diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-ruby/prime | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby/prime')
| -rw-r--r-- | dev-ruby/prime/Manifest | 3 | ||||
| -rw-r--r-- | dev-ruby/prime/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-ruby/prime/prime-0.1.2-r1.ebuild | 34 | ||||
| -rw-r--r-- | dev-ruby/prime/prime-0.1.3.ebuild | 37 | ||||
| -rw-r--r-- | dev-ruby/prime/prime-0.1.4.ebuild | 38 |
5 files changed, 121 insertions, 0 deletions
diff --git a/dev-ruby/prime/Manifest b/dev-ruby/prime/Manifest new file mode 100644 index 000000000000..09202c5c9bf3 --- /dev/null +++ b/dev-ruby/prime/Manifest @@ -0,0 +1,3 @@ +DIST prime-0.1.2.tar.gz 9485 BLAKE2B 88db1d22a33405de0bd216baa0a8fa28abc61fe031ae6042a19f0a5c66cf7733b946a52f94165112b45b23331dc68e3168541ec89329ad8d2c016bbf1e33f425 SHA512 a766426884d6b3cd7a586676799db146974ec9a4a7c30ca53b5f279ad55ee9960c9b5bb26988cb66253b4fe974f9b5087f48ef5b216772464d03b8ed78a817d6 +DIST prime-0.1.3.tar.gz 12970 BLAKE2B 6b493f524b70290b454a72180f7219b367758dd59484187c090f0a053b12b8fe3aaf72d9676dafae4b5cfb9ca367a8cbb185c70416e9359104bd9530ec125874 SHA512 55216c5f691e7d3778fb062dc3b7ff12a2e69bb415711b40c4de444b8fbcb8b8573e8179d339fb2193ee955335d79349f00f4c9e85c2d95e506539afead45c8a +DIST prime-0.1.4.tar.gz 13031 BLAKE2B 857574ae6319ed3948563500eb2fabfbc2f937cba937a7ae038c23d9d8998cbffdd267aff967634c514c1f0e729972cade19711107d56bdfc9a6497e1e8d9faf SHA512 46ea52d2f22b4ba64a9210857d7ed084b7f307247f6a8d4534bc463fcfb52d725ea290aa0deb37ea8b49c65c3226ecd606f9f8ed0367d92c62c3c332a5d1dd82 diff --git a/dev-ruby/prime/metadata.xml b/dev-ruby/prime/metadata.xml new file mode 100644 index 000000000000..c685ebad7e3a --- /dev/null +++ b/dev-ruby/prime/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</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..ca025b32627c --- /dev/null +++ b/dev-ruby/prime/prime-0.1.2-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +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 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-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.3.ebuild b/dev-ruby/prime/prime-0.1.3.ebuild new file mode 100644 index 000000000000..71fe6defec04 --- /dev/null +++ b/dev-ruby/prime/prime-0.1.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33 ruby34" + +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 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test" + +ruby_add_rdepend " + dev-ruby/forwardable + dev-ruby/singleton +" + +ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )" + +all_ruby_prepare() { + sed -e 's:_relative ": "./:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid RBS tests. It is not clear how these can work because RBS + # will only find the installed signatures (if any), not the ones in + # the local directory. + rm -f test/test_rbs.rb || die +} diff --git a/dev-ruby/prime/prime-0.1.4.ebuild b/dev-ruby/prime/prime-0.1.4.ebuild new file mode 100644 index 000000000000..4590980fe338 --- /dev/null +++ b/dev-ruby/prime/prime-0.1.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34 ruby40" + +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 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test" + +ruby_add_rdepend " + dev-ruby/forwardable + dev-ruby/singleton +" + +ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )" + +all_ruby_prepare() { + sed -e 's:_relative ": "./:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid RBS tests. It is not clear how these can work because RBS + # will only find the installed signatures (if any), not the ones in + # the local directory. + rm -f test/test_rbs.rb || die +} |
