From 5ce9f52c05edbe92da383b16883fd2e8e3ac8530 Mon Sep 17 00:00:00 2001 From: Louis Sautier Date: Mon, 9 Aug 2021 00:11:09 +0200 Subject: [PATCH] dev-python/python-ldap: enable py3.10, use epytest Also remove reference to treecleaned pyldap. Signed-off-by: Louis Sautier --- dev-python/python-ldap/python-ldap-3.3.1.ebuild | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dev-python/python-ldap/python-ldap-3.3.1.ebuild b/dev-python/python-ldap/python-ldap-3.3.1.ebuild index ba9b8d5ece639..bd5fd8bb1e72f 100644 --- a/dev-python/python-ldap/python-ldap-3.3.1.ebuild +++ b/dev-python/python-ldap/python-ldap-3.3.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( pypy3 python3_{7..9} ) +PYTHON_COMPAT=( pypy3 python3_{7..10} ) inherit distutils-r1 @@ -25,7 +25,6 @@ IUSE="examples sasl ssl" # We do not need OpenSSL, it is never directly used: # https://github.com/python-ldap/python-ldap/issues/224 RDEPEND=" - !dev-python/pyldap >=dev-python/pyasn1-0.3.7[${PYTHON_USEDEP}] >=dev-python/pyasn1-modules-0.1.5[${PYTHON_USEDEP}] >net-nds/openldap-2.4.11:=[sasl?,ssl?] @@ -71,8 +70,7 @@ python_test() { t_slapdobject.py ) pushd Tests >/dev/null || die - pytest -vv ${ignored_tests[@]/#/--ignore } \ - || die "tests failed with ${EPYTHON}" + epytest ${ignored_tests[@]/#/--ignore } popd > /dev/null || die }