From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C6DE81382C5 for ; Tue, 1 Jun 2021 22:22:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D20AE07A7; Tue, 1 Jun 2021 22:22:58 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 809BBE07AE for ; Tue, 1 Jun 2021 22:22:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 51EDB340FA1 for ; Tue, 1 Jun 2021 22:22:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D4F2579C for ; Tue, 1 Jun 2021 22:22:55 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1622586149.caa27812fb0c397d8479c465d55a06706ed9a1c4.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/werkzeug/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild X-VCS-Directories: dev-python/werkzeug/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: caa27812fb0c397d8479c465d55a06706ed9a1c4 X-VCS-Branch: master Date: Tue, 1 Jun 2021 22:22:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cbdd3528-f902-4dfa-972d-d9139b13d3fc X-Archives-Hash: 674079357ecebeb1b5c07a338acc44d6 commit: caa27812fb0c397d8479c465d55a06706ed9a1c4 Author: Michał Górny gentoo org> AuthorDate: Fri May 21 13:15:38 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jun 1 22:22:29 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caa27812 dev-python/werkzeug: Reuse dift --via-venv Signed-off-by: Michał Górny 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 154eb8d2ded..bac6311782f 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