Set SUPPORT_PYTHON_ABIS.
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Thu, 8 Jul 2010 18:04:18 +0000 (18:04 +0000)
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Thu, 8 Jul 2010 18:04:18 +0000 (18:04 +0000)
Package-Manager: portage-HEAD/cvs/Linux x86_64

dev-python/python-fastcgi/ChangeLog
dev-python/python-fastcgi/python-fastcgi-1.1.ebuild

index 054c939111e7df43695384cd88a73a0162616fc0..b049ae86094aa913cceaf117ec23f1ddef6f007e 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for dev-python/python-fastcgi
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-fastcgi/ChangeLog,v 1.2 2010/06/02 06:28:34 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-fastcgi/ChangeLog,v 1.3 2010/07/08 18:04:18 arfrever Exp $
+
+  08 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-fastcgi-1.1.ebuild:
+  Set SUPPORT_PYTHON_ABIS.
 
   02 Jun 2010; Torsten Veller <tove@gentoo.org> metadata.xml:
   Remove chtekk from metadata.xml (#103720)
index 7326200a08b700a4721f4bd72211e2c5c2392ec3..fc7549ac519afcdc6083120c0024556ca4ec6dc7 100644 (file)
@@ -1,27 +1,32 @@
-# Copyright 1999-2008 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/python-fastcgi/python-fastcgi-1.1.ebuild,v 1.1 2008/05/25 16:32:09 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-fastcgi/python-fastcgi-1.1.ebuild,v 1.2 2010/07/08 18:04:18 arfrever Exp $
 
-NEED_PYTHON=2.3
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
 
 inherit distutils eutils
 
-KEYWORDS="~amd64 ~x86"
-
 DESCRIPTION="Interface to OpenMarket's FastCGI C Library/SDK."
-HOMEPAGE="http://pypi.python.org/pypi/${PN}/"
-SRC_URI="http://cheeseshop.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz"
+HOMEPAGE="http://pypi.python.org/pypi/python-fastcgi"
+SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
+KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 RDEPEND=">=dev-libs/fcgi-2.4.0-r2"
 DEPEND="${RDEPEND}
-               dev-python/setuptools"
+       dev-python/setuptools"
+
+PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
 
-src_unpack() {
-       distutils_src_unpack
+PYTHON_MODNAME="fastcgi"
 
-       epatch "${FILESDIR}"/${P}-setup.patch
+src_prepare() {
+       distutils_src_prepare
+       epatch "${FILESDIR}/${P}-setup.patch"
 }