summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-01 01:15:20 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-01 01:15:20 +0000
commit4a05973590d9eece0830e9ef1f90dfd0cc775bca (patch)
treead8bd48682a44c57ee3928b08f19b7a3dd8e7642 /dev-python/adodb-py
parentVersion bump to 1.7.3 final. (diff)
downloadgentoo-2-4a05973590d9eece0830e9ef1f90dfd0cc775bca.tar.gz
gentoo-2-4a05973590d9eece0830e9ef1f90dfd0cc775bca.tar.bz2
gentoo-2-4a05973590d9eece0830e9ef1f90dfd0cc775bca.zip
Set SUPPORT_PYTHON_ABIS.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/adodb-py')
-rw-r--r--dev-python/adodb-py/ChangeLog6
-rw-r--r--dev-python/adodb-py/adodb-py-2.20.ebuild21
2 files changed, 17 insertions, 10 deletions
diff --git a/dev-python/adodb-py/ChangeLog b/dev-python/adodb-py/ChangeLog
index 95cbd7d2856d..9d977eb1caf4 100644
--- a/dev-python/adodb-py/ChangeLog
+++ b/dev-python/adodb-py/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/adodb-py
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/adodb-py/ChangeLog,v 1.26 2010/02/07 20:50:53 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/adodb-py/ChangeLog,v 1.27 2010/07/01 01:15:20 arfrever Exp $
+
+ 01 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ adodb-py-2.20.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
07 Feb 2010; Peter Volkov <pva@gentoo.org> adodb-py-2.00.ebuild,
adodb-py-2.20.ebuild:
diff --git a/dev-python/adodb-py/adodb-py-2.20.ebuild b/dev-python/adodb-py/adodb-py-2.20.ebuild
index 0e38434c56f7..d72ecae3dfce 100644
--- a/dev-python/adodb-py/adodb-py-2.20.ebuild
+++ b/dev-python/adodb-py/adodb-py-2.20.ebuild
@@ -1,11 +1,13 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/adodb-py/adodb-py-2.20.ebuild,v 1.3 2010/02/07 20:50:53 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/adodb-py/adodb-py-2.20.ebuild,v 1.4 2010/07/01 01:15:20 arfrever Exp $
-EAPI="2"
-NEED_PYTHON=2.3
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
-inherit eutils distutils
+inherit distutils eutils
MY_PV=${PV//./}
MY_P=${PN/-py/}-${MY_PV}
@@ -19,21 +21,22 @@ SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
IUSE="mysql postgres sqlite"
-RDEPEND="postgres? ( <dev-python/psycopg-1.99 )
+RDEPEND="postgres? ( dev-python/psycopg:0 )
mysql? ( >=dev-python/mysql-python-0.9.2 )
- sqlite? ( >=dev-python/pysqlite-2.0 ) "
+ sqlite? ( dev-python/pysqlite:2 ) "
DEPEND="${RDEPEND}
app-arch/unzip"
-PYTHON_MODNAME="adodb"
+S="${WORKDIR}/${MY_P}"
-S=${WORKDIR}/${MY_P}
+PYTHON_MODNAME="adodb"
src_prepare(){
+ distutils_src_prepare
epatch "${FILESDIR}/${PN}_sandbox_violation.patch"
}
src_install() {
distutils_src_install
- dohtml adodb-py-docs.htm icons/*.gif
+ dohtml adodb-py-docs.htm *.gif || die "dohtml failed"
}