summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-10-29 06:34:46 +0100
committerHans de Graaff <graaff@gentoo.org>2017-10-29 06:34:46 +0100
commitd0695ab767dcc21cec03de95ee07860da3bf65fc (patch)
tree3dcd7f48bc9c9e911aa81dd6850887c2ec8974af /dev-ruby/pkg-config
parentsys-apps/dbus-broker: bump to 7 (diff)
downloadgentoo-d0695ab767dcc21cec03de95ee07860da3bf65fc.tar.gz
gentoo-d0695ab767dcc21cec03de95ee07860da3bf65fc.tar.bz2
gentoo-d0695ab767dcc21cec03de95ee07860da3bf65fc.zip
dev-ruby/pkg-config: add 1.2.8
Package-Manager: Portage-2.3.8, Repoman-2.3.3
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.8.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/pkg-config/Manifest b/dev-ruby/pkg-config/Manifest
index edf9787d1ef2..746735b86b38 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.2.3.gem 19968 SHA256 bc193fda2ceb83cd0eeca87e1c9eba8e142dcd785699205246e28b1a7f14a84a SHA512 1e0ec12cdb9647d9d5b29c48940f15dcf27e346a18b9f33922a5b8e0a57957206981cf5c7dd70da36fdb2a32bbe8e3ac38737f66abc5f5afa8b4dabf52a696fd WHIRLPOOL 7a2220cbdfddc3b93ca7f47ae4c9cd026ca6088a3dd5ee3c16bb2fd09644465d18e0def8d2e3d00e92f7f9f83aecfbfaf424c25047a2b71cedc2bc23b288a320
DIST pkg-config-1.2.4.gem 19968 SHA256 cf3f95210991dd3e4c54b5e41ac7b7dfaeddb5a0564e437b63a7516c01e75802 SHA512 74abccc5b067d4b98bc1aa20eaf990f1e31f8ab9251f8081440dd2b11e9d14ffe82ccff92d0858386e11fe3ff4f8927da7ca17d382946e4b0c3dbd7a45ffae24 WHIRLPOOL afe3a26ec7579ccee57b5c1ed39505b90232bafee34d5456828f9b2c9a353c7ec85cca535a20c9f247658f612ff3aa7bc222ae7be1c23ef5bd7f997901cea2bc
DIST pkg-config-1.2.7.gem 20480 SHA256 fc8ab6f3200cddfeacb8a29168daa38d8f76c0e09af91a00a3d423bc472d70af SHA512 88a0d0c616e4c00dcdc25980c532476eb9c9ff17e9f8a015c414cf2f536c558bc10656e2a56dbe01f34c016e86fc92959f2231a07e03b541c32c79ab36423760 WHIRLPOOL 9a93af606ba0fe167b2dabd8e0cff8b055412146175ddfbb28a20de44da222c7603a1178f8bbc617f8495f5f8d9341925222c2b3d6b037972b3e267f94420cfe
+DIST pkg-config-1.2.8.gem 20480 SHA256 9aff7ab9d6aea2218dba94791a1b3ba6f149fa57dc9c81634e54f0c59959d814 SHA512 d83a599a48c7d404946054c6846b6cfd9fce2a264c288519a6eccd9787f05d45397dd46300bf97c80700921456318154ea6d44ba32cd159803471073c2a2b065 WHIRLPOOL c924956bd3a8acc9d24d877e6803be0d8ae73a0dc578f5c1089c98c9bbe7ffa290329c5870ba5b2afc0f37b92a30feef2d4758ac3e3d8ac92f5eb5aa4ea80190
diff --git a/dev-ruby/pkg-config/pkg-config-1.2.8.ebuild b/dev-ruby/pkg-config/pkg-config-1.2.8.ebuild
new file mode 100644
index 000000000000..18f63ebf02e9
--- /dev/null
+++ b/dev-ruby/pkg-config/pkg-config-1.2.8.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="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 ~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
+}