diff options
Diffstat (limited to 'dev-ruby/ipaddr')
-rw-r--r-- | dev-ruby/ipaddr/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/ipaddr/ipaddr-1.2.6.ebuild | 31 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/ipaddr/Manifest b/dev-ruby/ipaddr/Manifest index 01813b34956e..511f906a978a 100644 --- a/dev-ruby/ipaddr/Manifest +++ b/dev-ruby/ipaddr/Manifest @@ -1,3 +1,5 @@ DIST ipaddr-1.2.5.tar.gz 21795 BLAKE2B dfc4d50941dc9275ff45bcd35ac48ea678c6d6bd4e4227e5514ba7ba1ad2bde7e6692eb81dfc066332211fa20911c58573d9e6fd6842195cebea69f004cf4dd1 SHA512 d3741e6841ad78dba364227d7f0313843068c06dd13f2f459cc3c07e5f2a9ed7d9a9ebbeb2533235ba561a52966bbfc78375b8b0ab36a9275a49251658c6deab +DIST ipaddr-1.2.6.tar.gz 11817 BLAKE2B fb2fefef581e372ce8130b3fef9e634218b5bd66bb579dc9909f641fb4dc7bd5f7b5252168cb0f0758874737119a163766b7c027c261f0eb386478b489633b82 SHA512 9850d26a8804a51587b7070be8bb932c312cb4d3619204df73a7d55b3f177891d18e5daf05b17f4271df9f04296f97aff607bcbc189b5c7238fd80376a13e3e7 EBUILD ipaddr-1.2.5.ebuild 953 BLAKE2B 21b13f0e478799b5e0499ee5f98089ab73d42d8871d963e7c1f4ef944f3aae23b461eb3e87ab0f9f4f07cc3784734e5f1d026b81a635da17c588a181acd3c4bd SHA512 9aea8bf0111b64a24c124333a61ddaac2e0dedeb8ad7a3b195fb35d5a53873f0c281def3c588e622e6f138785d92431eff6d6e3a7135b761ac4ff3ebea4060c9 +EBUILD ipaddr-1.2.6.ebuild 946 BLAKE2B 0304e43cd79b4e078ae50b551dfefbb807670c517eb0d1f54c6c886a189c115c62f5d1b39455bdd810a41dee87c70c118ba33532a8c94ce7e89b0f99432214e1 SHA512 c044bf0111849637a4c4ab4f03e85aa2c64c9ba10c2cc89066dfad692e2ad0726650bef0508c33288bc02138c5ec65660ed578f4ca18cf8f3ade8a80055f26b7 MISC metadata.xml 338 BLAKE2B cd42f6b9da9119c3e5c260ecd9aec64ad09dccc847e4720297bbd06a72a5bd9c17f83d99a4bd52ce7969bd5c9eb6cf3a54cf874a2f1c19c676730d87d39b8c7d SHA512 912bc07f88a2b215c2ada62db4c422e71b5a83450e36d88f76dc56ca5f9165401565e4fd1728c747b6be12e8b0e0eba003cd8b06687b2679206b22370a1149db diff --git a/dev-ruby/ipaddr/ipaddr-1.2.6.ebuild b/dev-ruby/ipaddr/ipaddr-1.2.6.ebuild new file mode 100644 index 000000000000..26d3d46e7b6f --- /dev/null +++ b/dev-ruby/ipaddr/ipaddr-1.2.6.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="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 ~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 -rhelper -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die +} |