diff options
author | Ian Delaney <idella4@gentoo.org> | 2015-08-16 13:32:33 +0800 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2015-08-16 13:32:33 +0800 |
commit | 5af0dc4424114509ec3e5277d7a7690f23f8cdfd (patch) | |
tree | 3c4628e9672dc8e19f811eb49fc57b8a664416d8 /dev-python/beaker/beaker-1.7.0-r1.ebuild | |
parent | dev-php/PEAR-PEAR: Version bump for PHP7 compatible version (diff) | |
download | gentoo-5af0dc4424114509ec3e5277d7a7690f23f8cdfd.tar.gz gentoo-5af0dc4424114509ec3e5277d7a7690f23f8cdfd.tar.bz2 gentoo-5af0dc4424114509ec3e5277d7a7690f23f8cdfd.zip |
dev-python/beaker: patch to fix failed test, fixes bug #557026
Package-Manager: portage-2.2.20
Diffstat (limited to 'dev-python/beaker/beaker-1.7.0-r1.ebuild')
-rw-r--r-- | dev-python/beaker/beaker-1.7.0-r1.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-python/beaker/beaker-1.7.0-r1.ebuild b/dev-python/beaker/beaker-1.7.0-r1.ebuild index 13b2fe6c5a21..032a14b06487 100644 --- a/dev-python/beaker/beaker-1.7.0-r1.ebuild +++ b/dev-python/beaker/beaker-1.7.0-r1.ebuild @@ -27,8 +27,13 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] )" RDEPEND="" +# Py2.7 fais some tests without this +DISTUTILS_IN_SOURCE_BUILD=1 + S="${WORKDIR}/${P}dev" +PATCHES=( "${FILESDIR}"/${P}-cookie-testfix.patch ) + python_prepare_all() { # Workaround for http://bugs.python.org/issue11276. sed -e "s/import anydbm/& as anydbm/;/import anydbm/a dbm = anydbm" \ |