summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-02-26 19:05:09 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-02-26 19:05:09 +0000
commit5453e5ce0e86b40b551774506742a0c6ff5ab6e2 (patch)
tree83717feb529b6e14700fcdc85d40267498f5cfb9 /dev-python/pmw
parentMissing sci-libs/mmdb DEP added (diff)
downloadgentoo-2-5453e5ce0e86b40b551774506742a0c6ff5ab6e2.tar.gz
gentoo-2-5453e5ce0e86b40b551774506742a0c6ff5ab6e2.tar.bz2
gentoo-2-5453e5ce0e86b40b551774506742a0c6ff5ab6e2.zip
Set SUPPORT_PYTHON_ABIS.
(Portage version: 15458-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pmw')
-rw-r--r--dev-python/pmw/ChangeLog6
-rw-r--r--dev-python/pmw/pmw-1.3.2-r2.ebuild31
2 files changed, 19 insertions, 18 deletions
diff --git a/dev-python/pmw/ChangeLog b/dev-python/pmw/ChangeLog
index 3916e965ca4e..aa0f15f886ae 100644
--- a/dev-python/pmw/ChangeLog
+++ b/dev-python/pmw/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pmw
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pmw/ChangeLog,v 1.27 2010/02/20 12:21:38 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pmw/ChangeLog,v 1.28 2010/02/26 19:05:09 arfrever Exp $
+
+ 26 Feb 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pmw-1.3.2-r2.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
*pmw-1.3.2-r2 (20 Feb 2010)
diff --git a/dev-python/pmw/pmw-1.3.2-r2.ebuild b/dev-python/pmw/pmw-1.3.2-r2.ebuild
index 7a698db3ea42..6ee94dc707ba 100644
--- a/dev-python/pmw/pmw-1.3.2-r2.ebuild
+++ b/dev-python/pmw/pmw-1.3.2-r2.ebuild
@@ -1,11 +1,12 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pmw/pmw-1.3.2-r2.ebuild,v 1.1 2010/02/20 12:21:38 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pmw/pmw-1.3.2-r2.ebuild,v 1.2 2010/02/26 19:05:09 arfrever Exp $
EAPI="2"
-PYTHON_MODNAME="Pmw"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
-inherit eutils distutils
+inherit distutils eutils
MY_P="Pmw.${PV}"
@@ -20,12 +21,15 @@ IUSE="doc examples"
DEPEND="dev-lang/python[tk]"
RDEPEND="${DEPEND}"
+RESTRICT_PYTHON_ABIS="3.*"
-DOCS="${PYTHON_MODNAME}/README"
S="${WORKDIR}/${MY_P}/src"
-src_unpack() {
- distutils_src_unpack
+DOCS="Pmw/README"
+PYTHON_MODNAME="Pmw"
+
+src_prepare() {
+ distutils_src_prepare
epatch "${FILESDIR}/${P}-install-no-docs.patch"
epatch "${FILESDIR}/${PV}-python2.5.patch"
}
@@ -33,21 +37,14 @@ src_unpack() {
src_install() {
distutils_src_install
- local DIR
- DIR="${S}/${PYTHON_MODNAME}/Pmw_1_3"
+ local DIR="${PYTHON_MODNAME}/Pmw_1_3"
if use doc; then
- dohtml -a html,gif,py "${DIR}"/doc/* \
- || die "failed to install docs"
+ dohtml -a html,gif,py "${DIR}"/doc/* || die "Installation of documentation failed"
fi
if use examples; then
- insinto "${ROOT}/usr/share/doc/${PF}/examples"
- doins "${DIR}"/demos/* \
- || die "failed to install demos"
+ insinto "/usr/share/doc/${PF}/examples"
+ doins "${DIR}"/demos/* || die "Installation of demos failed"
fi
-
- #Tests are not unittests and show various
- #GUIs. So we don't run them in the ebuild
-
}