summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-28 16:41:30 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-28 16:41:30 +0000
commitb72283a9ca3aafa34deb0d49bb5319f5e03266e5 (patch)
tree7a428e311325cf81173c79105ef4c05a3694357c /dev-ruby/parsetree
parentStop using deprecated kde-functions.eclass. (diff)
downloadgentoo-2-b72283a9ca3aafa34deb0d49bb5319f5e03266e5.tar.gz
gentoo-2-b72283a9ca3aafa34deb0d49bb5319f5e03266e5.tar.bz2
gentoo-2-b72283a9ca3aafa34deb0d49bb5319f5e03266e5.zip
Fix permissions both during compile and test phases.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/parsetree')
-rw-r--r--dev-ruby/parsetree/ChangeLog6
-rw-r--r--dev-ruby/parsetree/parsetree-3.0.4-r1.ebuild11
2 files changed, 13 insertions, 4 deletions
diff --git a/dev-ruby/parsetree/ChangeLog b/dev-ruby/parsetree/ChangeLog
index f2bffe7f56ac..84728df858ad 100644
--- a/dev-ruby/parsetree/ChangeLog
+++ b/dev-ruby/parsetree/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/parsetree
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/parsetree/ChangeLog,v 1.14 2009/12/28 12:08:09 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/parsetree/ChangeLog,v 1.15 2009/12/28 16:41:30 flameeyes Exp $
+
+ 28 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ parsetree-3.0.4-r1.ebuild:
+ Fix permissions both during compile and test phases.
28 Dec 2009; Hans de Graaff <graaff@gentoo.org> parsetree-3.0.4-r1.ebuild:
Fix permissions in the prepare phase so that it also works with USE=doc.
diff --git a/dev-ruby/parsetree/parsetree-3.0.4-r1.ebuild b/dev-ruby/parsetree/parsetree-3.0.4-r1.ebuild
index 149b257c96c5..8195e7e3488b 100644
--- a/dev-ruby/parsetree/parsetree-3.0.4-r1.ebuild
+++ b/dev-ruby/parsetree/parsetree-3.0.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/parsetree/parsetree-3.0.4-r1.ebuild,v 1.2 2009/12/28 12:08:09 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/parsetree/parsetree-3.0.4-r1.ebuild,v 1.3 2009/12/28 16:41:30 flameeyes Exp $
EAPI=2
@@ -26,7 +26,12 @@ ruby_add_rdepend '>=dev-ruby/ruby-inline-3.7.0 >=dev-ruby/sexp-processor-3.0.0'
ruby_add_bdepend test "dev-ruby/hoe dev-ruby/hoe-seattlerb virtual/ruby-minitest dev-ruby/ruby2ruby"
ruby_add_bdepend doc "dev-ruby/hoe dev-ruby/hoe-seattlerb"
-src_prepare() {
- ruby-ng_src_prepare
+src_compile() {
chmod 0755 ${WORKDIR/work/homedir} || die "Failed to fix permissions on home"
+ ruby-ng_src_compile
+}
+
+src_test() {
+ chmod 0755 ${WORKDIR/work/homedir} || die "Failed to fix permissions on home"
+ ruby-ng_src_test
}