summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-10-01 02:19:14 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-10-01 02:19:14 +0000
commit2eb9df9ee0e8159dccb5a7eefa636e03ef4394ab (patch)
tree8d9ca7b3d16b70b1e6855165654549af8012fa84 /dev-python/pastedeploy
parentSet SUPPORT_PYTHON_ABIS. (diff)
downloadhistorical-2eb9df9ee0e8159dccb5a7eefa636e03ef4394ab.tar.gz
historical-2eb9df9ee0e8159dccb5a7eefa636e03ef4394ab.tar.bz2
historical-2eb9df9ee0e8159dccb5a7eefa636e03ef4394ab.zip
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-14469-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pastedeploy')
-rw-r--r--dev-python/pastedeploy/ChangeLog6
-rw-r--r--dev-python/pastedeploy/Manifest4
-rw-r--r--dev-python/pastedeploy/pastedeploy-1.3.3.ebuild36
3 files changed, 24 insertions, 22 deletions
diff --git a/dev-python/pastedeploy/ChangeLog b/dev-python/pastedeploy/ChangeLog
index 4ae659c40637..99bce7cb8986 100644
--- a/dev-python/pastedeploy/ChangeLog
+++ b/dev-python/pastedeploy/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pastedeploy
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pastedeploy/ChangeLog,v 1.6 2009/07/04 16:34:00 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pastedeploy/ChangeLog,v 1.7 2009/10/01 02:19:14 arfrever Exp $
+
+ 01 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pastedeploy-1.3.3.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
04 Jul 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
pastedeploy-1.3.3.ebuild:
diff --git a/dev-python/pastedeploy/Manifest b/dev-python/pastedeploy/Manifest
index c7ae3f3805f0..34c44e9f14c6 100644
--- a/dev-python/pastedeploy/Manifest
+++ b/dev-python/pastedeploy/Manifest
@@ -1,6 +1,6 @@
DIST PasteDeploy-1.3.1.tar.gz 27397 RMD160 72ce5acb08f889a9c0c694e1344bdb24067864ae SHA1 84cdb077618db0b0c03b91298e91f8db70082547 SHA256 71c81f5aa60af8238189bf85477d85e926d435df3a28b623842e83406f4a81a8
DIST PasteDeploy-1.3.3.tar.gz 30675 RMD160 3a3afb0405d31b0158a4b94f33e091f94f971900 SHA1 dcb3d4cff75ccb284fb8c738f0abe27600ed8546 SHA256 58b32ea12045389a57f340f973827a325e39ea426608858307f0ae33e4c30fb0
EBUILD pastedeploy-1.3.1.ebuild 1551 RMD160 da9bbad2b4ce857ee7aa7f402c12e900eceef2d3 SHA1 be4e06f3f686fed27c040d7dc7a9b825b26ce203 SHA256 2cb98f66dc0cad1c3675502e4a31d38a031a54bf84cd5317a8abb80ba8f554db
-EBUILD pastedeploy-1.3.3.ebuild 1524 RMD160 f71bc40879afc80f242e22df83f1d704a11ee3ba SHA1 77177a7629f1395e8df312da922bc49f148b099c SHA256 da767a5c985a9e95f415cac5fcec0ffab29559b08e7a93b31b7374ba5706707e
-MISC ChangeLog 1189 RMD160 1731800c8972bff7958954fe83a9a579c60d94fc SHA1 a26a7982a1310e621f3092e06858fc7152650b7d SHA256 ae9b80726dfbe2ba7165ee0225c3109565fd316bc22aee3f397f1c342d01312b
+EBUILD pastedeploy-1.3.3.ebuild 1293 RMD160 962719ff3dcc33828b6059827e1089943b52ebb0 SHA1 2a470c0f7b81b22d983b82fdf9c1f7609c957d6d SHA256 fe24b570bb1e22ec06d47bace81bd1594c968801583b0286b613aae845f148d9
+MISC ChangeLog 1318 RMD160 dea422e0821038ddb4dc5235482af9fecac31c8a SHA1 cb02d8528a0286b19290df1d5a7674a271a46967 SHA256 5ef075641a433ac8f687a5cd1b197ddcd1c04bbecda2c2768bf76e8de5c3ba46
MISC metadata.xml 657 RMD160 dd09bcd9b74c23178b0e8db55e36c29979ac9864 SHA1 8c7b1695eb3f342dd673858763eea87282fbea79 SHA256 e4f4a1b913c8ab000ef26d3723646b6fde9cf053ab058bfe1fac6fd43cf136ac
diff --git a/dev-python/pastedeploy/pastedeploy-1.3.3.ebuild b/dev-python/pastedeploy/pastedeploy-1.3.3.ebuild
index 31617a37d1bf..9488a73edd6d 100644
--- a/dev-python/pastedeploy/pastedeploy-1.3.3.ebuild
+++ b/dev-python/pastedeploy/pastedeploy-1.3.3.ebuild
@@ -1,32 +1,33 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pastedeploy/pastedeploy-1.3.3.ebuild,v 1.2 2009/07/04 16:34:00 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pastedeploy/pastedeploy-1.3.3.ebuild,v 1.3 2009/10/01 02:19:13 arfrever Exp $
-NEED_PYTHON=2.4
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
inherit eutils distutils multilib
-KEYWORDS="~amd64 ~x86"
-
MY_PN=PasteDeploy
MY_P=${MY_PN}-${PV}
DESCRIPTION="Load, configure, and compose WSGI applications and servers"
HOMEPAGE="http://pythonpaste.org/deploy/"
SRC_URI="http://cheeseshop.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
LICENSE="MIT"
SLOT="0"
+KEYWORDS="~amd64 ~x86"
IUSE="doc test"
RDEPEND=""
DEPEND="dev-python/setuptools
doc? ( dev-python/buildutils dev-python/pygments dev-python/pudge )
test? ( dev-python/nose dev-python/py )"
+RESTRICT_PYTHON_ABIS="3.*"
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
PYTHON_MODNAME="paste/deploy"
-RESTRICT="test"
src_compile() {
distutils_src_compile
@@ -36,20 +37,17 @@ src_compile() {
fi
}
-src_install() {
- distutils_src_install
- use doc && dohtml -r docs/html/*
-}
-
src_test() {
- distutils_python_version
+ # Delete broken test.
+ rm -f tests/test_config_middleware.py
- # Tests can't import paste from site-packages
- # So we copy pastedeploy and paste under T.
- # FIXME This doesn't work. Couldn't figure out why -hawking.
- cp -pPR build/lib/paste "${T}" || die "couldn't copy pastedeploy."
- cp -pPR /usr/$(get_libdir)/python${PYVER}/site-packages/paste/* \
- "${T}"/paste/ || die "couldn't copy paste."
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests-${PYTHON_ABI}
+ }
+ python_execute_function testing
+}
- PYTHONPATH="${T}" "${python}" setup.py nosetests || die "tests failed"
+src_install() {
+ distutils_src_install
+ use doc && dohtml -r docs/html/*
}