summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/public_suffix')
-rw-r--r--dev-ruby/public_suffix/Manifest1
-rw-r--r--dev-ruby/public_suffix/public_suffix-3.0.0.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-ruby/public_suffix/Manifest b/dev-ruby/public_suffix/Manifest
index 91ddc3ba571d..62fd8338ef8c 100644
--- a/dev-ruby/public_suffix/Manifest
+++ b/dev-ruby/public_suffix/Manifest
@@ -1 +1,2 @@
DIST public_suffix-2.0.5.gem 89600 SHA256 f8488b110921532ff291af74eef70fa4e3c036141c4ef80009dcdc2b51721210 SHA512 d261dec44c11803631e267f36d82a59278d90dceb2811233ca511e895c5f1a58005b6afea980bd1bbd78bbfc7a3a4e02f9f1fbe351fded38be340ecc235da383 WHIRLPOOL 55527ec204e03c7dc81ec4ef0ea28a68ed54fa7ab6406ce7911c677ae3ffd1de5573bf603679219944c998000d225f4b3e4c064644ce011fffb479dd4d03bebe
+DIST public_suffix-3.0.0.gem 94720 SHA256 ae48d8122866e342c09f1f643c2b88e3547562fd6df85d83926445d75f90ca6a SHA512 9190c85fa48f2d69af3131cacdfeb4e4ebe2ff82f833d286ff3e87298cd3189d7c5b6facdcde502bea73beae8a950c1d6ef851ca0848824a59ac53f222db4806 WHIRLPOOL 4c25c0f2a869ec4eb6fd5c637b11e84eba3efb0ec8c5c0046f3b2330677669a6ab17e8c3c9352a5667af0c19fa490d694062d34b785919847aca784859021217
diff --git a/dev-ruby/public_suffix/public_suffix-3.0.0.ebuild b/dev-ruby/public_suffix/public_suffix-3.0.0.ebuild
new file mode 100644
index 000000000000..86dcfcddde3d
--- /dev/null
+++ b/dev-ruby/public_suffix/public_suffix-3.0.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRAINSTALL="data"
+
+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 ~ppc ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+LICENSE="MIT"
+SLOT="3"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/mocha )"
+
+all_ruby_prepare() {
+ sed -i -e '/rubocop/I s:^:#:' \
+ -e '/yardoc/,/CLOBBER.include/ s:^:#:' Rakefile || die
+ sed -i -e '/reporters/I s:^:#:' test/test_helper.rb || die
+}