summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-12-29 07:45:58 +0100
committerHans de Graaff <graaff@gentoo.org>2019-12-29 07:45:58 +0100
commitd730e15815536f9ddd1d81bdbe470989570f9604 (patch)
treea42d6194f4542ecc92aa4c939485562cd94b604b
parentdev-ruby/metaclass: add ruby27 (diff)
downloadgentoo-d730e15815536f9ddd1d81bdbe470989570f9604.tar.gz
gentoo-d730e15815536f9ddd1d81bdbe470989570f9604.tar.bz2
gentoo-d730e15815536f9ddd1d81bdbe470989570f9604.zip
dev-ruby/public_suffix: add 4.0.2
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/public_suffix/Manifest1
-rw-r--r--dev-ruby/public_suffix/public_suffix-4.0.2.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/public_suffix/Manifest b/dev-ruby/public_suffix/Manifest
index 1a57f243b056..83a2454b503a 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.1.gem 100352 BLAKE2B 00e71f881b30316f42d9a16c22c71e1a7f7f183ae3bf6662a49a0bb2d2caab7345ca1c5c7a9034cb479d95836db83e1d389551333187d9949addd70fdf6ff39c SHA512 03255a82e084758b78308606c028d86cef6231af0a769af97e8207d777370ba5951fcc2914d19708db996e92e53e5689ac7d628ca3c4f604250e46a274bbaf3a
+DIST public_suffix-4.0.2.gem 101376 BLAKE2B 7e48ea3c93418b43e3b6000311bea49320df664d9b7f3c38f2dab110c393ba72eb12b74a3347e5086aedbbe584fc6b3ab0d409f29e3ecf220b02bb0caf8decd2 SHA512 5428ba35b36f45f9bec6ff027123bd294b711254cf90d1704ae3b2e69c02fca2f13d3d58d4067f3cfb88344979c95232149ac577d8a9a6ec35d879e52b93e0aa
diff --git a/dev-ruby/public_suffix/public_suffix-4.0.2.ebuild b/dev-ruby/public_suffix/public_suffix-4.0.2.ebuild
new file mode 100644
index 000000000000..dbf7b8c559eb
--- /dev/null
+++ b/dev-ruby/public_suffix/public_suffix-4.0.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+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
+}