From dc447c754ec0ea1b2a918ff1ada4121ee5efb5b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 31 May 2023 11:58:27 +0200 Subject: [PATCH] dev-python/txrequests: Enable py3.12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/txrequests/txrequests-0.9.6-r1.ebuild | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/dev-python/txrequests/txrequests-0.9.6-r1.ebuild b/dev-python/txrequests/txrequests-0.9.6-r1.ebuild index d567f6b8f9f6e..035df39222d84 100644 --- a/dev-python/txrequests/txrequests-0.9.6-r1.ebuild +++ b/dev-python/txrequests/txrequests-0.9.6-r1.ebuild @@ -4,12 +4,15 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 pypi DESCRIPTION="Asynchronous Python HTTP for Humans" -HOMEPAGE="https://github.com/tardyp/txrequests" +HOMEPAGE=" + https://github.com/tardyp/txrequests/ + https://pypi.org/project/txrequests/ +" LICENSE="Apache-2.0" SLOT="0" @@ -21,7 +24,11 @@ RDEPEND=" >=dev-python/requests-1.2.0[${PYTHON_USEDEP}] dev-python/twisted[${PYTHON_USEDEP}] " -BDEPEND="test? ( ${RDEPEND} )" +BDEPEND=" + test? ( + ${RDEPEND} + ) +" python_test() { "${EPYTHON}" -m twisted.trial txrequests || die "Tests failed with ${EPYTHON}"