app-admin/setools: add python3_6 compat
authorJason Zaman <perfinion@gentoo.org>
Thu, 1 Mar 2018 14:54:28 +0000 (22:54 +0800)
committerJason Zaman <perfinion@gentoo.org>
Fri, 2 Mar 2018 06:06:14 +0000 (14:06 +0800)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-admin/setools/setools-4.1.1.ebuild
app-admin/setools/setools-9999.ebuild

index 28df40b3ee5535a4ea4c4943c5ae6b69ab8f90b3..f9967bce90f1ebd4f9bf7ecccf6e8d56c118fe5c 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
-PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
+PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
 
 inherit distutils-r1
 
index f1e79d0d936702df60346d7dd7acc4189b3f07fc..bc6d48e45d582b10b6fe2d4a1d5bee329862243b 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
-PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
+PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
 
 inherit distutils-r1
 
@@ -39,12 +39,13 @@ DEPEND="${RDEPEND}
        test? (
                python_targets_python2_7? ( dev-python/mock[${PYTHON_USEDEP}] )
                dev-python/tox[${PYTHON_USEDEP}]
+               sys-apps/checkpolicy
        )"
 
 python_prepare_all() {
        sed -i "s/'-Werror', //" "${S}"/setup.py || die "failed to remove Werror"
 
-       use X || local PATCHES=( "${FILESDIR}"/setools-4.1.0-remove-gui.patch )
+       use X || local PATCHES=( "${FILESDIR}"/setools-4.1.1-remove-gui.patch )
        distutils-r1_python_prepare_all
 }