From e3d5caa093b27a2c7fb63b5f11df656829996134 Mon Sep 17 00:00:00 2001 From: Zamarin Arthur Date: Wed, 19 May 2021 09:55:57 +0300 Subject: dev-python/python-debian: bump to python 3.10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit passes tests Signed-off-by: Zamarin Arthur Signed-off-by: Michał Górny --- dev-python/python-debian/python-debian-0.1.39.ebuild | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'dev-python/python-debian/python-debian-0.1.39.ebuild') 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 372a80438504..63a9d4c02307 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 } -- cgit v1.2.3