mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-ruby/public_suffix: add 5.0.5
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST public_suffix-4.0.7.gem 113664 BLAKE2B 5da86713da01f59e7f311985a36b835e02807ca5f186ffc5e41e42cae7781cc10d96a4aca77dafb77050c78e6fb03e10f7ac55dace776c5cca68bca9f4bd7d75 SHA512 acdfe135684277a669ceaa61ea78fc70b979614f63daf27d145e78e4013221eac106651838a27b6694844f4fc33521ecc9f81102582ca1f1232fa80ce8191207
|
||||
DIST public_suffix-5.0.3.gem 113152 BLAKE2B e14a5c343f4db466a31c3a84c95f810d82b5bf64d6be9e0690d9639aaae8feec91ffb1e867dcb3664027426c436396a090a7051189308414b76c4f962c899930 SHA512 7d8c1c0ff951458060dfee4247cfdb04a3f875f97e8451e2955b05335c9ea8480612be1455280ee86c9b2a1c62d0dac663d67b68825d8ce3a99ef63c5841017d
|
||||
DIST public_suffix-5.0.4.tar.gz 111469 BLAKE2B 6719dc40206f5dc2bb8152576ca82d1321b1789fd8b085d20d1246d4f5f44f64116f9a62cbd55053a066c6b99fbe200951f13862d0a4136a62c235147f65fd4a SHA512 d42bd895387739d87579249ff4799fb5a49c49a2e4cbf4f22dd0b42a252b264d813549bf86d6c327d85e7d38fbdd97681d777adf2ff8398025dafd9eac655654
|
||||
DIST public_suffix-5.0.5.tar.gz 112703 BLAKE2B aa23f94cbccb380e38fd63521516038f180f32a2e5c1c4fd800063f9cd1859c388cdd2e0bca13f76c9cf1ff16f03a34eb5ea1a6ac75e4eb98970d516e01df6a5 SHA512 4b785474b7fb726dbfe66b6c1c801eb9a75d5e555c69e678cf8253112facd9dc98fd76c07f43ff74eb310beaf7e063344e8a6484dfe4b8cfea2557510f22ae9f
|
||||
|
||||
35
dev-ruby/public_suffix/public_suffix-5.0.5.ebuild
Normal file
35
dev-ruby/public_suffix/public_suffix-5.0.5.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# 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_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}"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1)"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user