From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0F4DB15813A for ; Wed, 25 Dec 2024 09:01:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A58A5E075F; Wed, 25 Dec 2024 09:01:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8335CE05C1 for ; Wed, 25 Dec 2024 09:01:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 75DB233BEED for ; Wed, 25 Dec 2024 09:01:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D054C1835 for ; Wed, 25 Dec 2024 09:01:11 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1735117252.e7cb4da8986a908a74e9251273b5c54a34ec628b.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/prime/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/prime/Manifest dev-ruby/prime/prime-0.1.3.ebuild X-VCS-Directories: dev-ruby/prime/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: e7cb4da8986a908a74e9251273b5c54a34ec628b X-VCS-Branch: master Date: Wed, 25 Dec 2024 09:01:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 65beca4b-7f00-4227-b8a5-d276874b8a9e X-Archives-Hash: 31ba3812709a6929801b44e204714c44 commit: e7cb4da8986a908a74e9251273b5c54a34ec628b Author: Hans de Graaff gentoo org> AuthorDate: Wed Dec 25 07:30:52 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Wed Dec 25 09:00:52 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7cb4da8 dev-ruby/prime: add 0.1.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/prime/Manifest | 1 + dev-ruby/prime/prime-0.1.3.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-ruby/prime/Manifest b/dev-ruby/prime/Manifest index 6c571fc28d5f..268c093c03f7 100644 --- a/dev-ruby/prime/Manifest +++ b/dev-ruby/prime/Manifest @@ -1 +1,2 @@ DIST prime-0.1.2.tar.gz 9485 BLAKE2B 88db1d22a33405de0bd216baa0a8fa28abc61fe031ae6042a19f0a5c66cf7733b946a52f94165112b45b23331dc68e3168541ec89329ad8d2c016bbf1e33f425 SHA512 a766426884d6b3cd7a586676799db146974ec9a4a7c30ca53b5f279ad55ee9960c9b5bb26988cb66253b4fe974f9b5087f48ef5b216772464d03b8ed78a817d6 +DIST prime-0.1.3.tar.gz 12970 BLAKE2B 6b493f524b70290b454a72180f7219b367758dd59484187c090f0a053b12b8fe3aaf72d9676dafae4b5cfb9ca367a8cbb185c70416e9359104bd9530ec125874 SHA512 55216c5f691e7d3778fb062dc3b7ff12a2e69bb415711b40c4de444b8fbcb8b8573e8179d339fb2193ee955335d79349f00f4c9e85c2d95e506539afead45c8a 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..8362d3b24c04 --- /dev/null +++ b/dev-ruby/prime/prime-0.1.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 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 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-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 +}