From aba59edc078932379473d5694d825abcb885b686 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sat, 23 May 2020 09:43:15 +0200 Subject: [PATCH] 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 --- dev-ruby/brotli/Manifest | 1 + dev-ruby/brotli/brotli-0.2.3.ebuild | 39 +++++++++++++++++++++++++++++ dev-ruby/brotli/metadata.xml | 11 ++++++++ 3 files changed, 51 insertions(+) create mode 100644 dev-ruby/brotli/Manifest create mode 100644 dev-ruby/brotli/brotli-0.2.3.ebuild create mode 100644 dev-ruby/brotli/metadata.xml 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 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + miyucy/brotli + + -- 2.26.2