summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-08-30 07:00:37 +0200
committerHans de Graaff <graaff@gentoo.org>2023-08-30 07:25:30 +0200
commit2dc6711965bbadeeb3c18ca1302d964bb90bf85b (patch)
tree80c945b00239796c8e2265bac0fa00647f56e131 /dev-ruby/pkg-config
parentdev-python/qiskit-aer: keyword 0.12.2 (diff)
downloadgentoo-2dc6711965bbadeeb3c18ca1302d964bb90bf85b.tar.gz
gentoo-2dc6711965bbadeeb3c18ca1302d964bb90bf85b.tar.bz2
gentoo-2dc6711965bbadeeb3c18ca1302d964bb90bf85b.zip
dev-ruby/pkg-config: add 1.5.3
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.3.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/pkg-config/Manifest b/dev-ruby/pkg-config/Manifest
index 6681b010d48f..025489058d86 100644
--- a/dev-ruby/pkg-config/Manifest
+++ b/dev-ruby/pkg-config/Manifest
@@ -1,2 +1,3 @@
DIST pkg-config-1.5.1.gem 23040 BLAKE2B c814cabb2a57f9a40cd5b8112f0103a9aa7a4aeb10f2991ff23a846a98714d832c77ecb9bec9b3c884adf98496eb552451a6b98875a78921efdac229fc5a5e39 SHA512 972fdc1ed64adb66a388331e10c00648560abec8455727b804cb2fe9ce40dd9801dfc909116c1cc96b8617aa52873339a290c5d0775a88c30f2399566db557e6
DIST pkg-config-1.5.2.gem 23040 BLAKE2B 32670e823980888b3cc679afa61cb71092b559ad12ab0cd4485ccc191353426af23f0007fd844cc8a71ad7c4c1c190587eb7643f19f68623ecad182270606141 SHA512 f4aa101ff6bbfce5bf23b6c83f61e186424c097f889e51fe337d158753fc8af26ee918bb509653ea70487a7d92a24b66cc96c1c0ea4bed2cfab5cd9380317679
+DIST pkg-config-1.5.3.gem 23040 BLAKE2B bd629261c226c7d4f108a73e53fbc5b2c1d1828d52836c1873bcc5a7c7776109b4cdc67568667cb4b0e1666432fbcaf20b4e02b41958a562de5a79c854aa22ec SHA512 06b29f5db397090c37a38f2f9b9d7cd6a1f0d11ea0d76c817f7a377f8e02d056863ebbcd04642f6d561b37b7ade5a226b68af16993e013d13e7830ffa902397d
diff --git a/dev-ruby/pkg-config/pkg-config-1.5.3.ebuild b/dev-ruby/pkg-config/pkg-config-1.5.3.ebuild
new file mode 100644
index 000000000000..846afc769643
--- /dev/null
+++ b/dev-ruby/pkg-config/pkg-config-1.5.3.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
+}