diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-05-29 06:27:19 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-05-29 06:30:50 +0200 |
commit | 579c1a5f7b1c17a99f3f23d2e2fced8908ccf4f4 (patch) | |
tree | d930a7490909bfba6a6db1e2a676e1f07e66b18e /dev-ruby/pkg-config | |
parent | dev-ruby/nio4r: add 2.1.0 (diff) | |
download | gentoo-579c1a5f7b1c17a99f3f23d2e2fced8908ccf4f4.tar.gz gentoo-579c1a5f7b1c17a99f3f23d2e2fced8908ccf4f4.tar.bz2 gentoo-579c1a5f7b1c17a99f3f23d2e2fced8908ccf4f4.zip |
dev-ruby/pkg-config: add 1.2.2
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/pkg-config')
-rw-r--r-- | dev-ruby/pkg-config/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/pkg-config/pkg-config-1.2.2.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/pkg-config/Manifest b/dev-ruby/pkg-config/Manifest index 2df9ac8e47c9..843d1e690591 100644 --- a/dev-ruby/pkg-config/Manifest +++ b/dev-ruby/pkg-config/Manifest @@ -1,3 +1,4 @@ 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 +DIST pkg-config-1.2.2.gem 19968 SHA256 7b76a116979fc5e721cc875c474480395acf07bc2abf4db16378f9a717e29ed2 SHA512 f7cd5cb67a813c0e5f736502027b29a59b86a62bbf845834e5fb66e36132ed7b8019ed2819f6a0ab4f6ed4931a1fa37a78b25871c88e60cf2a379586d3e17e36 WHIRLPOOL dfa3ad96977023dc7cbf521ec7de243f604b52f8f67c1b41d39e2ea3f5c8840089b628c512ebd796b8442c4c5d12c5f9a466c13c2dc02ec4d2234ce4527c3c2b diff --git a/dev-ruby/pkg-config/pkg-config-1.2.2.ebuild b/dev-ruby/pkg-config/pkg-config-1.2.2.ebuild new file mode 100644 index 000000000000..b6263153de87 --- /dev/null +++ b/dev-ruby/pkg-config/pkg-config-1.2.2.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 +} |