diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-05-17 09:32:17 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-05-17 09:38:44 +0200 |
commit | 8e58b9878b3563666e8a7ccaf7d268fd7bb58bb9 (patch) | |
tree | 32fc3525fc31b668c2bb9c1e90dede87ed9e9a7b /dev-python/beaker | |
parent | kde-apps/step: Fix configure with USE=-nls (diff) | |
download | gentoo-8e58b9878b3563666e8a7ccaf7d268fd7bb58bb9.tar.gz gentoo-8e58b9878b3563666e8a7ccaf7d268fd7bb58bb9.tar.bz2 gentoo-8e58b9878b3563666e8a7ccaf7d268fd7bb58bb9.zip |
dev-python/beaker: Support pycryptodome
Diffstat (limited to 'dev-python/beaker')
-rw-r--r-- | dev-python/beaker/beaker-1.8.1.ebuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/dev-python/beaker/beaker-1.8.1.ebuild b/dev-python/beaker/beaker-1.8.1.ebuild index 76ad4a3b3b75..c44df31f8d96 100644 --- a/dev-python/beaker/beaker-1.8.1.ebuild +++ b/dev-python/beaker/beaker-1.8.1.ebuild @@ -24,11 +24,20 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] $(python_gen_impl_dep sqlite) dev-python/mock[${PYTHON_USEDEP}] dev-python/nose[${PYTHON_USEDEP}] - dev-python/pycrypto[${PYTHON_USEDEP}] + || ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + dev-python/pycrypto[${PYTHON_USEDEP}] + ) dev-python/sqlalchemy[${PYTHON_USEDEP}] dev-python/webtest[${PYTHON_USEDEP}] )" +python_prepare_all() { + # disarm pycrypto dep to allow || ( pycryptodome pycrypto ) + sed -i -e "/TEST/s:'pycrypto'::" setup.py || die + distutils-r1_python_prepare_all +} + python_test() { esetup.py test } |