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/brotli/
Date: Sun, 07 Feb 2021 09:14:59
Message-Id: 1612689289.dafd743705bcd12710cc6a05ddac21940c7148a4.graaff@gentoo
1 commit: dafd743705bcd12710cc6a05ddac21940c7148a4
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 7 08:35:31 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 7 09:14:49 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dafd7437
7
8 dev-ruby/brotli: fix extension install
9
10 Package-Manager: Portage-3.0.13, Repoman-3.0.2
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/brotli/brotli-0.4.0-r1.ebuild | 38 ++++++++++++++++++++++++++++++++++
14 1 file changed, 38 insertions(+)
15
16 diff --git a/dev-ruby/brotli/brotli-0.4.0-r1.ebuild b/dev-ruby/brotli/brotli-0.4.0-r1.ebuild
17 new file mode 100644
18 index 00000000000..a871349f521
19 --- /dev/null
20 +++ b/dev-ruby/brotli/brotli-0.4.0-r1.ebuild
21 @@ -0,0 +1,38 @@
22 +# Copyright 1999-2021 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +USE_RUBY="ruby25 ruby26 ruby27"
27 +
28 +RUBY_FAKEGEM_EXTRADOC="README.md"
29 +
30 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
31 +
32 +RUBY_FAKEGEM_BINWRAP=""
33 +
34 +RUBY_FAKEGEM_GEMSPEC="brotli.gemspec"
35 +
36 +RUBY_FAKEGEM_EXTENSIONS=(ext/brotli/extconf.rb)
37 +
38 +inherit ruby-fakegem
39 +
40 +DESCRIPTION="Brotli compressor/decompressor"
41 +HOMEPAGE="https://github.com/miyucy/brotli"
42 +SRC_URI="https://github.com/miyucy/brotli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="MIT"
45 +SLOT="$(ver_cut 1)"
46 +KEYWORDS="~amd64"
47 +IUSE=""
48 +
49 +RDEPEND+=" >=app-arch/brotli-1.0.7"
50 +DEPEND+=" >=app-arch/brotli-1.0.7"
51 +
52 +# Depends on the test data in app-arch/brotli
53 +RESTRICT="test"
54 +
55 +all_ruby_prepare() {
56 + sed -e 's/git ls-files -z -- spec/find spec -print0/' \
57 + -e 's/git ls-files -z/find . -print0/' \
58 + -i ${RUBY_FAKEGEM_GEMSPEC} || die
59 +}