summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-04-06 07:32:09 +0200
committerHans de Graaff <graaff@gentoo.org>2020-04-06 11:27:44 +0200
commit67397da53b701ee6369c200235fc0e2cc113b730 (patch)
treeeb9bae07df78e97f724264f741e63cf2322061ad /dev-ruby/public_suffix
parentdev-ruby/public_suffix: cleanup (diff)
downloadgentoo-67397da53b701ee6369c200235fc0e2cc113b730.tar.gz
gentoo-67397da53b701ee6369c200235fc0e2cc113b730.tar.bz2
gentoo-67397da53b701ee6369c200235fc0e2cc113b730.zip
dev-ruby/public_suffix: add 4.0.4
Package-Manager: Portage-2.3.89, Repoman-2.3.20 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.4.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/public_suffix/Manifest b/dev-ruby/public_suffix/Manifest
index fa51d8e203c9..58b700f86b20 100644
--- a/dev-ruby/public_suffix/Manifest
+++ b/dev-ruby/public_suffix/Manifest
@@ -1,2 +1,3 @@
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
diff --git a/dev-ruby/public_suffix/public_suffix-4.0.4.ebuild b/dev-ruby/public_suffix/public_suffix-4.0.4.ebuild
new file mode 100644
index 000000000000..914ef2bfe58f
--- /dev/null
+++ b/dev-ruby/public_suffix/public_suffix-4.0.4.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 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+LICENSE="MIT"
+SLOT="4"
+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
+}