mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/ipaddr: add 1.2.8
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST ipaddr-1.2.7.tar.gz 13050 BLAKE2B 90718d0a131297bee394715b62e70cd0592a7edf0be5a14bba9cbdf097e4115e1dd069d895fe22951ada77c1e7668b710f7944eed84ee6c5c58679384053c104 SHA512 3900331c7f7822e330e983b243da3f7ef5387af8467212770577a501a584ba834f03c112ec476bb274c80784f45928b9a12d7d5851608430283c4e12ed1e317a
|
||||
DIST ipaddr-1.2.8.tar.gz 13896 BLAKE2B fc507bff67a1de0c9ce843048e39dcd03ad3b3b86a186ba3ccc8afa269d33de71e723e2730e256be87bbaace7a604001d0180f820e58690c9178bf2e22fae8d1 SHA512 a6e4b962e76384e8eddff371fd7a2534950afa9f094bfd766638c8c16a78093c647e24fdfda2f5a7b6c81452f33d1a91769ea99241ac5a7f58908b8d9698a97d
|
||||
|
||||
34
dev-ruby/ipaddr/ipaddr-1.2.8.ebuild
Normal file
34
dev-ruby/ipaddr/ipaddr-1.2.8.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# 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="ipaddr.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="IPAddr provides a set of methods to manipulate an IPv4 or IPv6 address"
|
||||
HOMEPAGE="https://github.com/ruby/ipaddr"
|
||||
SRC_URI="https://github.com/ruby/ipaddr/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 ~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
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:.:test:test/lib -rhelper -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die
|
||||
}
|
||||
Reference in New Issue
Block a user