* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/resolv/
@ 2024-12-29 5:55 Hans de Graaff
0 siblings, 0 replies; 3+ messages in thread
From: Hans de Graaff @ 2024-12-29 5:55 UTC (permalink / raw
To: gentoo-commits
commit: 57ca32814a8ce646c9822552ac0fa83a322db124
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 29 05:51:19 2024 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Dec 29 05:51:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57ca3281
dev-ruby/resolv: new package, add 0.6.0
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/resolv/Manifest | 1 +
dev-ruby/resolv/metadata.xml | 12 ++++++++++++
dev-ruby/resolv/resolv-0.6.0.ebuild | 34 ++++++++++++++++++++++++++++++++++
3 files changed, 47 insertions(+)
diff --git a/dev-ruby/resolv/Manifest b/dev-ruby/resolv/Manifest
new file mode 100644
index 000000000000..1c89826269b7
--- /dev/null
+++ b/dev-ruby/resolv/Manifest
@@ -0,0 +1 @@
+DIST resolv-0.6.0.tar.gz 34562 BLAKE2B ecf189e3e0f75ef2329f0b904c1edc224e617698b313bd503329fc44444b0eb766c681dfec632a23d0ac266ccf90558afc13561bb82932c5513006d7110a2851 SHA512 46e4b42277f85fceed0308714b3253b2245f647bf100e129c2245dfc9cdc8c1c1b431ef138c3391381096173e0c0c7b67dc2003c5a16ac969603bcf01467bb4e
diff --git a/dev-ruby/resolv/metadata.xml b/dev-ruby/resolv/metadata.xml
new file mode 100644
index 000000000000..9ddc127c420f
--- /dev/null
+++ b/dev-ruby/resolv/metadata.xml
@@ -0,0 +1,12 @@
+<?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/resolv</remote-id>
+ <remote-id type="rubygems">resolv</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/resolv/resolv-0.6.0.ebuild b/dev-ruby/resolv/resolv-0.6.0.ebuild
new file mode 100644
index 000000000000..61ab2d69919a
--- /dev/null
+++ b/dev-ruby/resolv/resolv-0.6.0.ebuild
@@ -0,0 +1,34 @@
+# 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="resolv.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Thread-aware DNS resolver library in Ruby"
+HOMEPAGE="https://github.com/ruby/resolv"
+SRC_URI="https://github.com/ruby/resolv/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_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )"
+
+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
+
+ # The extension is only compiled on win32
+ sed -e '/if RUBY_ENGINE/ s/$/ and false/' \
+ -i Rakefile || die
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/resolv/
@ 2024-12-29 9:06 Hans de Graaff
0 siblings, 0 replies; 3+ messages in thread
From: Hans de Graaff @ 2024-12-29 9:06 UTC (permalink / raw
To: gentoo-commits
commit: d4f4de90763b159d8fda61e28937e1c2e7fc1cb2
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 29 06:19:01 2024 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Dec 29 09:04:49 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4f4de90
dev-ruby/resolv: enable ruby34
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/resolv/resolv-0.6.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-ruby/resolv/resolv-0.6.0.ebuild b/dev-ruby/resolv/resolv-0.6.0.ebuild
index 61ab2d69919a..9ebd237c9ccd 100644
--- a/dev-ruby/resolv/resolv-0.6.0.ebuild
+++ b/dev-ruby/resolv/resolv-0.6.0.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby31 ruby32 ruby33"
+USE_RUBY="ruby31 ruby32 ruby33 ruby34"
RUBY_FAKEGEM_BINWRAP=""
RUBY_FAKEGEM_EXTRADOC="README.md"
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/resolv/
@ 2025-01-01 8:16 Hans de Graaff
0 siblings, 0 replies; 3+ messages in thread
From: Hans de Graaff @ 2025-01-01 8:16 UTC (permalink / raw
To: gentoo-commits
commit: 491769566f6f3741c7fc84441b902e825461a38a
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 1 08:16:00 2025 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Jan 1 08:16:19 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49176956
dev-ruby/resolv: mark extension task as done
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
.../resolv/{resolv-0.6.0.ebuild => resolv-0.6.0-r1.ebuild} | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/dev-ruby/resolv/resolv-0.6.0.ebuild b/dev-ruby/resolv/resolv-0.6.0-r1.ebuild
similarity index 82%
rename from dev-ruby/resolv/resolv-0.6.0.ebuild
rename to dev-ruby/resolv/resolv-0.6.0-r1.ebuild
index 9ebd237c9ccd..d1976f780b4a 100644
--- a/dev-ruby/resolv/resolv-0.6.0.ebuild
+++ b/dev-ruby/resolv/resolv-0.6.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -32,3 +32,11 @@ all_ruby_prepare() {
sed -e '/if RUBY_ENGINE/ s/$/ and false/' \
-i Rakefile || die
}
+
+each_ruby_install() {
+ each_fakegem_install
+
+ # The extension is only compiled on Win32, but we still need to mark
+ # that task as done.
+ ruby_fakegem_extensions_installed
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-01 8:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-29 9:06 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/resolv/ Hans de Graaff
-- strict thread matches above, loose matches on Subject: below --
2025-01-01 8:16 Hans de Graaff
2024-12-29 5:55 Hans de Graaff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox