summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-10-27 07:47:17 +0100
committerHans de Graaff <graaff@gentoo.org>2024-10-27 07:56:31 +0100
commitaa7c54c2ae3eb16ea7aea6ddb4d5ac4136340c70 (patch)
tree236216ce14e3ad9d728c42af01eb63970e8cc9f8 /dev-ruby
parentdev-python/python-tests: Stabilize 3.12.7_p1 arm64, #942281 (diff)
downloadgentoo-aa7c54c2ae3eb16ea7aea6ddb4d5ac4136340c70.tar.gz
gentoo-aa7c54c2ae3eb16ea7aea6ddb4d5ac4136340c70.tar.bz2
gentoo-aa7c54c2ae3eb16ea7aea6ddb4d5ac4136340c70.zip
dev-ruby/pkg-config: add 1.5.7
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/pkg-config/Manifest1
-rw-r--r--dev-ruby/pkg-config/pkg-config-1.5.7.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/pkg-config/Manifest b/dev-ruby/pkg-config/Manifest
index d1098afbe733..0d03a95a1423 100644
--- a/dev-ruby/pkg-config/Manifest
+++ b/dev-ruby/pkg-config/Manifest
@@ -1,3 +1,4 @@
DIST pkg-config-1.5.2.gem 23040 BLAKE2B 32670e823980888b3cc679afa61cb71092b559ad12ab0cd4485ccc191353426af23f0007fd844cc8a71ad7c4c1c190587eb7643f19f68623ecad182270606141 SHA512 f4aa101ff6bbfce5bf23b6c83f61e186424c097f889e51fe337d158753fc8af26ee918bb509653ea70487a7d92a24b66cc96c1c0ea4bed2cfab5cd9380317679
DIST pkg-config-1.5.5.gem 23040 BLAKE2B c23e7904d9a9630d684bbfb0ac85893d5539c3eff7f5a12ca8703095ec076415ff938c9e0d74e873a5a31581c3f28a60bfd65df1466bae2a109259748a921b69 SHA512 d796999a6a1745ddbd9b816d8d7ba714097538803f85864b41745c48730a6fa27ced405837500e6d35edc9dad432e86da0d8e788fd18e8b9d507fa0ac0fb7b81
DIST pkg-config-1.5.6.gem 23040 BLAKE2B dad69e21b43fd8b97ea0f01973b89bf5182664b4170fcff7aacb40db045da313579920750450e1b2fa90a955d4c9a64b8eb9bb5618d2728db1114f4e9e173354 SHA512 cff5b2e3ed19ea6f8ea554990ba51a6313a663a258d9962c951ae75016fd181bc35593a871086c7f1fa4347e3f15949ad1621ea8fa86ca0d330db19c84a80ee4
+DIST pkg-config-1.5.7.gem 23552 BLAKE2B 884d0992bbb1b76bdab8f1df2364d2d5dce5aab87e686e7a529110d77a9459cd4d785b352fa2067e62ea76418738ec02d1186c205c57054f2c27b93a1145f7ec SHA512 578e38cf6eff03125c5e8f7f53b68782ffb6ede00aae989ddde3cb890caf24093b509fb58113233f7fa54befaf31786d29dd386d912d39d9b55dc9f143319a32
diff --git a/dev-ruby/pkg-config/pkg-config-1.5.7.ebuild b/dev-ruby/pkg-config/pkg-config-1.5.7.ebuild
new file mode 100644
index 000000000000..a839c68a6885
--- /dev/null
+++ b/dev-ruby/pkg-config/pkg-config-1.5.7.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_EXTRADOC="README.rdoc NEWS.md"
+
+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 )"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+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
+}