diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-05-21 15:15:38 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-06-02 00:22:29 +0200 |
commit | caa27812fb0c397d8479c465d55a06706ed9a1c4 (patch) | |
tree | bf640d4e68e26d2e949f54dffedfa7d68b2308ac /dev-python/werkzeug | |
parent | distutils-r1.eclass: Introduce dift --via-venv install mode (diff) | |
download | gentoo-caa27812fb0c397d8479c465d55a06706ed9a1c4.tar.gz gentoo-caa27812fb0c397d8479c465d55a06706ed9a1c4.tar.bz2 gentoo-caa27812fb0c397d8479c465d55a06706ed9a1c4.zip |
dev-python/werkzeug: Reuse dift --via-venv
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/werkzeug')
-rw-r--r-- | dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild b/dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild index 154eb8d2deda..bac6311782f1 100644 --- a/dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild +++ b/dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild @@ -39,18 +39,8 @@ PATCHES=( "${FILESDIR}"/${P}-py310.patch ) -src_prepare() { - distutils-r1_src_prepare - # prevent esetup.py install from zipping the egg - sed -i -e '/\[options\]/azip_safe = False' setup.cfg || die -} - python_test() { - "${EPYTHON}" -m venv --system-site-packages --without-pip \ - "${BUILD_DIR}"/venv || die - local -x PATH=${BUILD_DIR}/venv/bin:${PATH} - unset PYTHONPATH - esetup.py install + distutils_install_for_testing --via-venv # the default portage tempdir is too long for AF_UNIX sockets local -x TMPDIR=/tmp |