diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-06-21 08:58:13 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-06-21 08:58:13 +0200 |
commit | 1a79c23f0df05671ca3afe4f2a5b2cd4f2587b0a (patch) | |
tree | 0250d3500b23bc25646a0c24723eac34cb224f82 /dev-ruby | |
parent | dev-ml/camlbz2: fix deps (diff) | |
download | gentoo-1a79c23f0df05671ca3afe4f2a5b2cd4f2587b0a.tar.gz gentoo-1a79c23f0df05671ca3afe4f2a5b2cd4f2587b0a.tar.bz2 gentoo-1a79c23f0df05671ca3afe4f2a5b2cd4f2587b0a.zip |
dev-ruby/public_suffix: add 6.0.0
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.0.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/public_suffix/Manifest b/dev-ruby/public_suffix/Manifest index 6be1b5c3fa3e..057963c0bfb3 100644 --- a/dev-ruby/public_suffix/Manifest +++ b/dev-ruby/public_suffix/Manifest @@ -3,3 +3,4 @@ DIST public_suffix-5.0.3.gem 113152 BLAKE2B e14a5c343f4db466a31c3a84c95f810d82b5 DIST public_suffix-5.0.5.tar.gz 112703 BLAKE2B aa23f94cbccb380e38fd63521516038f180f32a2e5c1c4fd800063f9cd1859c388cdd2e0bca13f76c9cf1ff16f03a34eb5ea1a6ac75e4eb98970d516e01df6a5 SHA512 4b785474b7fb726dbfe66b6c1c801eb9a75d5e555c69e678cf8253112facd9dc98fd76c07f43ff74eb310beaf7e063344e8a6484dfe4b8cfea2557510f22ae9f 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 diff --git a/dev-ruby/public_suffix/public_suffix-6.0.0.ebuild b/dev-ruby/public_suffix/public_suffix-6.0.0.ebuild new file mode 100644 index 000000000000..1fa91fceb57b --- /dev/null +++ b/dev-ruby/public_suffix/public_suffix-6.0.0.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 +} |