diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2011-08-06 16:20:30 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2011-08-06 16:20:30 +0000 |
commit | d0ce54015c772c6c6ddd865d1608ae2d246aa01e (patch) | |
tree | 7593beff53a29646e8d5d5860612e49b1ab01e59 /dev-python/beaker | |
parent | Mask sys-apps/hal and app-misc/hal-info (diff) | |
download | gentoo-2-d0ce54015c772c6c6ddd865d1608ae2d246aa01e.tar.gz gentoo-2-d0ce54015c772c6c6ddd865d1608ae2d246aa01e.tar.bz2 gentoo-2-d0ce54015c772c6c6ddd865d1608ae2d246aa01e.zip |
Ignore test failures with Jython. Simplify src_test(). Fix license. Patch by Arfrever.
(Portage version: 2.2.0_alpha50/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/beaker')
-rw-r--r-- | dev-python/beaker/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/beaker/beaker-1.5.4-r1.ebuild | 21 |
2 files changed, 12 insertions, 15 deletions
diff --git a/dev-python/beaker/ChangeLog b/dev-python/beaker/ChangeLog index c9b168123d53..49797fd2af53 100644 --- a/dev-python/beaker/ChangeLog +++ b/dev-python/beaker/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/beaker # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/beaker/ChangeLog,v 1.32 2011/04/18 23:15:48 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/beaker/ChangeLog,v 1.33 2011/08/06 16:20:30 hwoarang Exp $ + + 06 Aug 2011; Markos Chandras <hwoarang@gentoo.org> beaker-1.5.4-r1.ebuild: + Ignore test failures with Jython. Simplify src_test(). Fix license. Patch by + Arfrever. *beaker-1.5.4-r1 (18 Apr 2011) diff --git a/dev-python/beaker/beaker-1.5.4-r1.ebuild b/dev-python/beaker/beaker-1.5.4-r1.ebuild index 8fc6742b16b0..d81e401e89c7 100644 --- a/dev-python/beaker/beaker-1.5.4-r1.ebuild +++ b/dev-python/beaker/beaker-1.5.4-r1.ebuild @@ -1,11 +1,12 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/beaker/beaker-1.5.4-r1.ebuild,v 1.1 2011/04/18 23:15:48 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/beaker/beaker-1.5.4-r1.ebuild,v 1.2 2011/08/06 16:20:30 hwoarang Exp $ EAPI="3" SUPPORT_PYTHON_ABIS="1" -#PYTHON_TESTS_RESTRICTED_ABIS="3.*" -#DISTUTILS_SRC_TEST="nosetests" +PYTHON_TESTS_RESTRICTED_ABIS="3.*" +PYTHON_TESTS_FAILURES_TOLERANT_ABIS="*-jython" +DISTUTILS_SRC_TEST="nosetests" inherit distutils @@ -16,13 +17,13 @@ DESCRIPTION="A Session and Caching library with WSGI Middleware" HOMEPAGE="http://beaker.groovie.org/ http://pypi.python.org/pypi/Beaker" SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -LICENSE="MIT" +LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~arm ppc ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" IUSE="test" DEPEND="dev-python/setuptools - test? ( dev-python/nose dev-python/webtest )" + test? ( dev-python/webtest )" RDEPEND="" S="${WORKDIR}/${MY_P}" @@ -31,13 +32,5 @@ src_prepare() { distutils_src_prepare # Workaround for http://bugs.python.org/issue11276. - sed -e "s/import anydbm/& as anydbm/" -i beaker/container.py -} - -src_test() { - testing() { - [[ "${PYTHON_ABI}" == 3.* ]] && return - PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests - } - python_execute_function testing + sed -e "s/import anydbm/& as anydbm/;/import anydbm/a dbm = anydbm" -i beaker/container.py } |