dev-ruby/public_suffix: add 7.0.0

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2025-11-18 08:56:52 +01:00
parent 54a321b8a2
commit ab37e2e6df
2 changed files with 36 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST public_suffix-6.0.1.tar.gz 113956 BLAKE2B 6537323a3f5061694fc27739788622a2150709f661b58e62eed06e84f43efe10460c2ee25da914d789ead472d8a27c49841fdb12f73d9d427cb8f5c7861b02d9 SHA512 31300000fe1a29bc6cd723891b0a7459a2b85d02b468128bf8c7a0513afd87a77d3d444dce5a6fcabe045c8acf35eab181308e912cafd0c96b4190e593f346bc
DIST public_suffix-6.0.2.tar.gz 113755 BLAKE2B 2fbc5ff8dd47626fd15f463e8f376d869367fbb95b2a0917f784f3ec37650890caaa488b1484ec31597aa3ae15edaea1275f26922dba6963ab2b6849a3329e99 SHA512 01f1ffb85f8e0e52b6dc84fc82da0b248c6d85d5c5ef92cff724fc2ec5d7757329129e7c0c5e012be396dc9fa3d52037ba6b10f7d2cf1c934364113e7f526c48
DIST public_suffix-7.0.0.tar.gz 116478 BLAKE2B 4dc71075068ccde62a4b3ab0743340c6db9573d0e7690079415c78788d44e0961dc6610c1c41d13a0ba85f7c35b133efb7068b35d08c9c808085ccbae25c1144 SHA512 e3e76bc82a14bdcc71600bcd99a91f7389eac02dd74a860efa6e5440b958dff11c284d864659e7c6782799bc126d013bb897cdb30d3e30b2535ba7e1c10cdaa7

View File

@@ -0,0 +1,35 @@
# 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_EXTRAINSTALL="data"
RUBY_FAKEGEM_GEMSPEC="public_suffix.gemspec"
RUBY_FAKEGEM_BINWRAP=""
inherit ruby-fakegem
DESCRIPTION="Parse and decompose a domain name into top level domain, domain and subdomains"
HOMEPAGE="https://simonecarletti.com/code/publicsuffix-ruby/"
SRC_URI="https://github.com/weppos/publicsuffix-ruby/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
RUBY_S="publicsuffix-ruby-${PV}"
LICENSE="MIT"
SLOT="$(ver_cut 1)"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
ruby_add_bdepend "test? ( dev-ruby/mocha:2 )"
all_ruby_prepare() {
sed -e 's:_relative ": "./:' \
-e 's/__dir__/"."/' \
-e 's/git ls-files -z/find * -print0/' \
-i ${RUBY_FAKEGEM_GEMSPEC} || die
sed -i -e '/rubocop/I s:^:#:' \
-e '/yard/,/CLOBBER.include/ s:^:#:' \
-e '/bundler/ s:^:#:' Rakefile || die
sed -i -e '/reporters/I s:^:#:' test/test_helper.rb || die
}