summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-05-28 07:15:33 +0200
committerHans de Graaff <graaff@gentoo.org>2019-05-28 07:15:33 +0200
commit40c095bfb91c6bab63650ec5dbdbaa95e4b0462e (patch)
tree396087a1dd28b2d42f4cc61eff53152ce97a909a /dev-ruby/public_suffix
parentdev-ruby/ox: add 2.10.1 (diff)
downloadgentoo-40c095bfb91c6bab63650ec5dbdbaa95e4b0462e.tar.gz
gentoo-40c095bfb91c6bab63650ec5dbdbaa95e4b0462e.tar.bz2
gentoo-40c095bfb91c6bab63650ec5dbdbaa95e4b0462e.zip
dev-ruby/public_suffix: add 3.1.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
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.1.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/public_suffix/Manifest b/dev-ruby/public_suffix/Manifest
index 6242597429d2..52384344b0e5 100644
--- a/dev-ruby/public_suffix/Manifest
+++ b/dev-ruby/public_suffix/Manifest
@@ -1,2 +1,3 @@
DIST public_suffix-3.0.2.gem 95744 BLAKE2B 5c06af572214760f7d2a176e1b6603ea9bf0f45c91633cdead841ef8289b7c9ae7ae5b0400d5248d3df4c3bc81d9bb357de622fb85a9c3a67f4973872bdee94a SHA512 eafab08d0114212798390b4b5e9472fab98c91b38ea836c76254673e48bd068afeeb5ec4a2685bdb030ea78e4e5ea0be10dc3b742ed30352e11ec7a7cc1e7bc2
DIST public_suffix-3.0.3.gem 96768 BLAKE2B 0ef8da7c32a2a1268d45a03a46f9a7de9da312fae2b2461692b1eefca09075029972ef196ae5c531d85140cc5da4107ff47abb16129b19e995357d04cfd852b4 SHA512 8d80d126bb91162d9228dd515c2e5cee466134493e874c136831eda11293477a035ec05436a16dc0bf720b7b38b15664e8c1d9b5f4f140f4054fc387565ea275
+DIST public_suffix-3.1.0.gem 99328 BLAKE2B 50c5e415bc59edf3a733eed9bfd5e23b5892fc12dd9a0ce624dadc41227b5ed295a6df3a1b48b4dc375ab0e1c3b4411133280df03c9e0a5269e545213873ae8e SHA512 8f47f75bb9c23b1c3655aa3d3f5dab302e47c7c1a95f07bdc40f782b95c15a79c898f632e844cf9c350aafc1a7dffee3890d68dbfff73f43551a2bbb03667a69
diff --git a/dev-ruby/public_suffix/public_suffix-3.1.0.ebuild b/dev-ruby/public_suffix/public_suffix-3.1.0.ebuild
new file mode 100644
index 000000000000..186d9be0920b
--- /dev/null
+++ b/dev-ruby/public_suffix/public_suffix-3.1.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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="3"
+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
+}