diff options
author | 2022-11-26 20:18:05 +0100 | |
---|---|---|
committer | 2022-11-26 23:10:50 +0100 | |
commit | 0083001fd7b5dc20f3334b356707b08e016bda16 (patch) | |
tree | a7e23d7abad98847b8b400db691f57bcb9fef67c /dev-python/httpauth/httpauth-0.3-r1.ebuild | |
parent | sys-apps/portage: warn about obsolete enotice in profile.bashrc (diff) | |
download | gentoo-0083001fd7b5dc20f3334b356707b08e016bda16.tar.gz gentoo-0083001fd7b5dc20f3334b356707b08e016bda16.tar.bz2 gentoo-0083001fd7b5dc20f3334b356707b08e016bda16.zip |
dev-python/httpauth: enable py3.11, drop nose
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'dev-python/httpauth/httpauth-0.3-r1.ebuild')
-rw-r--r-- | dev-python/httpauth/httpauth-0.3-r1.ebuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/dev-python/httpauth/httpauth-0.3-r1.ebuild b/dev-python/httpauth/httpauth-0.3-r1.ebuild index 703fdd988ecb..ae8ef46058ed 100644 --- a/dev-python/httpauth/httpauth-0.3-r1.ebuild +++ b/dev-python/httpauth/httpauth-0.3-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{8..10} ) +PYTHON_COMPAT=( pypy3 python3_{8..11} ) inherit distutils-r1 @@ -16,4 +16,12 @@ LICENSE="ISC" SLOT="0" KEYWORDS="~amd64 ~x86" -distutils_enable_tests nose +PATCHES=( + "${FILESDIR}/${P}-remove-nose-dependency.patch" +) + +distutils_enable_tests pytest + +python_test() { + epytest tests.py +} |