diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-24 18:10:43 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-24 18:10:43 +0000 |
commit | ba2a45a820a0252be8c74ddb3668a29dbaa86401 (patch) | |
tree | d4f149d24d5a94c91ab5f59d8e7c3bd8c3d74812 /dev-python/webpy | |
parent | Never set LD_LIBRARY_PATH, use LDPATH (diff) | |
download | historical-ba2a45a820a0252be8c74ddb3668a29dbaa86401.tar.gz historical-ba2a45a820a0252be8c74ddb3668a29dbaa86401.tar.bz2 historical-ba2a45a820a0252be8c74ddb3668a29dbaa86401.zip |
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python/webpy')
-rw-r--r-- | dev-python/webpy/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/webpy/Manifest | 4 | ||||
-rw-r--r-- | dev-python/webpy/webpy-0.34.ebuild | 34 |
3 files changed, 28 insertions, 16 deletions
diff --git a/dev-python/webpy/ChangeLog b/dev-python/webpy/ChangeLog index 7bf7185706d2..15104a8a6811 100644 --- a/dev-python/webpy/ChangeLog +++ b/dev-python/webpy/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/webpy # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/webpy/ChangeLog,v 1.15 2010/06/01 08:57:40 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/webpy/ChangeLog,v 1.16 2010/06/24 18:10:43 arfrever Exp $ + + 24 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + webpy-0.34.ebuild: + Set SUPPORT_PYTHON_ABIS. 01 Jun 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> webpy-0.32.ebuild: x86 stable wrt bug #321431 diff --git a/dev-python/webpy/Manifest b/dev-python/webpy/Manifest index 78180d2ac2aa..de4292735f51 100644 --- a/dev-python/webpy/Manifest +++ b/dev-python/webpy/Manifest @@ -3,6 +3,6 @@ DIST web.py-0.32.tar.gz 97552 RMD160 3aed38884246895da70e855fca661d02a048711c SH DIST web.py-0.34.tar.gz 79925 RMD160 84e9247c361dfd0e0d40c68c65f09fc712169ee1 SHA1 bd8ef2acd643702279348e57f6ac8dd1750f72f5 SHA256 53d350c83fec92f2638326bb5f97daace753c4f1e7cc2b007d8866469c11995e EBUILD webpy-0.31.ebuild 735 RMD160 47c0d378b9a7015124c3cf923e8aefba8204a817 SHA1 7b7f0bb9028292815247aabe7ec0ffc02f06340a SHA256 08c3f5bbc7f32f94a46357fc2975bb4c6412da26daaa6d31a3cfa883a2ca2c70 EBUILD webpy-0.32.ebuild 761 RMD160 444895eabe08fe96a6aa006cc37b5120fc0a8823 SHA1 14ec1f80007feb09c2372c29208097901a6acb7e SHA256 5e29fb7c699857d941bc742c69af98e92cfb0e638d7d8d821921f5ee48d6c06a -EBUILD webpy-0.34.ebuild 763 RMD160 f66b16220b18250605797b8a2a338ef20852ea3c SHA1 d9753b3bf59398e7e5a7568f6ff33fb9c18b2b95 SHA256 fea7d0623687b0cbeeaf035c61a2da47aadbb7054ac792fdc6a97d474e200bca -MISC ChangeLog 1974 RMD160 baad3b16e33e6490df098c3224422459b583ea75 SHA1 3b2867daf7df6ff6ce8d7f69db442701a2e0aa4c SHA256 0fb3911b2ffb898d8bff1fb134883bc50c775bd0fd63c59d6687bf17a8592893 +EBUILD webpy-0.34.ebuild 976 RMD160 541d460fbfe17b43aab680459ad4ea9565459a3c SHA1 99bd773f95e322bf5003443932122897083d1f49 SHA256 51e9cba9ec8f405579f1d2bdeea7293dd8e7cceeda76707e40399785408e274c +MISC ChangeLog 2094 RMD160 f8d9a4f25f71f398b689a646f791a2468938a626 SHA1 2ac9d0e67841f30b85662ffc547380139390f101 SHA256 3a945034e1615723d292e8ab0c61cb1bf69a9b26b7215461bd2bf45f17848e89 MISC metadata.xml 324 RMD160 ef213d56e374aec414651133965fd37e5a57e2f6 SHA1 34018f1ff17c5d6c0129e75db713eb2b55370f2c SHA256 7ec3ce4112364dcb56aebca43eee836a162b39b8faef16c6a1c37719e556c00d diff --git a/dev-python/webpy/webpy-0.34.ebuild b/dev-python/webpy/webpy-0.34.ebuild index f8f45fffbe8b..9aa39cdecfbc 100644 --- a/dev-python/webpy/webpy-0.34.ebuild +++ b/dev-python/webpy/webpy-0.34.ebuild @@ -1,13 +1,18 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/webpy/webpy-0.34.ebuild,v 1.1 2010/05/25 10:28:24 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/webpy/webpy-0.34.ebuild,v 1.2 2010/06/24 18:10:43 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" inherit distutils MY_PN="web.py" -DESCRIPTION="A small and simple web framework for python" -HOMEPAGE="http://www.webpy.org" +DESCRIPTION="A small and simple web framework for Python" +HOMEPAGE="http://www.webpy.org http://pypi.python.org/pypi/web.py" SRC_URI="http://www.webpy.org/static/${MY_PN}-${PV}.tar.gz" LICENSE="public-domain" @@ -15,19 +20,22 @@ SLOT="0" KEYWORDS="~amd64 ~hppa ~x86 ~amd64-linux ~x86-linux" IUSE="" -DEPEND=">=dev-lang/python-2.3" -RDEPEND="${DEPEND}" +DEPEND="" +RDEPEND="" S="${WORKDIR}/web.py-${PV}" + PYTHON_MODNAME="web" src_test() { - TESTS="db template net http utils" - - cd "${S}" - - for TEST in ${TESTS} - do - ${python} web/${TEST}.py || die "Doctest in web/${TEST}.py failed!" - done + testing() { + local return_status="0" test tests="db http net template utils" + for test in ${tests}; do + echo "Running doctests in ${test}.py..." + "$(PYTHON)" web/${test}.py || return_status="$?" + done + + return "${return_status}" + } + python_execute_function testing } |