commit:     008fadd363d9dd61c40e8620ff7cc6da2db3fc5d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 17 04:12:40 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 17 04:13:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=008fadd3

dev-python/libarchive-c: run tests, add Python 3.10

Closes: https://bugs.gentoo.org/798090
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/libarchive-c/libarchive-c-2.9.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/libarchive-c/libarchive-c-2.9.ebuild 
b/dev-python/libarchive-c/libarchive-c-2.9.ebuild
index 836c869f14a..be036350471 100644
--- a/dev-python/libarchive-c/libarchive-c-2.9.ebuild
+++ b/dev-python/libarchive-c/libarchive-c-2.9.ebuild
@@ -2,8 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
 
+PYTHON_COMPAT=( python3_{8..10} )
 inherit distutils-r1
 
 DESCRIPTION="A Python interface to libarchive"
@@ -13,6 +13,8 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="CC0-1.0"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE=""
 
 RDEPEND="app-arch/libarchive"
+BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest

Reply via email to