summaryrefslogtreecommitdiff
path: root/dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
commitd18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch)
tree4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild
parente748ba9741f6540f4675c23e3e37b73e822c13a4 (diff)
gentoo resync : 15.06.2021
Diffstat (limited to 'dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild')
-rw-r--r--dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild14
1 files changed, 2 insertions, 12 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..57f05c1b324d 100644
--- a/dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild
+++ b/dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
BDEPEND="
test? (
@@ -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