summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-04-26 06:53:54 +0200
committerHans de Graaff <graaff@gentoo.org>2017-04-26 06:53:54 +0200
commit0a7ed74a1c389c99853bbec11c64549f72f05d32 (patch)
treeca7643871e9f0d69ad1a8c6f1257abbfb24f0507 /dev-ruby/pkg-config
parentdev-ruby/rest-client: cleanup (diff)
downloadgentoo-0a7ed74a1c389c99853bbec11c64549f72f05d32.tar.gz
gentoo-0a7ed74a1c389c99853bbec11c64549f72f05d32.tar.bz2
gentoo-0a7ed74a1c389c99853bbec11c64549f72f05d32.zip
dev-ruby/pkg-config: add 1.2.0
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/pkg-config')
-rw-r--r--dev-ruby/pkg-config/Manifest1
-rw-r--r--dev-ruby/pkg-config/pkg-config-1.2.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/pkg-config/Manifest b/dev-ruby/pkg-config/Manifest
index c62f42bbf178..2df9ac8e47c9 100644
--- a/dev-ruby/pkg-config/Manifest
+++ b/dev-ruby/pkg-config/Manifest
@@ -1,2 +1,3 @@
DIST pkg-config-1.1.7.gem 19456 SHA256 1f3cd171432f4634805ebf7cd187d1d728d732bfead3837c349f2c502d8e9252 SHA512 9f515874d3edabdfff5f4c8d624bbc91e9c5032e79c241412cd073f0a049e35a2e2a660d5503eaae9640286d74cb98510bbbb34f757c702e220f728fba1c2337 WHIRLPOOL b1eea580d1db95bd651004752f913c7ce5f821ebaa0a1742609bd2e07738c2d125b36f6d5a03dd8b6c34b126246163ee1bd59ef19143df8a0b2f01bb7b260f9b
DIST pkg-config-1.1.9.gem 19456 SHA256 7a0e8b9b99bb6bd1c816d19d3507bffe68116bc2ed387d4233f0b079c4d6e4c5 SHA512 0b337ffbf8a18a4dcde24b96a343e7599aed3cde2bec0fb74cc96b7377492f4df4893ba595f191739ed88b4876b66d9dcc2f59296bb58adcf871a82f8e4b8862 WHIRLPOOL 1b95e7d1a7e747890ef1da12adf71322738b914b0ca8fc27147461b6c3aa8166000c987af046522f2470aa1de1ff71f0f3a75a0b65f4ab20b8010e3baa96f734
+DIST pkg-config-1.2.0.gem 19968 SHA256 8fa0d9870bcefc13fe1526f80567b21eadd35989330e553b54a48c699b70743a SHA512 b4bd1b7be6cabc4413ada62c78d8434ab77e27e7a5fcf671f623907a95b7f33cd8d331013cc73b5e8f7dfe24eef738ca047ed229c286aa392c8070892ccb3c20 WHIRLPOOL 440edd604e243640edda3b35b1daf5a5d77139e71d5a2a16f012d272644e9addfca0b23e9e5778ed812fbcfd1c6a1d12682d13418a6a704ceea8884de114e656
diff --git a/dev-ruby/pkg-config/pkg-config-1.2.0.ebuild b/dev-ruby/pkg-config/pkg-config-1.2.0.ebuild
new file mode 100644
index 000000000000..b6263153de87
--- /dev/null
+++ b/dev-ruby/pkg-config/pkg-config-1.2.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+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 ~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
+}