summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-04-21 06:20:32 +0200
committerHans de Graaff <graaff@gentoo.org>2017-04-21 06:20:32 +0200
commit7d7d772519310fe68f9685cfb5e3ce9bc1093c0d (patch)
tree4b0f3410c4de123248a28e909f67e219f7105e1b /dev-ruby/pkg-config
parentdev-games/openscenegraph: Update homepage (diff)
downloadgentoo-7d7d772519310fe68f9685cfb5e3ce9bc1093c0d.tar.gz
gentoo-7d7d772519310fe68f9685cfb5e3ce9bc1093c0d.tar.bz2
gentoo-7d7d772519310fe68f9685cfb5e3ce9bc1093c0d.zip
dev-ruby/pkg-config: add 1.1.9
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.1.9.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/pkg-config/Manifest b/dev-ruby/pkg-config/Manifest
index 6f0d1052564..c62f42bbf17 100644
--- a/dev-ruby/pkg-config/Manifest
+++ b/dev-ruby/pkg-config/Manifest
@@ -1 +1,2 @@
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
diff --git a/dev-ruby/pkg-config/pkg-config-1.1.9.ebuild b/dev-ruby/pkg-config/pkg-config-1.1.9.ebuild
new file mode 100644
index 00000000000..b6263153de8
--- /dev/null
+++ b/dev-ruby/pkg-config/pkg-config-1.1.9.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
+}