summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-05-25 21:06:08 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-05-25 21:06:08 +0000
commita426f265e35f7d46ee50865a10d62f84372788ab (patch)
treef6aa813bdd2b7279323fcf005d9c4161d2834095 /dev-python/pymtp
parentForce python2 since the build system is broken on python3 (diff)
downloadgentoo-2-a426f265e35f7d46ee50865a10d62f84372788ab.tar.gz
gentoo-2-a426f265e35f7d46ee50865a10d62f84372788ab.tar.bz2
gentoo-2-a426f265e35f7d46ee50865a10d62f84372788ab.zip
Set SUPPORT_PYTHON_ABIS.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pymtp')
-rw-r--r--dev-python/pymtp/ChangeLog8
-rw-r--r--dev-python/pymtp/pymtp-0.0.4.ebuild20
2 files changed, 15 insertions, 13 deletions
diff --git a/dev-python/pymtp/ChangeLog b/dev-python/pymtp/ChangeLog
index 7642135bb96c..707e72d4041a 100644
--- a/dev-python/pymtp/ChangeLog
+++ b/dev-python/pymtp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pymtp
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pymtp/ChangeLog,v 1.3 2009/05/31 13:23:22 nixnut Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pymtp/ChangeLog,v 1.4 2010/05/25 21:06:08 arfrever Exp $
+
+ 25 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pymtp-0.0.4.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
31 May 2009; nixnut <nixnut@gentoo.org> pymtp-0.0.4.ebuild:
ppc stable #268837
diff --git a/dev-python/pymtp/pymtp-0.0.4.ebuild b/dev-python/pymtp/pymtp-0.0.4.ebuild
index a69ea67a28c8..3a5a6a235a1b 100644
--- a/dev-python/pymtp/pymtp-0.0.4.ebuild
+++ b/dev-python/pymtp/pymtp-0.0.4.ebuild
@@ -1,8 +1,12 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pymtp/pymtp-0.0.4.ebuild,v 1.4 2009/05/31 13:23:22 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pymtp/pymtp-0.0.4.ebuild,v 1.5 2010/05/25 21:06:08 arfrever Exp $
-inherit distutils multilib python
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
DESCRIPTION="libmtp bindings for python"
HOMEPAGE="http://nick125.com/projects/pymtp/"
@@ -15,12 +19,6 @@ IUSE=""
RDEPEND=">=media-libs/libmtp-0.2.6"
DEPEND="${RDEPEND}"
+RESTRICT_PYTHON_ABIS="3.*"
-pkg_postinst() {
- python_version
- python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/pymtp.py
-}
-
-pkg_postrm() {
- python_mod_cleanup
-}
+PYTHON_MODNAME="pymtp.py"