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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4180C158090 for ; Tue, 17 May 2022 07:21:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 87DE4E081E; Tue, 17 May 2022 07:21:12 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6FB82E081E for ; Tue, 17 May 2022 07:21:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 82BAE3415F7 for ; Tue, 17 May 2022 07:21:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C2F3FDC for ; Tue, 17 May 2022 07:21:09 +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: <1652772060.7fa4b885130b54db9458984e9003aa29f2d01b46.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/paste/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/paste/paste-3.5.0-r2.ebuild X-VCS-Directories: dev-python/paste/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7fa4b885130b54db9458984e9003aa29f2d01b46 X-VCS-Branch: master Date: Tue, 17 May 2022 07:21:09 +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: 53e28ce7-d080-42cb-85ba-9c7bc24b4b65 X-Archives-Hash: aed183e751a0a0ee0f0f2271d4ce0699 commit: 7fa4b885130b54db9458984e9003aa29f2d01b46 Author: Michał Górny gentoo org> AuthorDate: Tue May 17 07:08:01 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue May 17 07:21:00 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fa4b885 dev-python/paste: Enable py3.11 Signed-off-by: Michał Górny gentoo.org> dev-python/paste/paste-3.5.0-r2.ebuild | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/dev-python/paste/paste-3.5.0-r2.ebuild b/dev-python/paste/paste-3.5.0-r2.ebuild index 98ae3580d026..a89c1a5d2dda 100644 --- a/dev-python/paste/paste-3.5.0-r2.ebuild +++ b/dev-python/paste/paste-3.5.0-r2.ebuild @@ -4,13 +4,17 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_COMPAT=( python3_{8..11} pypy3 ) inherit distutils-r1 MY_P="Paste-${PV}" DESCRIPTION="Tools for using a Web Server Gateway Interface stack" -HOMEPAGE="https://pypi.org/project/Paste/" +HOMEPAGE=" + https://pythonpaste.readthedocs.io/en/latest/ + https://github.com/cdent/paste/ + https://pypi.org/project/Paste/ +" SRC_URI="mirror://pypi/${MY_P::1}/${PN^}/${MY_P}.tar.gz" S=${WORKDIR}/${MY_P} @@ -26,12 +30,21 @@ RDEPEND=" distutils_enable_tests pytest distutils_enable_sphinx docs -EPYTEST_DESELECT=( - # Internet - tests/test_proxy.py -) - python_compile() { distutils-r1_python_compile find "${BUILD_DIR}" -name '*.pth' -delete || die } + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_proxy.py + ) + + [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( + # fails due to cgi deprecation warning + tests/test_cgiapp.py::test_form + ) + + epytest +}