summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-11-20 08:16:06 +0100
committerHans de Graaff <graaff@gentoo.org>2023-11-20 08:16:06 +0100
commit431587a598e3c18b53081b395d0bb31b8eee8fab (patch)
treead871a5fedda01149e1b6c202d025401e5edd23c /dev-ruby/pkg-config
parentdev-ruby/sshkit: add 1.21.6 (diff)
downloadgentoo-431587a598e3c18b53081b395d0bb31b8eee8fab.tar.gz
gentoo-431587a598e3c18b53081b395d0bb31b8eee8fab.tar.bz2
gentoo-431587a598e3c18b53081b395d0bb31b8eee8fab.zip
dev-ruby/pkg-config: add 1.5.6
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
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.5.6.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/pkg-config/Manifest b/dev-ruby/pkg-config/Manifest
index 3984a20141b1..219889eb3835 100644
--- a/dev-ruby/pkg-config/Manifest
+++ b/dev-ruby/pkg-config/Manifest
@@ -2,3 +2,4 @@ DIST pkg-config-1.5.1.gem 23040 BLAKE2B c814cabb2a57f9a40cd5b8112f0103a9aa7a4aeb
DIST pkg-config-1.5.2.gem 23040 BLAKE2B 32670e823980888b3cc679afa61cb71092b559ad12ab0cd4485ccc191353426af23f0007fd844cc8a71ad7c4c1c190587eb7643f19f68623ecad182270606141 SHA512 f4aa101ff6bbfce5bf23b6c83f61e186424c097f889e51fe337d158753fc8af26ee918bb509653ea70487a7d92a24b66cc96c1c0ea4bed2cfab5cd9380317679
DIST pkg-config-1.5.3.gem 23040 BLAKE2B bd629261c226c7d4f108a73e53fbc5b2c1d1828d52836c1873bcc5a7c7776109b4cdc67568667cb4b0e1666432fbcaf20b4e02b41958a562de5a79c854aa22ec SHA512 06b29f5db397090c37a38f2f9b9d7cd6a1f0d11ea0d76c817f7a377f8e02d056863ebbcd04642f6d561b37b7ade5a226b68af16993e013d13e7830ffa902397d
DIST pkg-config-1.5.5.gem 23040 BLAKE2B c23e7904d9a9630d684bbfb0ac85893d5539c3eff7f5a12ca8703095ec076415ff938c9e0d74e873a5a31581c3f28a60bfd65df1466bae2a109259748a921b69 SHA512 d796999a6a1745ddbd9b816d8d7ba714097538803f85864b41745c48730a6fa27ced405837500e6d35edc9dad432e86da0d8e788fd18e8b9d507fa0ac0fb7b81
+DIST pkg-config-1.5.6.gem 23040 BLAKE2B dad69e21b43fd8b97ea0f01973b89bf5182664b4170fcff7aacb40db045da313579920750450e1b2fa90a955d4c9a64b8eb9bb5618d2728db1114f4e9e173354 SHA512 cff5b2e3ed19ea6f8ea554990ba51a6313a663a258d9962c951ae75016fd181bc35593a871086c7f1fa4347e3f15949ad1621ea8fa86ca0d330db19c84a80ee4
diff --git a/dev-ruby/pkg-config/pkg-config-1.5.6.ebuild b/dev-ruby/pkg-config/pkg-config-1.5.6.ebuild
new file mode 100644
index 000000000000..846afc769643
--- /dev/null
+++ b/dev-ruby/pkg-config/pkg-config-1.5.6.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="README.rdoc NEWS"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A pkg-config implementation by Ruby"
+HOMEPAGE="https://github.com/ruby-gnome/pkg-config"
+LICENSE="|| ( LGPL-2 LGPL-2.1 LGPL-3 )"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~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() {
+ sed -e '/test_cflags/aomit "Fragile on Gentoo"' -i test/test-pkg-config.rb || die
+}
+
+each_ruby_test() {
+ ruby-ng_testrb-2 -Ilib test/test-pkg-config.rb || die
+}