Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/patch-ng/
Date: Tue, 14 Sep 2021 04:37:18
Message-Id: 1631594164.8838a2242019fb19c2a5c76cb33e7be8b74dfaa2.arthurzam@gentoo
1 commit: 8838a2242019fb19c2a5c76cb33e7be8b74dfaa2
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 14 04:36:04 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 14 04:36:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8838a224
7
8 dev-python/patch-ng: enable py3.10, EAPI=8
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/patch-ng/patch-ng-1.17.4.ebuild | 11 +++++------
13 1 file changed, 5 insertions(+), 6 deletions(-)
14
15 diff --git a/dev-python/patch-ng/patch-ng-1.17.4.ebuild b/dev-python/patch-ng/patch-ng-1.17.4.ebuild
16 index ccbdec8387b..ba2038b565a 100644
17 --- a/dev-python/patch-ng/patch-ng-1.17.4.ebuild
18 +++ b/dev-python/patch-ng/patch-ng-1.17.4.ebuild
19 @@ -1,14 +1,15 @@
20 -# Copyright 1999-2020 Gentoo Authors
21 +# Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=7
25 +EAPI=8
26
27 -PYTHON_COMPAT=( python3_{7..9} )
28 +PYTHON_COMPAT=( python3_{8..10} )
29 inherit distutils-r1
30
31 DESCRIPTION="Library to parse and apply unified diffs, fork of dev-python/patch"
32 HOMEPAGE="https://github.com/conan-io/python-patch-ng https://pypi.org/project/patch-ng/"
33 SRC_URI="https://github.com/conan-io/python-patch-ng/archive/${PV}.tar.gz -> ${P}.tar.gz"
34 +S="${WORKDIR}/python-${P}"
35
36 LICENSE="MIT"
37 SLOT="0"
38 @@ -16,8 +17,6 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
39
40 distutils_enable_tests unittest
41
42 -S="${WORKDIR}/python-${P}"
43 -
44 python_test() {
45 - "${EPYTHON}" -m unittest tests/run_tests.py || die "Tests failed under ${EPYTHON}"
46 + "${EPYTHON}" -m unittest -v tests/run_tests.py || die "Tests failed under ${EPYTHON}"
47 }