diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-05-23 09:43:15 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-05-23 10:02:54 +0200 |
commit | aba59edc078932379473d5694d825abcb885b686 (patch) | |
tree | 1c255fc7ef9a5f2f80ecf665c6851e70d7f8bae1 /dev-ruby/brotli | |
parent | dev-ruby/rantly: initial import of 2.0.0 (diff) | |
download | gentoo-aba59edc078932379473d5694d825abcb885b686.tar.gz gentoo-aba59edc078932379473d5694d825abcb885b686.tar.bz2 gentoo-aba59edc078932379473d5694d825abcb885b686.zip |
dev-ruby/brotli: add 0.2.3
New dependency for dev-ruby/faraday_middleware
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/brotli')
-rw-r--r-- | dev-ruby/brotli/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/brotli/brotli-0.2.3.ebuild | 39 | ||||
-rw-r--r-- | dev-ruby/brotli/metadata.xml | 11 |
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-ruby/brotli/Manifest b/dev-ruby/brotli/Manifest new file mode 100644 index 000000000000..98e45ea64d1c --- /dev/null +++ b/dev-ruby/brotli/Manifest @@ -0,0 +1 @@ +DIST brotli-0.2.3.tar.gz 63304 BLAKE2B 96321a480e855ae7e77b93c06fd09153611a8a273ba66a8952093f844f6ccfa908d4bcabfd4dde084813f7f3961e8843208ed71f78e91f924bfe7e2ddece3628 SHA512 7d057d0055836c79744b802bb2401630375cc924035e9a45069c54e5df32711b9aa25234f4743aea729526028b804c518f36112ab721a6761b55311d07a8b79e diff --git a/dev-ruby/brotli/brotli-0.2.3.ebuild b/dev-ruby/brotli/brotli-0.2.3.ebuild new file mode 100644 index 000000000000..fab2f12fe16f --- /dev/null +++ b/dev-ruby/brotli/brotli-0.2.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="brotli.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Brotli compressor/decompressor" +HOMEPAGE="https://github.com/miyucy/brotli" +SRC_URI="https://github.com/miyucy/brotli/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND+=" >=app-arch/brotli-1.0.7" +DEPEND+=" >=app-arch/brotli-1.0.7" + +# Depends on the test data in app-arch/brotli +RESTRICT="test" + +each_ruby_configure() { + ${RUBY} -Cext/brotli extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/brotli + mv ext/brotli/brotli.so lib/brotli/ || die +} diff --git a/dev-ruby/brotli/metadata.xml b/dev-ruby/brotli/metadata.xml new file mode 100644 index 000000000000..eb5be24aa567 --- /dev/null +++ b/dev-ruby/brotli/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">miyucy/brotli</remote-id> + </upstream> +</pkgmetadata> |