commit:     e3d5caa093b27a2c7fb63b5f11df656829996134
Author:     Zamarin Arthur <arthurzam <AT> gmail <DOT> com>
AuthorDate: Wed May 19 06:55:57 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 19 07:31:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3d5caa0

dev-python/python-debian: bump to python 3.10

passes tests

Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/python-debian/python-debian-0.1.39.ebuild | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/dev-python/python-debian/python-debian-0.1.39.ebuild 
b/dev-python/python-debian/python-debian-0.1.39.ebuild
index 372a8043850..63a9d4c0230 100644
--- a/dev-python/python-debian/python-debian-0.1.39.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.39.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{7..10} )
 
 inherit distutils-r1
 
@@ -13,19 +13,18 @@ 
SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
 KEYWORDS="amd64 arm x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="
        dev-python/chardet[${PYTHON_USEDEP}]
        dev-python/six[${PYTHON_USEDEP}]
 "
 
-BDEPEND="${RDEPEND}
-       dev-python/setuptools[${PYTHON_USEDEP}]
+BDEPEND="
        test? ( app-arch/dpkg )
 "
 
+distutils_enable_tests unittest
+
 PATCHES=( "${FILESDIR}/0.1.39-disable-apt-pkg.patch" )
 
 python_compile_all() {
@@ -33,5 +32,5 @@ python_compile_all() {
 }
 
 python_test() {
-       ${EPYTHON} -m unittest discover --verbose lib || die "Testing failed 
with ${EPYTHON}"
+       eunittest lib
 }

Reply via email to