Set SUPPORT_PYTHON_ABIS.
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Fri, 28 May 2010 14:47:02 +0000 (14:47 +0000)
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Fri, 28 May 2010 14:47:02 +0000 (14:47 +0000)
Package-Manager: portage-HEAD/cvs/Linux x86_64

www-apps/trac/ChangeLog
www-apps/trac/trac-0.11.7.ebuild

index 9bb40c6fe6d275cda9df2e77c96a909bb36f9f56..c5b10edbfb24de50a399bf12a5e390f05862fca2 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for www-apps/trac
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.101 2010/05/28 11:01:08 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.102 2010/05/28 14:47:02 arfrever Exp $
+
+  28 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  trac-0.11.7.ebuild:
+  Set SUPPORT_PYTHON_ABIS.
 
   28 May 2010; Markus Meier <maekke@gentoo.org> trac-0.11.7.ebuild:
   x86 stable, bug #315153
index 6c9664af75274ddbeeaf1ed646a35252bd85b35e..231fec5fc4d0b540e64d5d1f64ad3846b98fc27f 100644 (file)
@@ -1,10 +1,12 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.11.7.ebuild,v 1.4 2010/05/28 11:01:08 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.11.7.ebuild,v 1.5 2010/05/28 14:47:02 arfrever Exp $
 
 EAPI="2"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
 
-inherit eutils distutils webapp
+inherit distutils eutils webapp
 
 MY_PV=${PV/_beta/b}
 MY_P=Trac-${MY_PV}
@@ -56,8 +58,10 @@ RDEPEND="
        !www-apps/trac-webadmin
        "
 DEPEND="${RDEPEND}"
+RESTRICT_PYTHON_ABIS="3.*"
 
 pkg_setup() {
+       python_pkg_setup
        webapp_pkg_setup
 
        if ! use mysql && ! use postgres && ! use sqlite; then
@@ -87,7 +91,7 @@ src_install() {
 
        # tracd init script
        newconfd "${FILESDIR}"/tracd.confd tracd
-       newinitd "${FILESDIR}"/tracd.initd.2 tracd
+       newinitd "${FILESDIR}"/tracd.initd tracd
 
        if use cgi; then
                cp cgi-bin/trac.cgi "${D}"/${MY_CGIBINDIR} || die
@@ -103,3 +107,8 @@ src_install() {
 
        webapp_src_install
 }
+
+pkg_postinst() {
+       distutils_pkg_postinst
+       webapp_pkg_postinst
+}