summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-11 18:53:53 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-11 18:53:53 +0000
commit7f82e43f2bcbb5280170f4c59e764b03b2b911d5 (patch)
tree19412838a37c55a00e2c063f86532b8412e2b4b1 /www-apps/pyblosxom
parentDelete older ebuild. (diff)
downloadgentoo-2-7f82e43f2bcbb5280170f4c59e764b03b2b911d5.tar.gz
gentoo-2-7f82e43f2bcbb5280170f4c59e764b03b2b911d5.tar.bz2
gentoo-2-7f82e43f2bcbb5280170f4c59e764b03b2b911d5.zip
Set SUPPORT_PYTHON_ABIS (bug #316973).
(Portage version: 2.2.0_alpha29_p12/cvs/Linux x86_64)
Diffstat (limited to 'www-apps/pyblosxom')
-rw-r--r--www-apps/pyblosxom/ChangeLog6
-rw-r--r--www-apps/pyblosxom/pyblosxom-1.4.3.ebuild32
2 files changed, 28 insertions, 10 deletions
diff --git a/www-apps/pyblosxom/ChangeLog b/www-apps/pyblosxom/ChangeLog
index 040b2472747e..1f0e615a3d31 100644
--- a/www-apps/pyblosxom/ChangeLog
+++ b/www-apps/pyblosxom/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-apps/pyblosxom
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/pyblosxom/ChangeLog,v 1.12 2011/04/05 05:38:06 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/pyblosxom/ChangeLog,v 1.13 2011/04/11 18:53:53 arfrever Exp $
+
+ 11 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pyblosxom-1.4.3.ebuild:
+ Set SUPPORT_PYTHON_ABIS (bug #316973).
05 Apr 2011; Ulrich Mueller <ulm@gentoo.org> pyblosxom-1.4.2.ebuild,
pyblosxom-1.4.3.ebuild:
diff --git a/www-apps/pyblosxom/pyblosxom-1.4.3.ebuild b/www-apps/pyblosxom/pyblosxom-1.4.3.ebuild
index 7a1810f6a790..e31097a377f0 100644
--- a/www-apps/pyblosxom/pyblosxom-1.4.3.ebuild
+++ b/www-apps/pyblosxom/pyblosxom-1.4.3.ebuild
@@ -1,12 +1,17 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/pyblosxom/pyblosxom-1.4.3.ebuild,v 1.2 2011/04/05 05:38:06 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/pyblosxom/pyblosxom-1.4.3.ebuild,v 1.3 2011/04/11 18:53:53 arfrever Exp $
-inherit eutils distutils webapp
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+
+inherit distutils eutils webapp
DESCRIPTION="PyBlosxom is a lightweight weblog system."
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
HOMEPAGE="http://pyblosxom.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86"
@@ -17,15 +22,19 @@ WEBAPP_MANUAL_SLOT=yes
IUSE=""
-DEPEND="dev-lang/python"
-RDEPEND="${DEPEND}"
-
-src_unpack() {
+DEPEND=""
+RDEPEND=""
- unpack ${A} && cd "${S}"
+PYTHON_MODNAME="Pyblosxom"
- epatch "${FILESDIR}"/${PN}-1.4.2-gentoo.patch || die "Patching failed!"
+pkg_setup() {
+ python_pkg_setup
+ webapp_pkg_setup
+}
+src_prepare() {
+ distutils_src_prepare
+ epatch "${FILESDIR}/${PN}-1.4.2-gentoo.patch"
}
src_install() {
@@ -49,3 +58,8 @@ src_install() {
webapp_src_install
}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ webapp_pkg_postinst
+}