diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-07-07 20:44:11 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-07-07 21:00:41 +0200 |
commit | c4a6f95bf1ea97e12260cda54b3a95aa14946f2c (patch) | |
tree | e8c68b4ff5448ad2aa520c3fe1fc17dc345f6581 /dev-ruby | |
parent | dev-ruby: remove partial ruby-gnome2 bump to 3.1.3 (diff) | |
download | gentoo-c4a6f95bf1ea97e12260cda54b3a95aa14946f2c.tar.gz gentoo-c4a6f95bf1ea97e12260cda54b3a95aa14946f2c.tar.bz2 gentoo-c4a6f95bf1ea97e12260cda54b3a95aa14946f2c.zip |
dev-ruby/ruby-glib2: add 3.2.7
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/ruby-glib2/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/ruby-glib2/ruby-glib2-3.2.7.ebuild | 31 |
2 files changed, 32 insertions, 2 deletions
diff --git a/dev-ruby/ruby-glib2/Manifest b/dev-ruby/ruby-glib2/Manifest index de470f11d11f..dd0f1a94614e 100644 --- a/dev-ruby/ruby-glib2/Manifest +++ b/dev-ruby/ruby-glib2/Manifest @@ -1,3 +1,2 @@ -DIST ruby-gnome2-all-3.0.8.tar.gz 1732574 BLAKE2B c41acfae9b48056047a3cd1f1b4341ad9f3b19bd328f0f408cbf8e555466d1f9b6f726fb69cabe7126dd1f4b537286ab311ed62740fe4b069ebddea2c2e9d9a0 SHA512 e30c2cd95db762eff4f5f6d6f03811338657a849fc94d1af71488bb912cc82b85c0aa6860658f6eba66119ef95382ad142661751471a52de9606c5514ec6a6cf DIST ruby-gnome2-all-3.1.1.tar.gz 2233259 BLAKE2B 2758a2b34bbb96a9b2aba73f576d6213c9add2bd37ac85ed083a2bfb050d5327d7332ee1b9a8445e69aab0c4721ba446b4cb66c26273818ba930cce389eda152 SHA512 be264505d254248e0e6190b28c5311d10384c2ade19ac56f249bd17284b153368e6007862c4e19e6d1015ba3e441f9bc502a5dbcc45b7dc8036611ef554a6de9 -DIST ruby-gnome2-all-3.1.3.tar.gz 2202172 BLAKE2B c5da99d3e8901d7307c676f0c17e95418ba50abcd9218785985899757126f12830ddda32ebd57ca0300b55da84ec3895c155644e382ec85ad4153fb2c9b44dbd SHA512 e9f87ed8648742b601758be9c9395a57bed7c0b25602a09432e9da1158a79caac20e46c54d5b5941a4f41f562e202e6837c9ea5f6e19afb4289aa68ceb2e0a40 +DIST ruby-gnome2-all-3.2.7.tar.gz 2290033 BLAKE2B 48abafe9c108f3a42b5da05edb6aa7ea6b508e313f65954481d3ce1f1c4497adfce52d83d491314f352fd057ac31fad63d2c1ec4b13fb0f6de1f6f9ab12d35c6 SHA512 94c273941918e49f140cd5dcc413421406e4b15ad244f6a4c29255030162aaae13dacb701c3df20a64ac6945b7cc4a5de0fa8bed21b4f119183641d298bc2030 diff --git a/dev-ruby/ruby-glib2/ruby-glib2-3.2.7.ebuild b/dev-ruby/ruby-glib2/ruby-glib2-3.2.7.ebuild new file mode 100644 index 000000000000..46580192736c --- /dev/null +++ b/dev-ruby/ruby-glib2/ruby-glib2-3.2.7.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24 ruby25" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby Glib2 bindings" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" +RDEPEND+=" >=dev-libs/glib-2" +DEPEND+=" >=dev-libs/glib-2" + +ruby_add_bdepend "dev-ruby/pkg-config + test? ( >=dev-ruby/test-unit-2 )" + +all_ruby_prepare() { + # Skip spawn tests since our sandbox also provides items in the environment and this makes the test fragile. + rm -f test/test-spawn.rb || die + + # Remove pregenerated Makefile since it will otherwise be shared by all targets. + rm -f Makefile Makefile.lib ext/glib2/Makefile || die + + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#:' lib/mkmf-gnome2.rb || die +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} |