From: Hans de Graaff Date: Fri, 23 Aug 2019 04:47:19 +0000 (+0200) Subject: dev-ruby/http-accept: initial import of 2.1.0 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4ff25f4747a5cc41356e2e74c051ced2646b1513;p=gentoo.git dev-ruby/http-accept: initial import of 2.1.0 New dependency of dev-ruby/rest-client. Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Hans de Graaff --- diff --git a/dev-ruby/http-accept/Manifest b/dev-ruby/http-accept/Manifest new file mode 100644 index 000000000000..35c1c3686cb2 --- /dev/null +++ b/dev-ruby/http-accept/Manifest @@ -0,0 +1 @@ +DIST http-accept-2.1.0.tar.gz 12473 BLAKE2B afb5513207c0491fbac6e28e14f7637de805f3da60f0f00b6efa54a21686444f3a669a0f47895f21b335031856a1bee1e60b1f11e22b8a7caac23168bc6f7892 SHA512 c8eff607b697ff1691644e4e2e0447a64f238dbbc13413afc7bc3042cbb49d2d825bc9b698845dce4be2ebb3ecd9b31f3d5910a371982e74927085c9121c4dd6 diff --git a/dev-ruby/http-accept/http-accept-2.1.0.ebuild b/dev-ruby/http-accept/http-accept-2.1.0.ebuild new file mode 100644 index 000000000000..96888b18982e --- /dev/null +++ b/dev-ruby/http-accept/http-accept-2.1.0.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 +} diff --git a/dev-ruby/http-accept/metadata.xml b/dev-ruby/http-accept/metadata.xml new file mode 100644 index 000000000000..156056bca8cd --- /dev/null +++ b/dev-ruby/http-accept/metadata.xml @@ -0,0 +1,11 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + socketry/http-accept + +