diff options
-rw-r--r-- | dev-ruby/pkg-config/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/pkg-config/pkg-config-1.4.7.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/pkg-config/Manifest b/dev-ruby/pkg-config/Manifest index 69d2d81a2398..ce984fc78fff 100644 --- a/dev-ruby/pkg-config/Manifest +++ b/dev-ruby/pkg-config/Manifest @@ -4,3 +4,4 @@ DIST pkg-config-1.4.3.gem 22016 BLAKE2B a23bfee3790a03d4224efe16439b1c43a6174336 DIST pkg-config-1.4.4.gem 22016 BLAKE2B 6514405160fdfaa2be0938cb976ae779b964fdf54f0c49f6480ca09d3877459cf88af1f7b17519ee511d24c9b9bdc21087091b3050fcb252487d880f330a7beb SHA512 bb355e2183c9077d0e940d768b7eb12dff2b31fa518b1d28be751c52ecbbb16a99b326c7d6953501056074156faef9f30682dc82c3350da00f80f9a55d491550 DIST pkg-config-1.4.5.gem 22016 BLAKE2B adbe2447e676c04eaf5e2d7dc6b1a165278f309d01c3d1b34b2a528d6639b525307cc40a62c06026e0c16fea5b7d48f2813f9b8617332586065e2f66ae3e2037 SHA512 4c3f4dc8d414efc9a140f3438c6977c6b534b7944356ac0c4a95233924dbe372c47b15296ba0f8e35cd6520664f28381131cbaafb33f8d004bb34adfdcc5c236 DIST pkg-config-1.4.6.gem 22528 BLAKE2B 7d040576e0d035af75218e7efee6d3a8ee27206de8e12ef112c6fa7c5917f300c07149c08d510f26f89299cb73c384775403ff7f863379c195fb524c8127c59a SHA512 328fbc46bb549d4cbcd4995cb91545bd13f00f3d24610f9a70b39ea3b58c595d96801fcfe9ca9848d6664d7c9dfce44ce2702a58b894b80744619678e10b0e50 +DIST pkg-config-1.4.7.gem 22528 BLAKE2B 450dffb0c9680f92c8841bcc8c7aa2e187f73e8db1d1325ece7dd024ae0f430b8365d185742d349775bf821210ecd13dddf5b9e40bc85ede07cdaef3199b23b3 SHA512 ca93bcee16b75690af630236e6ab01c13de220f1ea128475ded5fac155f12a967ceebe9b5ab3e7e6f43d5dbf81ccb1bd79f6f25c92eabd3318019b0e50696623 diff --git a/dev-ruby/pkg-config/pkg-config-1.4.7.ebuild b/dev-ruby/pkg-config/pkg-config-1.4.7.ebuild new file mode 100644 index 000000000000..e9bde838ad48 --- /dev/null +++ b/dev-ruby/pkg-config/pkg-config-1.4.7.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc NEWS" + +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 ~ppc ~ppc64 ~riscv ~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 +} |