mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-ruby/resolv: add 0.7.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
parent
cfaa126f2e
commit
9f7e7ac6bf
@ -1,2 +1,3 @@
|
||||
DIST resolv-0.6.2.tar.gz 35420 BLAKE2B b12cfcb45ce06c557ccee1926ec0dd141fd4ea11569d9ce53a6783ce751432b30c0444ff027a275291dc7e3d34b1ae53909129c2ad8da892b892b409424ce861 SHA512 9aac52aee6aa0b89b2f280fa48422bb79cee4db7408ab6508f032e5b32cadb0b3e299da8407831a81f14a0c685c1c373b76ac743ec406ee65030a7262dbe1ad3
|
||||
DIST resolv-0.6.3.tar.gz 36479 BLAKE2B 6a27d4d46e05c98932a36c2e7f7ae2a23608bb2dcede210d33326c279135404964da4ab4e7683189b2a095464eb501b1bd847e4919b7a2e2724c172ab79a26eb SHA512 c6a817ccce5e239a9af0c1289929428b00ee461b047c40d91da6a952f183e28ce14057dfd57ea57b68500895ad35fefc2a1251784ae1acc2075786a04362ecfc
|
||||
DIST resolv-0.7.0.tar.gz 37632 BLAKE2B f5eb51ac5c67cf95d808b8cf410c396bf817410b3ccdd992b178b83ba66fd19df113a092713fee7c7cd3c4eacb6a9a70bd0c4f91e2b2502c6d87ae98304447f7 SHA512 c00d08ba22a490946f2fb6e493410c13af0996a9573cfe5cba6dcea6c81a8bbcac043c7b439d21627299a628ee50f7929d41b2d8e21f42542bb6c1fa27bb6d9c
|
||||
|
||||
43
dev-ruby/resolv/resolv-0.7.0.ebuild
Normal file
43
dev-ruby/resolv/resolv-0.7.0.ebuild
Normal file
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby32 ruby33 ruby34"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user