Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/libarchive-c/
Date: Sat, 17 Jul 2021 04:16:52
Message-Id: 1626495208.008fadd363d9dd61c40e8620ff7cc6da2db3fc5d.sam@gentoo
1 commit: 008fadd363d9dd61c40e8620ff7cc6da2db3fc5d
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 17 04:12:40 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 17 04:13:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=008fadd3
7
8 dev-python/libarchive-c: run tests, add Python 3.10
9
10 Closes: https://bugs.gentoo.org/798090
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 dev-python/libarchive-c/libarchive-c-2.9.ebuild | 6 ++++--
14 1 file changed, 4 insertions(+), 2 deletions(-)
15
16 diff --git a/dev-python/libarchive-c/libarchive-c-2.9.ebuild b/dev-python/libarchive-c/libarchive-c-2.9.ebuild
17 index 836c869f14a..be036350471 100644
18 --- a/dev-python/libarchive-c/libarchive-c-2.9.ebuild
19 +++ b/dev-python/libarchive-c/libarchive-c-2.9.ebuild
20 @@ -2,8 +2,8 @@
21 # Distributed under the terms of the GNU General Public License v2
22
23 EAPI=7
24 -PYTHON_COMPAT=( python3_{7..9} )
25
26 +PYTHON_COMPAT=( python3_{8..10} )
27 inherit distutils-r1
28
29 DESCRIPTION="A Python interface to libarchive"
30 @@ -13,6 +13,8 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
31 LICENSE="CC0-1.0"
32 SLOT="0"
33 KEYWORDS="~amd64 ~ppc64 ~x86"
34 -IUSE=""
35
36 RDEPEND="app-arch/libarchive"
37 +BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )"
38 +
39 +distutils_enable_tests pytest