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/pkg-config/
Date: Tue, 15 Sep 2020 05:09:34
Message-Id: 1600146487.582ac2400fc89d9d62557a795702f158fb761ffa.graaff@gentoo
1 commit: 582ac2400fc89d9d62557a795702f158fb761ffa
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 15 05:08:07 2020 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 15 05:08:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=582ac240
7
8 dev-ruby/pkg-config: add 1.4.3
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/pkg-config/Manifest | 1 +
14 dev-ruby/pkg-config/pkg-config-1.4.3.ebuild | 31 +++++++++++++++++++++++++++++
15 2 files changed, 32 insertions(+)
16
17 diff --git a/dev-ruby/pkg-config/Manifest b/dev-ruby/pkg-config/Manifest
18 index 04310289230..367d77bde43 100644
19 --- a/dev-ruby/pkg-config/Manifest
20 +++ b/dev-ruby/pkg-config/Manifest
21 @@ -1,2 +1,3 @@
22 DIST pkg-config-1.4.1.gem 22016 BLAKE2B efac610221b288bb669a3783c0e70af3951478147896315c53af2186912b60045096c0ba01a0a59ce09897a2e4e747d28a091b947281fe7f6dd6f85cea31aae7 SHA512 72d61466c1ea53a5eda66a8e8f8106fef0269fefdd349ac83959a34bb8f36796bd3e9c7fbcbad5763d2fca015c65436f9d410724e27b6d1c495e3957d26757a6
23 DIST pkg-config-1.4.2.gem 22016 BLAKE2B fb8f32c811f856d11653fc0450e5615d83dea07f07f712b4914edfdca1e35f9b2da7d04578c9f28a1562cb0a405e54f6429cfac792ca2f86710d18c30a75be71 SHA512 f727f416860b08e87390c60800333bab7b0d6238fe1f93bc12b92ec67ca75c5c9ad128332a54a0b895dbf49944a50619e3bf40c49efcc7e73811d51714ae3d66
24 +DIST pkg-config-1.4.3.gem 22016 BLAKE2B a23bfee3790a03d4224efe16439b1c43a6174336b567d7c84d429e848035f7c77d96340e677a7f75e3cef415f236cc1d09cc0f75bee5d8769e9490bc2fc5f4c8 SHA512 4952636442d585b555d048666937e568f237789329ed6110475efe149d607f4b1946ce1b616574a91de7e4c17ef9cc5cc3b4bb2867a7dc08344183a41303f42d
25
26 diff --git a/dev-ruby/pkg-config/pkg-config-1.4.3.ebuild b/dev-ruby/pkg-config/pkg-config-1.4.3.ebuild
27 new file mode 100644
28 index 00000000000..2ebdd50bb93
29 --- /dev/null
30 +++ b/dev-ruby/pkg-config/pkg-config-1.4.3.ebuild
31 @@ -0,0 +1,31 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +USE_RUBY="ruby25 ruby26 ruby27"
37 +
38 +RUBY_FAKEGEM_EXTRADOC="README.rdoc NEWS"
39 +
40 +inherit ruby-fakegem
41 +
42 +DESCRIPTION="A pkg-config implementation by Ruby"
43 +HOMEPAGE="https://github.com/rcairo/pkg-config"
44 +LICENSE="|| ( LGPL-2 LGPL-2.1 LGPL-3 )"
45 +
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
47 +SLOT="0"
48 +IUSE="test"
49 +
50 +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )"
51 +# this is used for testing
52 +DEPEND+=" test? ( x11-libs/cairo )"
53 +
54 +all_ruby_prepare() {
55 + # drop failing tests
56 + sed -i -e "/test_cflags/,/end/d"\
57 + -e "/test_cflags_only_I/,/end/d" test/test_pkg_config.rb || die
58 +}
59 +
60 +each_ruby_test() {
61 + ruby-ng_testrb-2 -Ilib test/test_${PN/-/_}.rb || die
62 +}