Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/setools/
Date: Fri, 02 Mar 2018 06:27:36
Message-Id: 1519970774.6161f66ab37d1e9d97decb4ea9d3082940321a5d.perfinion@gentoo
1 commit: 6161f66ab37d1e9d97decb4ea9d3082940321a5d
2 Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 1 14:54:28 2018 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 2 06:06:14 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6161f66a
7
8 app-admin/setools: add python3_6 compat
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 app-admin/setools/setools-4.1.1.ebuild | 4 ++--
13 app-admin/setools/setools-9999.ebuild | 7 ++++---
14 2 files changed, 6 insertions(+), 5 deletions(-)
15
16 diff --git a/app-admin/setools/setools-4.1.1.ebuild b/app-admin/setools/setools-4.1.1.ebuild
17 index 28df40b3ee5..f9967bce90f 100644
18 --- a/app-admin/setools/setools-4.1.1.ebuild
19 +++ b/app-admin/setools/setools-4.1.1.ebuild
20 @@ -1,8 +1,8 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 +# Copyright 1999-2018 Gentoo Foundation
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI="6"
26 -PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
27 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
28
29 inherit distutils-r1
30
31
32 diff --git a/app-admin/setools/setools-9999.ebuild b/app-admin/setools/setools-9999.ebuild
33 index f1e79d0d936..bc6d48e45d5 100644
34 --- a/app-admin/setools/setools-9999.ebuild
35 +++ b/app-admin/setools/setools-9999.ebuild
36 @@ -1,8 +1,8 @@
37 -# Copyright 1999-2017 Gentoo Foundation
38 +# Copyright 1999-2018 Gentoo Foundation
39 # Distributed under the terms of the GNU General Public License v2
40
41 EAPI="6"
42 -PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
43 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
44
45 inherit distutils-r1
46
47 @@ -39,12 +39,13 @@ DEPEND="${RDEPEND}
48 test? (
49 python_targets_python2_7? ( dev-python/mock[${PYTHON_USEDEP}] )
50 dev-python/tox[${PYTHON_USEDEP}]
51 + sys-apps/checkpolicy
52 )"
53
54 python_prepare_all() {
55 sed -i "s/'-Werror', //" "${S}"/setup.py || die "failed to remove Werror"
56
57 - use X || local PATCHES=( "${FILESDIR}"/setools-4.1.0-remove-gui.patch )
58 + use X || local PATCHES=( "${FILESDIR}"/setools-4.1.1-remove-gui.patch )
59 distutils-r1_python_prepare_all
60 }