summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-07-25 07:23:03 +0200
committerHans de Graaff <graaff@gentoo.org>2022-07-25 07:23:03 +0200
commit183f22856da4d7ea80917591c0c84365d6bee19e (patch)
treed647cfc3f6e569cab8fff8869727b8268c46637d /dev-ruby/public_suffix
parentdev-ruby/asciidoctor-diagram: add missing test deps (diff)
downloadgentoo-183f22856da4d7ea80917591c0c84365d6bee19e.tar.gz
gentoo-183f22856da4d7ea80917591c0c84365d6bee19e.tar.bz2
gentoo-183f22856da4d7ea80917591c0c84365d6bee19e.zip
dev-ruby/public_suffix: add 5.0.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/public_suffix')
-rw-r--r--dev-ruby/public_suffix/Manifest1
-rw-r--r--dev-ruby/public_suffix/public_suffix-5.0.0.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/public_suffix/Manifest b/dev-ruby/public_suffix/Manifest
index f40da1499314..ce92b5248741 100644
--- a/dev-ruby/public_suffix/Manifest
+++ b/dev-ruby/public_suffix/Manifest
@@ -1,3 +1,4 @@
DIST public_suffix-3.1.1.gem 99840 BLAKE2B ef86b7ecb834a855dbb44b8a0f934de3715edb6d67faefd20f99054898b35bfedffd490b60fbe80236905826868611aa96e13766577bb98ab997321cf9c49b39 SHA512 1e266ed7fa224fa94a49a51dae2868bdadb80ca2de660d2cda9a1e146ccad5aaba2cf68d75272e333a4b1a80e47863d388d85d3a86bddf8f649a320e5e700078
DIST public_suffix-4.0.6.gem 108032 BLAKE2B 4cbb10ddd924daf11d97a54d18550961f46c0951dd3dc1f23740ee7500fd8e796e78fd6421a7418a49350a69eca7d6456a09810be317ad4619ef3d3e7f71ff69 SHA512 a756c0f8f9cee2d12bd1730280108b72befa362defda12e5f6d7af6d68c40e31478c337b3eb7e7407feff9531082051d18928861003c7ba29679b4048da3b4b1
DIST public_suffix-4.0.7.gem 113664 BLAKE2B 5da86713da01f59e7f311985a36b835e02807ca5f186ffc5e41e42cae7781cc10d96a4aca77dafb77050c78e6fb03e10f7ac55dace776c5cca68bca9f4bd7d75 SHA512 acdfe135684277a669ceaa61ea78fc70b979614f63daf27d145e78e4013221eac106651838a27b6694844f4fc33521ecc9f81102582ca1f1232fa80ce8191207
+DIST public_suffix-5.0.0.gem 114176 BLAKE2B dc7a7dcf3d84130420d6243aa0a9391c141061fbe0fa70d85ce120938f3e31d617cf022a853dc9839cf49b997c1eb85f49a8759f357820ca32f88a26730fa473 SHA512 89dc076e6c55790b1459ceb0b0587d20b80d8a681bab6db2dd213e06f9bf9e55200e86cf891c92b310e691e7b0e1bb5ae95e28e3a3307541c2f020e5f69abeb5
diff --git a/dev-ruby/public_suffix/public_suffix-5.0.0.ebuild b/dev-ruby/public_suffix/public_suffix-5.0.0.ebuild
new file mode 100644
index 000000000000..0e54e7908148
--- /dev/null
+++ b/dev-ruby/public_suffix/public_suffix-5.0.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_EXTRAINSTALL="data"
+
+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/"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/mocha:1.0 )"
+
+all_ruby_prepare() {
+ 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
+}