diff options
author | Naohiro Aota <naota@gentoo.org> | 2011-06-04 05:52:35 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2011-06-04 05:52:35 +0000 |
commit | e66c8f51c348cee38483fbdda95173b75eed31e8 (patch) | |
tree | 73b0a98a8c9a0bc3cd7b945097671faa494fb59d /dev-ruby | |
parent | add missing test to IUSE (diff) | |
download | historical-e66c8f51c348cee38483fbdda95173b75eed31e8.tar.gz historical-e66c8f51c348cee38483fbdda95173b75eed31e8.tar.bz2 historical-e66c8f51c348cee38483fbdda95173b75eed31e8.zip |
Support ruby19
Package-Manager: portage-2.2.0_alpha37/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/rcairo/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/rcairo/Manifest | 11 | ||||
-rw-r--r-- | dev-ruby/rcairo/rcairo-1.10.0-r4.ebuild | 84 |
3 files changed, 96 insertions, 6 deletions
diff --git a/dev-ruby/rcairo/ChangeLog b/dev-ruby/rcairo/ChangeLog index 47a9db97ce83..6bd8cf0003c8 100644 --- a/dev-ruby/rcairo/ChangeLog +++ b/dev-ruby/rcairo/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/rcairo # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.62 2011/05/02 20:05:29 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.63 2011/06/04 05:52:35 naota Exp $ + +*rcairo-1.10.0-r4 (04 Jun 2011) + + 04 Jun 2011; Naohiro Aota <naota@gentoo.org> +rcairo-1.10.0-r4.ebuild: + Support ruby19 02 May 2011; Hans de Graaff <graaff@gentoo.org> +rcairo-1.8.1.ebuild: Add back rcairo 1.8.1 until newer versions go together with diff --git a/dev-ruby/rcairo/Manifest b/dev-ruby/rcairo/Manifest index 00aade764cdb..43850d0baeef 100644 --- a/dev-ruby/rcairo/Manifest +++ b/dev-ruby/rcairo/Manifest @@ -1,17 +1,18 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA1 DIST cairo-1.10.0.gem 85504 RMD160 7242a2e82402382e3d8334e9730e63ef4b73e6c5 SHA1 e682d188e6dcc2d2f68445156b8beb4b6b7dface SHA256 3a6e648b75f43aa1a0efb4f70c03e576c865c1257847ac509fca2aee8991a404 DIST cairo-1.8.1.gem 274944 RMD160 3040dff5306f365c035d8fe0863d180d41cb2c27 SHA1 cc8d05785cc019a9416fd20d3382bec1010cc493 SHA256 06149dc747201e8dfd8836214401937de548d098c6a4e83dc05b175df71b67e3 EBUILD rcairo-1.10.0-r2.ebuild 2124 RMD160 5ad75c583ff4e47eedee322d607b7ae8901200d5 SHA1 5c729f84450773cee71430e76389dc71cd4d9ffe SHA256 a31645686193ff822c03c8ed038c34dd9a759f72c95ddc7454239e0d33fc07b5 EBUILD rcairo-1.10.0-r3.ebuild 2176 RMD160 fe7960ba928373c9f875c514ef3188d1545b37ae SHA1 14acf05d0bb5978f20b871ead36828a7e3067446 SHA256 2db64534420802a635ffcc01014dbc48e41f9c956217d5f43922b5d8cbfaa14b +EBUILD rcairo-1.10.0-r4.ebuild 2146 RMD160 0a51acd6e9f8369c93169c7edb608eaf5f2f7658 SHA1 a977d1380ae6db760ace1bbc3b3548c43c0d3c24 SHA256 c0672a150daf6daa74144b05a00bcaf2e55cb432b4fb7d97c89dc16e9d848561 EBUILD rcairo-1.8.1.ebuild 1166 RMD160 7ee6ca0c48d398f001210a727808d37330e821bc SHA1 59275fb56377813a3b68e5a10e6342ed4d53bc25 SHA256 f775d26a1f523620ddb4cf3b7d5cc6968c3406284c635e4261abf97c79470ee9 -MISC ChangeLog 8807 RMD160 9b3eadd1519ce04317e4a6c0275a9df4cac57f88 SHA1 9a4558c6fe61400fc980c854cf14189167d6559d SHA256 22a8a421646c42b24b4e4df37aa2e6ec5399b2b4fef45ba96e585427e958d438 +MISC ChangeLog 8930 RMD160 cd6e3ae911c615fe2fc54f101f64bac5e2b8634f SHA1 ef4665f23bb9d989dcabba47f92fc7090f9cbefe SHA256 d65c4926ef7bb46d0f469a997d8a4c9936bf2ce921d2647e248b0f1e0fdc6b9f MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iF4EAREIAAYFAk2/Do4ACgkQrnu0mw69JkpJbwD9EDCUGGIAZrA9cH2j28YPD78i -1bRudsgkTvOHfZ31ASEBAItS+Eer8z0xV2qDx0/RU2nXWZT5Y2ZXC3+dZ4bkFSTB -=H/Gb +iEYEARECAAYFAk3pyC8ACgkQGpDnPLSHuMCoOwCgu4dEspwgpXNWGDuUxTgSAllu +7P4AoL+4TvF8q211l0VnKtDoMAPLPzh2 +=j3No -----END PGP SIGNATURE----- diff --git a/dev-ruby/rcairo/rcairo-1.10.0-r4.ebuild b/dev-ruby/rcairo/rcairo-1.10.0-r4.ebuild new file mode 100644 index 000000000000..bd9921f06fa2 --- /dev/null +++ b/dev-ruby/rcairo/rcairo-1.10.0-r4.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.10.0-r4.ebuild,v 1.1 2011/06/04 05:52:35 naota Exp $ + +EAPI=2 + +# jruby → cannot work, it's a compiled extension +USE_RUBY="ruby18 ruby19" + +RUBY_FAKEGEM_NAME="cairo" + +# Documentation depends on files that are not distributed. +RUBY_FAKEGEM_TASK_DOC="" + +# Depends on test-unit-2 which is currently masked. +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="AUTHORS NEWS" + +inherit multilib ruby-fakegem + +DESCRIPTION="Ruby bindings for cairo" +HOMEPAGE="http://cairographics.org/rcairo/" + +IUSE="" + +SLOT="0" +LICENSE="|| ( Ruby GPL-2 )" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" + +RDEPEND="${RDEPEND} + >=x11-libs/cairo-1.2.0[svg]" +DEPEND="${DEPEND} + >=x11-libs/cairo-1.2.0[svg] + dev-util/pkgconfig" + +ruby_add_bdepend " + dev-ruby/ruby-glib2 + test? ( >=dev-ruby/test-unit-2.1.0-r1:2 )" + +all_ruby_prepare() { + # Remove a failing test for the new recording surface. It's not + # clear if this is a test failure or not, but we need to move on + # with cairo 1.10. + rm test/test_recording_surface.rb || die + + # We don't need pkg-config since we compile directly so remove + # metadata because otherwise rubygems or bundler may get confused. + rm ../metadata || die +} + +each_ruby_configure() { + ${RUBY} extconf.rb || die "extconf failed" +} + +each_ruby_compile() { + emake || die "make failed" + + # again, try to make it more standard, to install it more easily. + cp ext/cairo/cairo$(get_modname) lib/ || die +} + +each_ruby_test() { + # don't rely on the Rakefile because it's a mess to load with + # their hierarchy, do it manually. + ${RUBY} -Ilib -r ./test/cairo-test-utils.rb \ + -e 'gem "test-unit"; require "test/unit"; Dir.glob("test/**/test_*.rb") {|f| load f}' || die "tests failed" +} + +each_ruby_install() { + each_fakegem_install + + insinto $(ruby_get_hdrdir) + doins ext/cairo/rb_cairo.h || die "Cannot install header file." +} + +all_ruby_install() { + all_fakegem_install + + insinto /usr/share/doc/${PF}/samples + doins -r samples/* || die "Cannot install sample files." +} |