Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/http-parser/
Date: Fri, 25 Dec 2020 07:13:08
Message-Id: 1608880376.0edb73a350e33ef234f8fa4bbabe9b9b8176ac60.graaff@gentoo
1 commit: 0edb73a350e33ef234f8fa4bbabe9b9b8176ac60
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 25 06:22:43 2020 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 25 07:12:56 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0edb73a3
7
8 dev-ruby/http-parser: initial import of 1.2.2
9
10 New dependency for dev-ruby/http.
11
12 Package-Manager: Portage-3.0.9, Repoman-3.0.2
13 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
14
15 dev-ruby/http-parser/Manifest | 1 +
16 dev-ruby/http-parser/http-parser-1.2.2.ebuild | 29 +++++++++++++++++++++++++++
17 dev-ruby/http-parser/metadata.xml | 11 ++++++++++
18 3 files changed, 41 insertions(+)
19
20 diff --git a/dev-ruby/http-parser/Manifest b/dev-ruby/http-parser/Manifest
21 new file mode 100644
22 index 00000000000..90d32e89697
23 --- /dev/null
24 +++ b/dev-ruby/http-parser/Manifest
25 @@ -0,0 +1 @@
26 +DIST http-parser-1.2.2.gem 32256 BLAKE2B bc1600497db7c0ae9ee9311a6eae6494090b190b49d37809671d0c2fbb3b56ab4709dd16b68c7bfe8fc75609fc6f01d31c21c92681b9adbb4c83e521991d9172 SHA512 cffc1561657b7cb50c446e54da20176870ffe5f1acfe5e9fadfeacbea421fcc89243dd8f4a04d7933e19c155662fcd47db950c3743968d7981c52aa6c0a43ab5
27
28 diff --git a/dev-ruby/http-parser/http-parser-1.2.2.ebuild b/dev-ruby/http-parser/http-parser-1.2.2.ebuild
29 new file mode 100644
30 index 00000000000..796554e1831
31 --- /dev/null
32 +++ b/dev-ruby/http-parser/http-parser-1.2.2.ebuild
33 @@ -0,0 +1,29 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +USE_RUBY="ruby24 ruby25 ruby26 ruby27"
39 +
40 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
41 +
42 +RUBY_FAKEGEM_EXTRADOC="README.md"
43 +
44 +inherit ruby-fakegem
45 +
46 +DESCRIPTION="A super fast http parser for ruby"
47 +HOMEPAGE="https://github.com/cotag/http-parser"
48 +
49 +LICENSE="MIT"
50 +SLOT="$(ver_cut 1)"
51 +KEYWORDS="~amd64"
52 +IUSE=""
53 +
54 +DEPEND+=" >=net-libs/http-parser-2.8.1"
55 +RDEPEND+=" >=net-libs/http-parser-2.8.1"
56 +
57 +ruby_add_bdepend "dev-ruby/ffi-compiler"
58 +
59 +each_ruby_compile() {
60 + ${RUBY} -C ext -S rake || die
61 + mv ext/x86_64-linux/libhttp-parser-ext.so lib/http-parser/ || die
62 +}
63
64 diff --git a/dev-ruby/http-parser/metadata.xml b/dev-ruby/http-parser/metadata.xml
65 new file mode 100644
66 index 00000000000..6934c42f882
67 --- /dev/null
68 +++ b/dev-ruby/http-parser/metadata.xml
69 @@ -0,0 +1,11 @@
70 +<?xml version="1.0" encoding="UTF-8"?>
71 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
72 +<pkgmetadata>
73 + <maintainer type="project">
74 + <email>ruby@g.o</email>
75 + <name>Gentoo Ruby Project</name>
76 + </maintainer>
77 + <upstream>
78 + <remote-id type="github">cotag/http-parser</remote-id>
79 + </upstream>
80 +</pkgmetadata>