* [gentoo-dev] [PATCH 2/3] dev-python/werkzeug: Reuse dift --via-venv
@ 2021-05-21 14:20 99% ` Michał Górny
0 siblings, 0 replies; 1+ results
From: Michał Górny @ 2021-05-21 14:20 UTC (permalink / raw
To: gentoo-dev; +Cc: python, Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild | 12 +-----------
1 file changed, 1 insertion(+), 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 76e9a1859dab..0b427de76130 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
--
2.31.1
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2021-05-21 14:20 [gentoo-dev] [PATCH 1/3] distutils-r1.eclass: Introduce dift --via-venv install mode Michał Górny
2021-05-21 14:20 99% ` [gentoo-dev] [PATCH 2/3] dev-python/werkzeug: Reuse dift --via-venv Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox