diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-07-24 07:57:31 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-07-24 08:00:50 +0200 |
commit | 89f6b70877b159083c729ff32771073e5a603408 (patch) | |
tree | 5e07aff2eaa8cacd5cd2530d76f2839d198da921 /dev-ruby | |
parent | dev-ruby/mocha: add 2.4.4 (diff) | |
download | gentoo-89f6b70877b159083c729ff32771073e5a603408.tar.gz gentoo-89f6b70877b159083c729ff32771073e5a603408.tar.bz2 gentoo-89f6b70877b159083c729ff32771073e5a603408.zip |
dev-ruby/public_suffix: add 6.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/public_suffix/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/public_suffix/public_suffix-6.0.1.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/public_suffix/Manifest b/dev-ruby/public_suffix/Manifest index 057963c0bfb3..31f990416c2e 100644 --- a/dev-ruby/public_suffix/Manifest +++ b/dev-ruby/public_suffix/Manifest @@ -4,3 +4,4 @@ DIST public_suffix-5.0.5.tar.gz 112703 BLAKE2B aa23f94cbccb380e38fd63521516038f1 DIST public_suffix-5.1.0.tar.gz 113319 BLAKE2B 7956a28f2b69d96f0cdb0e846b300393bbef69733f8040e74bd3e439eba9f637522db38f6de2640c27a75ba254573e0dfae73c5145bca7f7f4faded3cf97506e SHA512 959098da01af2b45ff2b5e053fc3cb70fe1917c7afe47259a55b229e39fb33ac04207c528051a927f1323aec8c05d6a5756384745f611c8793be18ced25e8706 DIST public_suffix-5.1.1.tar.gz 113447 BLAKE2B 5ef689e9c6a6e7d7d8b8e683737f3d48f105630f54c00cba41af3b1e0f88726b33cc8cf9ae6650f261948927f57898ee06c3b77c394054ee2a3fa751577a4596 SHA512 d25171feef174c4fed513fd529f243c0746a0fa5971b01a223573f2532316b1fc4c527742ba80525995edc0d88f2cff5a1449457e7461b59bf32216a3f071e88 DIST public_suffix-6.0.0.tar.gz 113405 BLAKE2B d92796e431b639950d06c1d5aba2f4360be2a0beafe30e008520507e7b5de41571146340f0150893ba3e5c72d6c68b6fd5a39b815a742aeb6be646db0743dd21 SHA512 0ec906f3f1eeca5390c9ac83b1e6b9f9656428b20206fb3a5ff001ac9ccca6d9bb264d3fd44b487d54eadb63d36cbb50787819acc5fe464ad541afbc63b9309f +DIST public_suffix-6.0.1.tar.gz 113956 BLAKE2B 6537323a3f5061694fc27739788622a2150709f661b58e62eed06e84f43efe10460c2ee25da914d789ead472d8a27c49841fdb12f73d9d427cb8f5c7861b02d9 SHA512 31300000fe1a29bc6cd723891b0a7459a2b85d02b468128bf8c7a0513afd87a77d3d444dce5a6fcabe045c8acf35eab181308e912cafd0c96b4190e593f346bc diff --git a/dev-ruby/public_suffix/public_suffix-6.0.1.ebuild b/dev-ruby/public_suffix/public_suffix-6.0.1.ebuild new file mode 100644 index 000000000000..1fa91fceb57b --- /dev/null +++ b/dev-ruby/public_suffix/public_suffix-6.0.1.ebuild @@ -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}" + +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 +} |