summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2012-02-22 02:24:56 +0000
committerChristian Ruppert <idl0r@gentoo.org>2012-02-22 02:24:56 +0000
commitaf76c2560b239a1a6ff8b85bd69c6542dea3443f (patch)
tree61b75230ce78e5c34a4a72ffda1de88776beb045 /www-apps/trac-git
parentRestricting jython (diff)
downloadgentoo-2-af76c2560b239a1a6ff8b85bd69c6542dea3443f.tar.gz
gentoo-2-af76c2560b239a1a6ff8b85bd69c6542dea3443f.tar.bz2
gentoo-2-af76c2560b239a1a6ff8b85bd69c6542dea3443f.zip
Fix __init__.py installation
(Portage version: 2.1.10.44/cvs/Linux i686)
Diffstat (limited to 'www-apps/trac-git')
-rw-r--r--www-apps/trac-git/ChangeLog5
-rw-r--r--www-apps/trac-git/trac-git-20111119.ebuild8
2 files changed, 11 insertions, 2 deletions
diff --git a/www-apps/trac-git/ChangeLog b/www-apps/trac-git/ChangeLog
index 1f82c6d48c01..7e1b7b2c71b7 100644
--- a/www-apps/trac-git/ChangeLog
+++ b/www-apps/trac-git/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-apps/trac-git
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/trac-git/ChangeLog,v 1.4 2012/02/22 00:11:03 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/trac-git/ChangeLog,v 1.5 2012/02/22 02:24:56 idl0r Exp $
+
+ 22 Feb 2012; Christian Ruppert <idl0r@gentoo.org> trac-git-20111119.ebuild:
+ Fix __init__.py installation
*trac-git-20111119 (22 Feb 2012)
diff --git a/www-apps/trac-git/trac-git-20111119.ebuild b/www-apps/trac-git/trac-git-20111119.ebuild
index 1883f1a08417..9b73a9315317 100644
--- a/www-apps/trac-git/trac-git-20111119.ebuild
+++ b/www-apps/trac-git/trac-git-20111119.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/trac-git/trac-git-20111119.ebuild,v 1.1 2012/02/22 00:11:03 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/trac-git/trac-git-20111119.ebuild,v 1.2 2012/02/22 02:24:56 idl0r Exp $
EAPI="4"
PYTHON_DEPEND="2"
@@ -24,5 +24,11 @@ RDEPEND=">=www-apps/trac-0.12
src_install() {
distutils_src_install
+
+ install_init() {
+ touch "${D}/$(python_get_sitedir)/tracext/__init__.py"
+ }
+ python_execute_function -q install_init
+
rm -f "${D}"/usr/{README,COPYING}
}