diff options
author | Hans de Graaff <graaff@gentoo.org> | 2013-04-14 06:56:19 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2013-04-14 06:56:19 +0000 |
commit | 4ed5385f565bad69a1a8810540f13aafff310b6b (patch) | |
tree | 0a60d60b5896e131d28ce00a5e9d43d24945b519 /dev-ruby | |
parent | Remove support for EAPI 2 and 3 for php-ext-source-r2. Use REQUIRED_USE for t... (diff) | |
download | gentoo-2-4ed5385f565bad69a1a8810540f13aafff310b6b.tar.gz gentoo-2-4ed5385f565bad69a1a8810540f13aafff310b6b.tar.bz2 gentoo-2-4ed5385f565bad69a1a8810540f13aafff310b6b.zip |
Cleanup.
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/rcairo/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/rcairo/rcairo-1.10.0-r3.ebuild | 85 | ||||
-rw-r--r-- | dev-ruby/rcairo/rcairo-1.12.2.ebuild | 73 |
3 files changed, 6 insertions, 160 deletions
diff --git a/dev-ruby/rcairo/ChangeLog b/dev-ruby/rcairo/ChangeLog index f0cdfa82e46e..85f5578cfc91 100644 --- a/dev-ruby/rcairo/ChangeLog +++ b/dev-ruby/rcairo/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/rcairo -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.79 2012/12/25 09:15:25 graaff Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.80 2013/04/14 06:56:19 graaff Exp $ + + 14 Apr 2013; Hans de Graaff <graaff@gentoo.org> -rcairo-1.10.0-r3.ebuild, + -rcairo-1.12.2.ebuild: + Cleanup. *rcairo-1.12.3 (25 Dec 2012) diff --git a/dev-ruby/rcairo/rcairo-1.10.0-r3.ebuild b/dev-ruby/rcairo/rcairo-1.10.0-r3.ebuild deleted file mode 100644 index f68a62c0111c..000000000000 --- a/dev-ruby/rcairo/rcairo-1.10.0-r3.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2012 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-r3.ebuild,v 1.4 2012/07/01 18:31:41 armin76 Exp $ - -EAPI=2 - -# ruby19 → fails, and even crashes Ruby -# jruby → cannot work, it's a compiled extension -USE_RUBY="ruby18" - -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="amd64 ppc x86" - -RDEPEND="${RDEPEND} - >=x11-libs/cairo-1.2.0[svg]" -DEPEND="${DEPEND} - >=x11-libs/cairo-1.2.0[svg] - virtual/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." -} diff --git a/dev-ruby/rcairo/rcairo-1.12.2.ebuild b/dev-ruby/rcairo/rcairo-1.12.2.ebuild deleted file mode 100644 index d7b511bc76b7..000000000000 --- a/dev-ruby/rcairo/rcairo-1.12.2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.12.2.ebuild,v 1.1 2012/09/15 09:08:13 graaff Exp $ - -EAPI=4 - -# jruby → cannot work, it's a compiled extension -USE_RUBY="ruby18 ree18 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="~amd64 ~ppc ~x86" - -RDEPEND="${RDEPEND} - >=x11-libs/cairo-1.2.0[svg]" -DEPEND="${DEPEND} - >=x11-libs/cairo-1.2.0[svg]" - -ruby_add_bdepend " - dev-ruby/pkg-config - dev-ruby/ruby-glib2 - test? ( >=dev-ruby/test-unit-2.1.0-r1:2 )" - -each_ruby_configure() { - ${RUBY} -Cext/cairo extconf.rb || die "extconf failed" -} - -each_ruby_compile() { - emake -Cext/cairo || 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." -} |