summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-09-02 07:02:58 +0200
committerHans de Graaff <graaff@gentoo.org>2019-09-02 07:02:58 +0200
commit481c588ffe3cf2cbfba3b2ac8020f38f188bbb11 (patch)
tree9cdda18771bac95798acf5cb12b7ddfdf65859db /dev-ruby/http-accept
parentapp-text/calibre: Bump to version 3.47.1 (diff)
downloadgentoo-481c588ffe3cf2cbfba3b2ac8020f38f188bbb11.tar.gz
gentoo-481c588ffe3cf2cbfba3b2ac8020f38f188bbb11.tar.bz2
gentoo-481c588ffe3cf2cbfba3b2ac8020f38f188bbb11.zip
dev-ruby/http-accept: add 2.1.1
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/http-accept')
-rw-r--r--dev-ruby/http-accept/Manifest1
-rw-r--r--dev-ruby/http-accept/http-accept-2.1.1.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/dev-ruby/http-accept/Manifest b/dev-ruby/http-accept/Manifest
index 35c1c3686cb2..2559d4a061f3 100644
--- a/dev-ruby/http-accept/Manifest
+++ b/dev-ruby/http-accept/Manifest
@@ -1 +1,2 @@
DIST http-accept-2.1.0.tar.gz 12473 BLAKE2B afb5513207c0491fbac6e28e14f7637de805f3da60f0f00b6efa54a21686444f3a669a0f47895f21b335031856a1bee1e60b1f11e22b8a7caac23168bc6f7892 SHA512 c8eff607b697ff1691644e4e2e0447a64f238dbbc13413afc7bc3042cbb49d2d825bc9b698845dce4be2ebb3ecd9b31f3d5910a371982e74927085c9121c4dd6
+DIST http-accept-2.1.1.tar.gz 12488 BLAKE2B b909736c0fda14b32f30c38f12f4c4c2b2bf1a36ddf753069484b6b7151d518b80a6ae8dba929e27f8f758c0c0ae0c52c24802f02b1bfd4674ca33b50d7a0de0 SHA512 e0231cae90ce9180006714485df2cf205bf1f114887dc581ea50fb558c1c7e434838d10d0c9f69c1d747249b8d0c73e628a6ea7b1ffa1ffa7059ba2447307df2
diff --git a/dev-ruby/http-accept/http-accept-2.1.1.ebuild b/dev-ruby/http-accept/http-accept-2.1.1.ebuild
new file mode 100644
index 000000000000..96888b18982e
--- /dev/null
+++ b/dev-ruby/http-accept/http-accept-2.1.1.ebuild
@@ -0,0 +1,24 @@
+# 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_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Parse Accept and Accept-Language HTTP headers"
+HOMEPAGE="https://github.com/socketry/http-accept"
+SRC_URI="https://github.com/socketry/http-accept/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="2"
+KEYWORDS="~amd64"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -i -e '/covered/ s:^:#:' spec/spec_helper.rb || die
+}