summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-06-02 06:27:55 +0200
committerHans de Graaff <graaff@gentoo.org>2017-06-02 06:27:55 +0200
commit78792a41df293bfabb7f50508d14ed8a44eb8742 (patch)
treec14faeee11483ddda6cb64c22def94386336262c /dev-ruby/pkg-config
parentdev-python/ddt: Version bump to 1.1.1, enable tests (diff)
downloadgentoo-78792a41df293bfabb7f50508d14ed8a44eb8742.tar.gz
gentoo-78792a41df293bfabb7f50508d14ed8a44eb8742.tar.bz2
gentoo-78792a41df293bfabb7f50508d14ed8a44eb8742.zip
dev-ruby/pkg-config: add 1.2.3
Package-Manager: Portage-2.3.5, 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.3.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/pkg-config/Manifest b/dev-ruby/pkg-config/Manifest
index 843d1e690591..d21f27a09322 100644
--- a/dev-ruby/pkg-config/Manifest
+++ b/dev-ruby/pkg-config/Manifest
@@ -2,3 +2,4 @@ DIST pkg-config-1.1.7.gem 19456 SHA256 1f3cd171432f4634805ebf7cd187d1d728d732bfe
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
DIST pkg-config-1.2.2.gem 19968 SHA256 7b76a116979fc5e721cc875c474480395acf07bc2abf4db16378f9a717e29ed2 SHA512 f7cd5cb67a813c0e5f736502027b29a59b86a62bbf845834e5fb66e36132ed7b8019ed2819f6a0ab4f6ed4931a1fa37a78b25871c88e60cf2a379586d3e17e36 WHIRLPOOL dfa3ad96977023dc7cbf521ec7de243f604b52f8f67c1b41d39e2ea3f5c8840089b628c512ebd796b8442c4c5d12c5f9a466c13c2dc02ec4d2234ce4527c3c2b
+DIST pkg-config-1.2.3.gem 19968 SHA256 bc193fda2ceb83cd0eeca87e1c9eba8e142dcd785699205246e28b1a7f14a84a SHA512 1e0ec12cdb9647d9d5b29c48940f15dcf27e346a18b9f33922a5b8e0a57957206981cf5c7dd70da36fdb2a32bbe8e3ac38737f66abc5f5afa8b4dabf52a696fd WHIRLPOOL 7a2220cbdfddc3b93ca7f47ae4c9cd026ca6088a3dd5ee3c16bb2fd09644465d18e0def8d2e3d00e92f7f9f83aecfbfaf424c25047a2b71cedc2bc23b288a320
diff --git a/dev-ruby/pkg-config/pkg-config-1.2.3.ebuild b/dev-ruby/pkg-config/pkg-config-1.2.3.ebuild
new file mode 100644
index 000000000000..b6263153de87
--- /dev/null
+++ b/dev-ruby/pkg-config/pkg-config-1.2.3.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
+}