From 6161f66ab37d1e9d97decb4ea9d3082940321a5d Mon Sep 17 00:00:00 2001 From: Jason Zaman Date: Thu, 1 Mar 2018 22:54:28 +0800 Subject: [PATCH] app-admin/setools: add python3_6 compat Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- app-admin/setools/setools-4.1.1.ebuild | 4 ++-- app-admin/setools/setools-9999.ebuild | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app-admin/setools/setools-4.1.1.ebuild b/app-admin/setools/setools-4.1.1.ebuild index 28df40b3ee55..f9967bce90f1 100644 --- a/app-admin/setools/setools-4.1.1.ebuild +++ b/app-admin/setools/setools-4.1.1.ebuild @@ -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 diff --git a/app-admin/setools/setools-9999.ebuild b/app-admin/setools/setools-9999.ebuild index f1e79d0d9367..bc6d48e45d58 100644 --- a/app-admin/setools/setools-9999.ebuild +++ b/app-admin/setools/setools-9999.ebuild @@ -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 } -- 2.26.2