Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/testfixtures/
Date: Sat, 25 Jan 2020 20:54:36
Message-Id: 1579985652.80bb5d9e4fdacd527511c89c9b08b0fb38cae1fb.mgorny@gentoo
1 commit: 80bb5d9e4fdacd527511c89c9b08b0fb38cae1fb
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 25 20:41:44 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 25 20:54:12 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80bb5d9e
7
8 dev-python/testfixtures: Remove Python 2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/testfixtures/testfixtures-4.9.1.ebuild | 4 +---
13 dev-python/testfixtures/testfixtures-6.8.2.ebuild | 4 +---
14 2 files changed, 2 insertions(+), 6 deletions(-)
15
16 diff --git a/dev-python/testfixtures/testfixtures-4.9.1.ebuild b/dev-python/testfixtures/testfixtures-4.9.1.ebuild
17 index 7c2dbd6ada6..60bd10d75f5 100644
18 --- a/dev-python/testfixtures/testfixtures-4.9.1.ebuild
19 +++ b/dev-python/testfixtures/testfixtures-4.9.1.ebuild
20 @@ -3,7 +3,7 @@
21
22 EAPI=6
23
24 -PYTHON_COMPAT=( python2_7 python3_6 )
25 +PYTHON_COMPAT=( python3_6 )
26
27 inherit distutils-r1
28
29 @@ -21,14 +21,12 @@ DEPEND="
30 dev-python/setuptools[${PYTHON_USEDEP}]
31 doc? (
32 dev-python/sphinx[${PYTHON_USEDEP}]
33 - $(python_gen_cond_dep 'dev-python/pkginfo[${PYTHON_USEDEP}]' python2_7 pypy )
34 )
35 test? (
36 dev-python/manuel[${PYTHON_USEDEP}]
37 dev-python/nose[${PYTHON_USEDEP}]
38 dev-python/nose-cover3[${PYTHON_USEDEP}]
39 dev-python/nose_fixes[${PYTHON_USEDEP}]
40 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)
41 )"
42
43 python_prepare_all() {
44
45 diff --git a/dev-python/testfixtures/testfixtures-6.8.2.ebuild b/dev-python/testfixtures/testfixtures-6.8.2.ebuild
46 index a3b4728a12a..a827aad44dd 100644
47 --- a/dev-python/testfixtures/testfixtures-6.8.2.ebuild
48 +++ b/dev-python/testfixtures/testfixtures-6.8.2.ebuild
49 @@ -3,7 +3,7 @@
50
51 EAPI=7
52
53 -PYTHON_COMPAT=( python2_7 python3_{6,7} )
54 +PYTHON_COMPAT=( python3_{6,7} )
55
56 inherit distutils-r1
57
58 @@ -21,11 +21,9 @@ DEPEND="
59 dev-python/setuptools[${PYTHON_USEDEP}]
60 doc? (
61 dev-python/sphinx[${PYTHON_USEDEP}]
62 - $(python_gen_cond_dep 'dev-python/pkginfo[${PYTHON_USEDEP}]' python2_7 pypy )
63 )
64 test? (
65 dev-python/django[${PYTHON_USEDEP}]
66 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)
67 dev-python/pytest[${PYTHON_USEDEP}]
68 dev-python/pytest-django[${PYTHON_USEDEP}]
69 dev-python/sybil[${PYTHON_USEDEP}]