[gentoo-commits] repo/gentoo:master commit in: dev-ruby/singleton/
commit: 6236e8744f7de4b4f430343ded9cf8b81cb100ff Author: Hans de Graaff gentoo org> AuthorDate: Tue Dec 26 08:22:50 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Tue Dec 26 15:52:47 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6236e874 dev-ruby/singleton: enable ruby33 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/singleton/singleton-0.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/singleton/singleton-0.2.0.ebuild b/dev-ruby/singleton/singleton-0.2.0.ebuild index b199359bc993..7d16b1739029 100644 --- a/dev-ruby/singleton/singleton-0.2.0.ebuild +++ b/dev-ruby/singleton/singleton-0.2.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby31 ruby32" +USE_RUBY="ruby31 ruby32 ruby33" RUBY_FAKEGEM_BINWRAP="" RUBY_FAKEGEM_EXTRADOC="README.md"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/singleton/
commit: b9e5186f719b0537aad2dca5bc94a664b38863a2 Author: Hans de Graaff gentoo org> AuthorDate: Thu Nov 9 06:00:30 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Thu Nov 9 06:00:30 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9e5186f dev-ruby/singleton: add 0.2.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/singleton/Manifest | 1 + dev-ruby/singleton/singleton-0.2.0.ebuild | 31 +++ 2 files changed, 32 insertions(+) diff --git a/dev-ruby/singleton/Manifest b/dev-ruby/singleton/Manifest index 147c82fcab11..f8acd5f1b3ee 100644 --- a/dev-ruby/singleton/Manifest +++ b/dev-ruby/singleton/Manifest @@ -1 +1,2 @@ DIST singleton-0.1.1.tar.gz 4975 BLAKE2B 3957c7d622aaad6a71b5675ad950b2a4622ec520b59075df25a966609e54c2f47581ba35c5a004c67a1a36f50de13dacadbc96ee1fd113790e6793e97131787c SHA512 a0817b42e8b056488b999eca8de09d75efe79e5624f4817289164d90051c92279dc9f8a087e69df89bec913127c460b8b6586fde17b73e08d4ec5b6da4dec18d +DIST singleton-0.2.0.tar.gz 5179 BLAKE2B 8d0ed2fb38ff8fc8bd5da3969c4e0dcc3c5556b69dfa7faceb9d02d80b69d902418d54b8a313188927938adb1431fa593aaea0249109c34b809c6d3a35ba08b4 SHA512 e6c827f277754fc20722afbf20c67b22fc4409533e69afa0eff8c88390be86741b244ee35124fc2684fbe048d439dfe96499617ec672275fdd7e64d36e43 diff --git a/dev-ruby/singleton/singleton-0.2.0.ebuild b/dev-ruby/singleton/singleton-0.2.0.ebuild new file mode 100644 index ..b199359bc993 --- /dev/null +++ b/dev-ruby/singleton/singleton-0.2.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="singleton.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="The Singleton module implements the Singleton pattern" +HOMEPAGE="https://github.com/ruby/singleton; +SRC_URI="https://github.com/ruby/singleton/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 +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test:test/lib -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/singleton/
commit: 841ec5ddb4889e31532867a3ac35e4625f135c95 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Aug 2 17:11:05 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Aug 2 17:11:05 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=841ec5dd dev-ruby/singleton: Stabilize 0.1.1 hppa, #910980 Signed-off-by: Arthur Zamarin gentoo.org> dev-ruby/singleton/singleton-0.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/singleton/singleton-0.1.1.ebuild b/dev-ruby/singleton/singleton-0.1.1.ebuild index a23c7e4f5cc4..6756244a043b 100644 --- a/dev-ruby/singleton/singleton-0.1.1.ebuild +++ b/dev-ruby/singleton/singleton-0.1.1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/ruby/singleton/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" +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() {
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/singleton/
commit: 8d09ec650823778f117d727e38a084a0d5bc6b23 Author: Arthur Zamarin gentoo org> AuthorDate: Tue Mar 28 19:53:18 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Mar 28 19:53:18 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d09ec65 dev-ruby/singleton: Stabilize 0.1.1 ppc, #903355 Signed-off-by: Arthur Zamarin gentoo.org> dev-ruby/singleton/singleton-0.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/singleton/singleton-0.1.1.ebuild b/dev-ruby/singleton/singleton-0.1.1.ebuild index f93e9d7a54a0..44584adfc2e7 100644 --- a/dev-ruby/singleton/singleton-0.1.1.ebuild +++ b/dev-ruby/singleton/singleton-0.1.1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/ruby/singleton/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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~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() {
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/singleton/
commit: aaff521ea0189e1c0d4f08ace3ca5b188eb4a4b7 Author: Sam James gentoo org> AuthorDate: Tue Mar 28 19:49:56 2023 + Commit: Sam James gentoo org> CommitDate: Tue Mar 28 19:49:56 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaff521e dev-ruby/singleton: Stabilize 0.1.1 ppc64, #903355 Signed-off-by: Sam James gentoo.org> dev-ruby/singleton/singleton-0.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/singleton/singleton-0.1.1.ebuild b/dev-ruby/singleton/singleton-0.1.1.ebuild index ca1eb4027285..f93e9d7a54a0 100644 --- a/dev-ruby/singleton/singleton-0.1.1.ebuild +++ b/dev-ruby/singleton/singleton-0.1.1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/ruby/singleton/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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~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() {
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/singleton/
commit: d3d21c4b70fe5f25025ecd308cc15a160e8d3235 Author: Sam James gentoo org> AuthorDate: Tue Mar 28 19:48:32 2023 + Commit: Sam James gentoo org> CommitDate: Tue Mar 28 19:48:32 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3d21c4b dev-ruby/singleton: Stabilize 0.1.1 sparc, #903355 Signed-off-by: Sam James gentoo.org> dev-ruby/singleton/singleton-0.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/singleton/singleton-0.1.1.ebuild b/dev-ruby/singleton/singleton-0.1.1.ebuild index f93cf88e8f02..ca1eb4027285 100644 --- a/dev-ruby/singleton/singleton-0.1.1.ebuild +++ b/dev-ruby/singleton/singleton-0.1.1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/ruby/singleton/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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~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() {
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/singleton/
commit: eacdeea8bc617179ef92ed844fa0c6d03f49225a Author: Sam James gentoo org> AuthorDate: Tue Mar 28 19:46:01 2023 + Commit: Sam James gentoo org> CommitDate: Tue Mar 28 19:46:01 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eacdeea8 dev-ruby/singleton: Stabilize 0.1.1 arm, #903355 Signed-off-by: Sam James gentoo.org> dev-ruby/singleton/singleton-0.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/singleton/singleton-0.1.1.ebuild b/dev-ruby/singleton/singleton-0.1.1.ebuild index 92f25acd04f6..f93cf88e8f02 100644 --- a/dev-ruby/singleton/singleton-0.1.1.ebuild +++ b/dev-ruby/singleton/singleton-0.1.1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/ruby/singleton/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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~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() {
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/singleton/
commit: bbfac1929a3cb1db34461fabb98a1008b2c5275c Author: Sam James gentoo org> AuthorDate: Tue Mar 28 19:45:57 2023 + Commit: Sam James gentoo org> CommitDate: Tue Mar 28 19:45:57 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbfac192 dev-ruby/singleton: Stabilize 0.1.1 amd64, #903355 Signed-off-by: Sam James gentoo.org> dev-ruby/singleton/singleton-0.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/singleton/singleton-0.1.1.ebuild b/dev-ruby/singleton/singleton-0.1.1.ebuild index ee6f2a04eebf..92f25acd04f6 100644 --- a/dev-ruby/singleton/singleton-0.1.1.ebuild +++ b/dev-ruby/singleton/singleton-0.1.1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/ruby/singleton/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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~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() {
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/singleton/
commit: 7ff50fd771a41fd171cdedcc83ee9ef8ecdafd2d Author: Sam James gentoo org> AuthorDate: Tue Mar 28 19:45:49 2023 + Commit: Sam James gentoo org> CommitDate: Tue Mar 28 19:45:49 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ff50fd7 dev-ruby/singleton: Stabilize 0.1.1 x86, #903355 Signed-off-by: Sam James gentoo.org> dev-ruby/singleton/singleton-0.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/singleton/singleton-0.1.1.ebuild b/dev-ruby/singleton/singleton-0.1.1.ebuild index 880206c38d3b..680aba1a7cf0 100644 --- a/dev-ruby/singleton/singleton-0.1.1.ebuild +++ b/dev-ruby/singleton/singleton-0.1.1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/ruby/singleton/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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~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() {
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/singleton/
commit: 71ca5536ea7266ad652c279942fa71c69c7d3a44 Author: Sam James gentoo org> AuthorDate: Tue Mar 28 19:45:53 2023 + Commit: Sam James gentoo org> CommitDate: Tue Mar 28 19:45:53 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71ca5536 dev-ruby/singleton: Stabilize 0.1.1 arm64, #903355 Signed-off-by: Sam James gentoo.org> dev-ruby/singleton/singleton-0.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/singleton/singleton-0.1.1.ebuild b/dev-ruby/singleton/singleton-0.1.1.ebuild index 680aba1a7cf0..ee6f2a04eebf 100644 --- a/dev-ruby/singleton/singleton-0.1.1.ebuild +++ b/dev-ruby/singleton/singleton-0.1.1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/ruby/singleton/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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~loong ~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() {
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/singleton/
commit: 73f0fe805b8baf8b3bf52ca817e18b7b54f942bf Author: Hans de Graaff gentoo org> AuthorDate: Sat Mar 4 12:50:30 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Mar 4 12:51:06 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73f0fe80 dev-ruby/singleton: keyword 0.1.1 for ~loong Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/singleton/singleton-0.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/singleton/singleton-0.1.1.ebuild b/dev-ruby/singleton/singleton-0.1.1.ebuild index af6137428c32..880206c38d3b 100644 --- a/dev-ruby/singleton/singleton-0.1.1.ebuild +++ b/dev-ruby/singleton/singleton-0.1.1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/ruby/singleton/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" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~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() {
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/singleton/
commit: 4eee3e62f57e5a6b2de01896c4a57e733e6ec793 Author: Hans de Graaff gentoo org> AuthorDate: Tue Feb 28 07:37:51 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Mar 4 10:24:41 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eee3e62 dev-ruby/singleton: enable ruby32 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/singleton/singleton-0.1.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/singleton/singleton-0.1.1.ebuild b/dev-ruby/singleton/singleton-0.1.1.ebuild index cabbd7428cfa..af6137428c32 100644 --- a/dev-ruby/singleton/singleton-0.1.1.ebuild +++ b/dev-ruby/singleton/singleton-0.1.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_BINWRAP="" RUBY_FAKEGEM_EXTRADOC="README.md"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/singleton/
commit: 59012e388f3fcdf33885a479577364a8676be7a6 Author: Hans de Graaff gentoo org> AuthorDate: Sun May 22 08:13:06 2022 + Commit: Hans de Graaff gentoo org> CommitDate: Mon May 23 05:04:46 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59012e38 dev-ruby/singleton: initial import of 0.1.1 Dependency for forthcoming dev-ruby/prime. Extracted from dev-lang/ruby, keywords set accordingly. Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/singleton/Manifest | 1 + dev-ruby/singleton/metadata.xml | 11 +++ dev-ruby/singleton/singleton-0.1.1.ebuild | 31 +++ 3 files changed, 43 insertions(+) diff --git a/dev-ruby/singleton/Manifest b/dev-ruby/singleton/Manifest new file mode 100644 index ..147c82fcab11 --- /dev/null +++ b/dev-ruby/singleton/Manifest @@ -0,0 +1 @@ +DIST singleton-0.1.1.tar.gz 4975 BLAKE2B 3957c7d622aaad6a71b5675ad950b2a4622ec520b59075df25a966609e54c2f47581ba35c5a004c67a1a36f50de13dacadbc96ee1fd113790e6793e97131787c SHA512 a0817b42e8b056488b999eca8de09d75efe79e5624f4817289164d90051c92279dc9f8a087e69df89bec913127c460b8b6586fde17b73e08d4ec5b6da4dec18d diff --git a/dev-ruby/singleton/metadata.xml b/dev-ruby/singleton/metadata.xml new file mode 100644 index ..2c38c2ef94ba --- /dev/null +++ b/dev-ruby/singleton/metadata.xml @@ -0,0 +1,11 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + +r...@gentoo.org +Gentoo Ruby Project + + +ruby/singleton + + diff --git a/dev-ruby/singleton/singleton-0.1.1.ebuild b/dev-ruby/singleton/singleton-0.1.1.ebuild new file mode 100644 index ..cabbd7428cfa --- /dev/null +++ b/dev-ruby/singleton/singleton-0.1.1.ebuild @@ -0,0 +1,31 @@ +# 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="singleton.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="The Singleton module implements the Singleton pattern" +HOMEPAGE="https://github.com/ruby/singleton; +SRC_URI="https://github.com/ruby/singleton/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/__dir__/"."/' \ + -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test:test/lib -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die +}