summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-08-23 06:47:19 +0200
committerHans de Graaff <graaff@gentoo.org>2019-08-23 06:47:19 +0200
commit4ff25f4747a5cc41356e2e74c051ced2646b1513 (patch)
tree3c83fe2c7e0bc88d7af0322c8983cc984f3314f9 /dev-ruby/http-accept
parentdev-ruby/autoprefixer-rails: add 9.6.1.1 (diff)
downloadgentoo-4ff25f4747a5cc41356e2e74c051ced2646b1513.tar.gz
gentoo-4ff25f4747a5cc41356e2e74c051ced2646b1513.tar.bz2
gentoo-4ff25f4747a5cc41356e2e74c051ced2646b1513.zip
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 <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.0.ebuild24
-rw-r--r--dev-ruby/http-accept/metadata.xml11
3 files changed, 36 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">socketry/http-accept</remote-id>
+ </upstream>
+</pkgmetadata>