summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-09-09 17:43:03 +0000
committerHans de Graaff <graaff@gentoo.org>2012-09-09 17:43:03 +0000
commita388ff14a14fd537308a65e40be3ae29e00e264a (patch)
treeb2c8bc37fb279460356a89a554ef56af68044d49 /dev-ruby
parentclean up the live portion of the ebuild using multiple inherits (diff)
downloadgentoo-2-a388ff14a14fd537308a65e40be3ae29e00e264a.tar.gz
gentoo-2-a388ff14a14fd537308a65e40be3ae29e00e264a.tar.bz2
gentoo-2-a388ff14a14fd537308a65e40be3ae29e00e264a.zip
Cleanup.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/parsetree/ChangeLog6
-rw-r--r--dev-ruby/parsetree/parsetree-3.0.8.ebuild87
-rw-r--r--dev-ruby/parsetree/parsetree-3.0.9.ebuild87
3 files changed, 5 insertions, 175 deletions
diff --git a/dev-ruby/parsetree/ChangeLog b/dev-ruby/parsetree/ChangeLog
index 9fda9b9d31b1..e346339d3387 100644
--- a/dev-ruby/parsetree/ChangeLog
+++ b/dev-ruby/parsetree/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/parsetree
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/parsetree/ChangeLog,v 1.51 2012/08/19 09:05:33 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/parsetree/ChangeLog,v 1.52 2012/09/09 17:43:03 graaff Exp $
+
+ 09 Sep 2012; Hans de Graaff <graaff@gentoo.org> -parsetree-3.0.8.ebuild,
+ -parsetree-3.0.9.ebuild:
+ Cleanup.
*parsetree-3.0.9-r1 (19 Aug 2012)
diff --git a/dev-ruby/parsetree/parsetree-3.0.8.ebuild b/dev-ruby/parsetree/parsetree-3.0.8.ebuild
deleted file mode 100644
index 0644672c1c5c..000000000000
--- a/dev-ruby/parsetree/parsetree-3.0.8.ebuild
+++ /dev/null
@@ -1,87 +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/parsetree/parsetree-3.0.8.ebuild,v 1.4 2012/08/16 03:59:53 flameeyes Exp $
-
-EAPI=2
-
-USE_RUBY="ruby18 ree18"
-
-RUBY_FAKEGEM_NAME="ParseTree"
-
-RUBY_FAKEGEM_TASK_DOC="docs"
-RUBY_FAKEGEM_DOCDIR="doc"
-RUBY_FAKEGEM_EXTRADOC="README.txt History.txt"
-
-inherit multilib ruby-fakegem
-
-DESCRIPTION="ParseTree extracts the parse tree for a Class or method and returns it as a s-expression."
-HOMEPAGE="http://www.zenspider.com/ZSS/Products/ParseTree/"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
-IUSE=""
-
-ruby_add_rdepend '
- >=dev-ruby/RubyInline-3.10.0
- >=dev-ruby/sexp_processor-3.0.0'
-ruby_add_bdepend "
- test? (
- dev-ruby/hoe
- dev-ruby/hoe-seattlerb
- dev-ruby/minitest
- dev-ruby/ruby2ruby
- )
- doc? (
- dev-ruby/hoe
- dev-ruby/hoe-seattlerb
- )"
-
-all_ruby_prepare() {
- # Fix USE=doc by removing the path that triggers running the tests
- # and thus building the extensions in the wrong way.
- sed -i -e '/require_paths/d' Rakefile || die
-
-}
-
-each_ruby_prepare() {
- # RubyInline employs a very stupid caching strategy solely based on
- # the public signatures of methods. Never mind bugs within the C
- # code... We add a dynamic method name to the parsetree interface
- # just so that we can guarantee compilation. Fixes #329497.
- epatch "${FILESDIR}/${PN}-3.0.6-timestamp.patch"
- sed -i -e "s/TIMESTAMP/$(date +%s)/" lib/parse_tree.rb || die
-}
-
-src_compile() {
- chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
- ruby-ng_src_compile
-}
-
-each_ruby_compile() {
- # The ruby extension uses RubyInline to use C code within Ruby;
- # since it causes us no little pain, we'll do our best here to
- # prebuild the extensions.
-
- INLINEDIR="${PWD}" ${RUBY} -Ilib -rparse_tree -e '' || die "Unable to load ${PN}"
-
- mkdir lib/inline
- cp .ruby_inline/*/*$(get_modname) lib/inline/ || die
-}
-
-src_test() {
- chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
- ruby-ng_src_test
-}
-
-pkg_postinst() {
- elog "${CATEGORY}/${PN} uses the RubyInline library to build its parser."
- elog "RubyInline builds loadable extensions at runtime in your home"
- elog "directory if they are not supplied by the gems."
- elog ""
- elog "We are currently providing you with pre-built extensions for"
- elog "the Ruby implementations you're using. Unfortunately these are"
- elog "different from version to version, so you might have to"
- elog "rebuild ${CATEGORY}/${PN} after each update to dev-lang/ruby or"
- elog "dev-lang/ruby-enterprise."
-}
diff --git a/dev-ruby/parsetree/parsetree-3.0.9.ebuild b/dev-ruby/parsetree/parsetree-3.0.9.ebuild
deleted file mode 100644
index 8df3db36665f..000000000000
--- a/dev-ruby/parsetree/parsetree-3.0.9.ebuild
+++ /dev/null
@@ -1,87 +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/parsetree/parsetree-3.0.9.ebuild,v 1.2 2012/08/16 03:59:53 flameeyes Exp $
-
-EAPI=4
-
-USE_RUBY="ruby18 ree18"
-
-RUBY_FAKEGEM_NAME="ParseTree"
-
-RUBY_FAKEGEM_TASK_DOC="docs"
-RUBY_FAKEGEM_DOCDIR="doc"
-RUBY_FAKEGEM_EXTRADOC="README.txt History.txt"
-
-inherit multilib ruby-fakegem
-
-DESCRIPTION="ParseTree extracts the parse tree for a Class or method and returns it as a s-expression."
-HOMEPAGE="http://www.zenspider.com/ZSS/Products/ParseTree/"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
-IUSE=""
-
-ruby_add_rdepend '
- >=dev-ruby/RubyInline-3.10.0
- >=dev-ruby/sexp_processor-3.0.0'
-ruby_add_bdepend "
- test? (
- dev-ruby/hoe
- dev-ruby/hoe-seattlerb
- dev-ruby/minitest
- dev-ruby/ruby2ruby
- )
- doc? (
- dev-ruby/hoe
- dev-ruby/hoe-seattlerb
- )"
-
-all_ruby_prepare() {
- # Fix USE=doc by removing the path that triggers running the tests
- # and thus building the extensions in the wrong way.
- sed -i -e '/require_paths/d' Rakefile || die
-
-}
-
-each_ruby_prepare() {
- # RubyInline employs a very stupid caching strategy solely based on
- # the public signatures of methods. Never mind bugs within the C
- # code... We add a dynamic method name to the parsetree interface
- # just so that we can guarantee compilation. Fixes #329497.
- epatch "${FILESDIR}/${PN}-3.0.6-timestamp.patch"
- sed -i -e "s/TIMESTAMP/$(date +%s)/" lib/parse_tree.rb || die
-}
-
-src_compile() {
- chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
- ruby-ng_src_compile
-}
-
-each_ruby_compile() {
- # The ruby extension uses RubyInline to use C code within Ruby;
- # since it causes us no little pain, we'll do our best here to
- # prebuild the extensions.
-
- INLINEDIR="${PWD}" ${RUBY} -Ilib -rparse_tree -e '' || die "Unable to load ${PN}"
-
- mkdir lib/inline
- cp .ruby_inline/*/*$(get_modname) lib/inline/ || die
-}
-
-src_test() {
- chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
- ruby-ng_src_test
-}
-
-pkg_postinst() {
- elog "${CATEGORY}/${PN} uses the RubyInline library to build its parser."
- elog "RubyInline builds loadable extensions at runtime in your home"
- elog "directory if they are not supplied by the gems."
- elog ""
- elog "We are currently providing you with pre-built extensions for"
- elog "the Ruby implementations you're using. Unfortunately these are"
- elog "different from version to version, so you might have to"
- elog "rebuild ${CATEGORY}/${PN} after each update to dev-lang/ruby or"
- elog "dev-lang/ruby-enterprise."
-}