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: Sat, 03 Apr 2021 04:19:47
Message-Id: 1617423398.bf913b2fd128c12ef0b09ceca3a0ee962fd247ca.perfinion@gentoo
1 commit: bf913b2fd128c12ef0b09ceca3a0ee962fd247ca
2 Author: Jonathan Davies <jpds <AT> protonmail <DOT> com>
3 AuthorDate: Thu Mar 18 14:43:40 2021 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 3 04:16:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf913b2f
7
8 app-admin/setools: Sync live ebuild.
9
10 Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com>
11 Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
12
13 app-admin/setools/setools-9999.ebuild | 5 ++++-
14 1 file changed, 4 insertions(+), 1 deletion(-)
15
16 diff --git a/app-admin/setools/setools-9999.ebuild b/app-admin/setools/setools-9999.ebuild
17 index 4f559fc5bfc..f6471987e0c 100644
18 --- a/app-admin/setools/setools-9999.ebuild
19 +++ b/app-admin/setools/setools-9999.ebuild
20 @@ -3,6 +3,7 @@
21
22 EAPI="7"
23 PYTHON_COMPAT=( python{3_7,3_8,3_9} )
24 +DISTUTILS_USE_SETUPTOOLS=rdepend
25
26 inherit distutils-r1
27
28 @@ -25,6 +26,7 @@ S="${WORKDIR}/${PN}"
29
30 RDEPEND="${PYTHON_DEPS}
31 >=dev-python/networkx-2.0[${PYTHON_USEDEP}]
32 + dev-python/setuptools
33 >=sys-libs/libsepol-2.8:=
34 >=sys-libs/libselinux-2.8:=
35 X? (
36 @@ -32,6 +34,7 @@ RDEPEND="${PYTHON_DEPS}
37 )"
38 DEPEND="${RDEPEND}"
39 BDEPEND=">=dev-python/cython-0.27
40 + dev-python/setuptools
41 test? (
42 sys-apps/checkpolicy
43 )"
44 @@ -41,7 +44,7 @@ python_prepare_all() {
45 sed -i "s@^lib_dirs = .*@lib_dirs = ['${ROOT:-/}usr/$(get_libdir)']@" "${S}"/setup.py || \
46 die "failed to set lib_dirs"
47
48 - use X || local PATCHES=( "${FILESDIR}"/setools-4.3.0-remove-gui.patch )
49 + use X || local PATCHES=( "${FILESDIR}"/setools-4.4.0-remove-gui.patch )
50 distutils-r1_python_prepare_all
51 }