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, 13 Aug 2019 05:44:11
Message-Id: 1565674936.cdb38645a3e143fcd8e9f7ba80e396484fd89f27.graaff@gentoo
1 commit: cdb38645a3e143fcd8e9f7ba80e396484fd89f27
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 13 05:42:16 2019 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 13 05:42:16 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdb38645
7
8 dev-ruby/pkg-config: add 1.3.8
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.16
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.3.8.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 bd2499306b1..00c14c0a3d6 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.2.8.gem 20480 BLAKE2B cc11b5eff30f0f5e1a91e64902931ed540da108fd326fe731b71527c9c4310f55e9002617e1baae4f71a4b705b20cf10f6fa112f8ef56971e82868145d372a47 SHA512 d83a599a48c7d404946054c6846b6cfd9fce2a264c288519a6eccd9787f05d45397dd46300bf97c80700921456318154ea6d44ba32cd159803471073c2a2b065
23 DIST pkg-config-1.3.7.gem 20992 BLAKE2B 4927cbe744b88e11ece71e554b07092d671a1b0775aa0c647abab6718c1903b888d98aa97ce5eae89033c13a542e45880b28fc886225c226d6e525c0004ec05f SHA512 cceef2b8f0b92582256660f50be21b446e6ef8ca9edd3c7736d2dbcbf2bf8ab60a1ef8f2fed21448d01ab155fd92fe9a3e8cf1f8bda4f80a8e0a8896f1eedd60
24 +DIST pkg-config-1.3.8.gem 21504 BLAKE2B 6959487c26b562978e00c4f6b7362c84f78f83e3ad2821b27a23feb76d1bc948832d898b81cd1347a3dec0d04bce0abf427df96420280ec721ded45619339361 SHA512 893b8804abbc295bb678e539a22c23f4bac571b5d29cdeb825f0ed2b6be1efa7f50403b97718b38034bc3d1e5bc709d9fa6e26894fb90fe0d6789b8bcc4f19ee
25
26 diff --git a/dev-ruby/pkg-config/pkg-config-1.3.8.ebuild b/dev-ruby/pkg-config/pkg-config-1.3.8.ebuild
27 new file mode 100644
28 index 00000000000..a8f0cfce739
29 --- /dev/null
30 +++ b/dev-ruby/pkg-config/pkg-config-1.3.8.ebuild
31 @@ -0,0 +1,31 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +USE_RUBY="ruby24 ruby25 ruby26"
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 ~ia64 ~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 +}