summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-05-10 07:15:43 +0200
committerHans de Graaff <graaff@gentoo.org>2020-05-10 07:15:43 +0200
commit275a631dff94fe08976ea661001f0cbfe23d5b7a (patch)
treed18e3885ea462d3e14fe3bd9006b18ddb2a7ada3 /dev-ruby/public_suffix
parentdev-ruby/pastel: add 0.7.4 (diff)
downloadgentoo-275a631dff94fe08976ea661001f0cbfe23d5b7a.tar.gz
gentoo-275a631dff94fe08976ea661001f0cbfe23d5b7a.tar.bz2
gentoo-275a631dff94fe08976ea661001f0cbfe23d5b7a.zip
dev-ruby/public_suffix: add 4.0.5
Package-Manager: Portage-2.3.99, Repoman-2.3.22 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-4.0.5.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/public_suffix/Manifest b/dev-ruby/public_suffix/Manifest
index 58b700f86b20..f590e18fa6a6 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.3.gem 105472 BLAKE2B 5654fb2323161eb04fe6e30194593fc521148e181a112378c8214fa6980d0edeb0d03e7745333b1cdc55d0f5251f811e1e6707b77b94613b6f199048d6d91ffc SHA512 9c4f6fb0a1a8ea4ceb3203bb0d9c53eda4b0779a6e25b4a6d4236d1cea62f39bbdedc50cb9808492fb54f453311b37548a2a8e0ac3ec83777876a9b6aa279ef5
DIST public_suffix-4.0.4.gem 105472 BLAKE2B c6be420744976bb3c5dd78b4ab4fc4d4293de1a985af95b288520983957a11224c2548ca7d34009d9ac1fa975880d7971a9a7d6267634cb97836ce0486d62a03 SHA512 d6f61d1d1756541a84a4745d02732c769901c0d309ed15c48ef01b153ba7c2a801b227251e02a8a5d85da2ffd0c52888c154ee374fc54a6aabe385b398144696
+DIST public_suffix-4.0.5.gem 106496 BLAKE2B 1b581b2d08e78b156d70f25d1af66f825f7e1e332049311001f4d20982222fea463e4eb79ae12152c51269ee42c883cd966f479225f26c01b8e7a70f870d5ddf SHA512 5de30466e27d853c498f210dbe168c52d0e5efab5b6388c88de5667e40dee151041d6a1a9203780230dfa03bd2fb920a50b1301d05d12a31f4d31f8352218821
diff --git a/dev-ruby/public_suffix/public_suffix-4.0.5.ebuild b/dev-ruby/public_suffix/public_suffix-4.0.5.ebuild
new file mode 100644
index 000000000000..67e0089c6b13
--- /dev/null
+++ b/dev-ruby/public_suffix/public_suffix-4.0.5.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+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 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/mocha )"
+
+all_ruby_prepare() {
+ sed -i -e '/rubocop/I s:^:#:' \
+ -e '/yardoc/,/CLOBBER.include/ s:^:#:' \
+ -e '/bundler/ s:^:#:' Rakefile || die
+ sed -i -e '/reporters/I s:^:#:' test/test_helper.rb || die
+}