summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-07-04 10:17:16 +0200
committerHans de Graaff <graaff@gentoo.org>2023-07-04 11:41:07 +0200
commit820f01b3cf32d15cc9f787a9de395ef753471c1f (patch)
tree3d04ef81c956c140d49c3b9fb8dc81e4bcb5ecd0 /dev-ruby/http-accept
parentdev-ruby/http-accept: drop 2.1.1-r1 (diff)
downloadgentoo-820f01b3cf32d15cc9f787a9de395ef753471c1f.tar.gz
gentoo-820f01b3cf32d15cc9f787a9de395ef753471c1f.tar.bz2
gentoo-820f01b3cf32d15cc9f787a9de395ef753471c1f.zip
dev-ruby/http-accept: update EAPI 7 -> 8
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/http-accept')
-rw-r--r--dev-ruby/http-accept/http-accept-1.7.0-r1.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-ruby/http-accept/http-accept-1.7.0-r1.ebuild b/dev-ruby/http-accept/http-accept-1.7.0-r1.ebuild
new file mode 100644
index 000000000000..9943889c519f
--- /dev/null
+++ b/dev-ruby/http-accept/http-accept-1.7.0-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="http-accept.gemspec"
+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="1"
+KEYWORDS="~amd64 ~arm64"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -e 's/git ls-files -z/find * -print0/' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}