From d3040977198be9b763b70cf67b985d8a794d011e Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sat, 6 Apr 2019 08:03:13 +0200 Subject: dev-ruby/pkg-config: add 1.3.7 Signed-off-by: Hans de Graaff Package-Manager: Portage-2.3.62, Repoman-2.3.11 --- dev-ruby/pkg-config/Manifest | 1 + dev-ruby/pkg-config/pkg-config-1.3.7.ebuild | 33 +++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 dev-ruby/pkg-config/pkg-config-1.3.7.ebuild (limited to 'dev-ruby/pkg-config') diff --git a/dev-ruby/pkg-config/Manifest b/dev-ruby/pkg-config/Manifest index 95cbcf7423f6..28bbb6b93a67 100644 --- a/dev-ruby/pkg-config/Manifest +++ b/dev-ruby/pkg-config/Manifest @@ -2,3 +2,4 @@ DIST pkg-config-1.2.8.gem 20480 BLAKE2B cc11b5eff30f0f5e1a91e64902931ed540da108f DIST pkg-config-1.3.4.gem 20992 BLAKE2B 3e9ab485f4b375abfc7e90287a11f8c8a65afcad1f296c35db9bd7206064d45961078e5664381b5250716da6f9ceb2ca1433e360f8bf9bc26f569a132df8e7f4 SHA512 c0caf3f0254e2dd64cd258ca7936a26c7c1525922f0e214b67ee09f9b54455077a2dfe23251a5e985685975a6b4597d0dcd4cd3ad19a80866028450fb4bfcbdf DIST pkg-config-1.3.5.gem 20992 BLAKE2B 4b2285f976c2652e1dcc7e5f9454b9e00d489ccb620e89346638014453c1936b516652cf2353375c5611481c7558820f3062a3585b69e242e2e77e51bb7f2594 SHA512 d659d43b0a787961cfb550344311083c7177d2d5b6066c0d0af3ee8edce245235c2b459ac002f645d8be62850a8a2ecda7247e527f7be14fbaa5e71993e7a1b5 DIST pkg-config-1.3.6.gem 20992 BLAKE2B dbca483bb35b7b52d6df92f366e7b75e503378248a9b9d5fc78b42d04ccbd89955bc9f50d86d3948154292bda825a26b9e47b3b26510656492e5302ecc084e01 SHA512 c0e44101c52d32113992a1952528faa70e000cf94318d5a29eb52856dc7be670749d2f59bb3601907e4fc136a47eccaf5fc2a713346ca769112e3917bb5402e3 +DIST pkg-config-1.3.7.gem 20992 BLAKE2B 4927cbe744b88e11ece71e554b07092d671a1b0775aa0c647abab6718c1903b888d98aa97ce5eae89033c13a542e45880b28fc886225c226d6e525c0004ec05f SHA512 cceef2b8f0b92582256660f50be21b446e6ef8ca9edd3c7736d2dbcbf2bf8ab60a1ef8f2fed21448d01ab155fd92fe9a3e8cf1f8bda4f80a8e0a8896f1eedd60 diff --git a/dev-ruby/pkg-config/pkg-config-1.3.7.ebuild b/dev-ruby/pkg-config/pkg-config-1.3.7.ebuild new file mode 100644 index 000000000000..600fa391e78f --- /dev/null +++ b/dev-ruby/pkg-config/pkg-config-1.3.7.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc NEWS" + +RUBY_FAKEGEM_TASK_DOC="" + +inherit ruby-fakegem + +DESCRIPTION="A pkg-config implementation by Ruby" +HOMEPAGE="https://github.com/rcairo/pkg-config" +LICENSE="|| ( LGPL-2 LGPL-2.1 LGPL-3 )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +SLOT="0" +IUSE="test" + +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" +# this is used for testing +DEPEND+=" test? ( x11-libs/cairo )" + +all_ruby_prepare() { + # drop failing tests + sed -i -e "/test_cflags/,/end/d"\ + -e "/test_cflags_only_I/,/end/d" test/test_pkg_config.rb || die +} + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib test/test_${PN/-/_}.rb || die +} -- cgit v1.2.3-65-gdbad