diff options
Diffstat (limited to 'dev-ruby/http-parser')
| -rw-r--r-- | dev-ruby/http-parser/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/http-parser/http-parser-1.2.3-r1.ebuild | 34 | ||||
| -rw-r--r-- | dev-ruby/http-parser/metadata.xml | 9 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/http-parser/Manifest b/dev-ruby/http-parser/Manifest new file mode 100644 index 000000000000..6a1da6e8cd85 --- /dev/null +++ b/dev-ruby/http-parser/Manifest @@ -0,0 +1 @@ +DIST http-parser-1.2.3.gem 31232 BLAKE2B 055ab9ccb42bb85f87b65eeaa59f645ec390f0751eb379b22b1a2c83920ef1c482a3bed8f5105843c341fe92ba0c8d44272688b929bca13c690945f7e37b282f SHA512 03c34c3e8174d9010440483af34800b74a7bbddd5daa63607e6aa2254d9c91cf36d90854ea65827b32680432de278aeeb7b8878f788f124c150f163409fa5107 diff --git a/dev-ruby/http-parser/http-parser-1.2.3-r1.ebuild b/dev-ruby/http-parser/http-parser-1.2.3-r1.ebuild new file mode 100644 index 000000000000..f4194316edd9 --- /dev/null +++ b/dev-ruby/http-parser/http-parser-1.2.3-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34 ruby40" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A super fast http parser for ruby" +HOMEPAGE="https://github.com/cotag/http-parser" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +DEPEND+=" >=net-libs/http-parser-2.8.1" +RDEPEND+=" >=net-libs/http-parser-2.8.1" + +ruby_add_bdepend "dev-ruby/ffi-compiler dev-ruby/rake" + +each_ruby_compile() { + ${RUBY} -C ext -S rake || die + mv ext/*/libhttp-parser-ext.so lib/http-parser/ || die +} + +each_ruby_install() { + each_fakegem_install + ruby_fakegem_extensions_installed +} diff --git a/dev-ruby/http-parser/metadata.xml b/dev-ruby/http-parser/metadata.xml new file mode 100644 index 000000000000..c685ebad7e3a --- /dev/null +++ b/dev-ruby/http-parser/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
