1 |
commit: 2e57e03669119191e7d0bb237aa22477205d3ec7 |
2 |
Author: Sven Vermeulen <swift <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 1 17:22:31 2017 +0000 |
4 |
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 1 17:22:31 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e57e036 |
7 |
|
8 |
app-admin/setools: Bump to 4.1.0 |
9 |
|
10 |
Drop arm, arm64 and mips keywords as the dependencies (networkx for instance) are not available there yet. |
11 |
|
12 |
Package-Manager: portage-2.3.3 |
13 |
|
14 |
app-admin/setools/Manifest | 1 + |
15 |
app-admin/setools/setools-4.1.0.ebuild | 53 ++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 54 insertions(+) |
17 |
|
18 |
diff --git a/app-admin/setools/Manifest b/app-admin/setools/Manifest |
19 |
index eb53483..b8918eb 100644 |
20 |
--- a/app-admin/setools/Manifest |
21 |
+++ b/app-admin/setools/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
DIST setools-3.3.8-04-gentoo-patches.tar.bz2 94986 SHA256 9a8a43ac97606fde9b2610ceed65f640638929853f871ce530982bedfd919b64 SHA512 39bf00b6aaf31821c6e2e2fb4c460dd1914fba4bf8385acebedf88f1533da990f1fb925dd49d75827aebef3f394a50a1edea46a07204193b58c65a066a064e6a WHIRLPOOL 4a92e4cf6930584de931c5d0805815aacd1c1af4434ca8e73414eda33588a55ef8d7bdfe4195be642889eee480128cbe12d1c5612e07ea304021b230e0b74816 |
24 |
DIST setools-3.3.8.tar.bz2 951428 SHA256 44387ecc9a231ec536a937783440cd8960a72c51f14bffc1604b7525e341e999 SHA512 2c42ee9904174ed6c6fc129e374ec3591925094ab0ef65001b0104e365c5634bf4a79f28369608c80199d8f59fafaa5f274107c04c129c380eeef7adb0c32667 WHIRLPOOL 11c4065809909764f4364b78df1a8030d189315601b882919ccacb5fb147c1b3a061c5bbf9ced3c243d4615ab7727e9db0c89e931a884ae8b317ae3a879e5371 |
25 |
DIST setools-4.0.1.tar.gz 399888 SHA256 4c2049877f2f68e4485b72bc280fe20127b49a019169a2cf1d8295c908bdcdfe SHA512 d0a36cfddc6a6f47ecaa8402141271558e97467b6c449d18b98bf6fe894189f29a32fb672e3ff573efdb44964bd361283c68c2906d02f8a9c1269b6b71903bc2 WHIRLPOOL 017e709c113b28175787249af8aa1dcc99a5034eadcc76e97a394f9f89afcc1e7fe3eeb8ec105c541a6260d8a2eb4b1aa8155ba2297ecdf6d640ba112857a442 |
26 |
+DIST setools-4.1.0.tar.gz 447189 SHA256 cc251572c50298e2705617c8a0ddb5ae7cfe0bde2480bc0c6a4e44341d3df831 SHA512 047f969a347c5d015885aef0c7a341ae4393c8e0d61a7112b7bd0380d7c6161765f1ac5d875777ac84430bbe4d21bcb8a748f1b8484ae3a4d3f0137e90a07f2b WHIRLPOOL 9b05768d55d4edcafe7f7f90e49fe3170659084a497f1bc74266270e8d242ae4173820058b598fb4452483e57303d11bf6bb4f2482144e9d2803369cf58b857c |
27 |
|
28 |
diff --git a/app-admin/setools/setools-4.1.0.ebuild b/app-admin/setools/setools-4.1.0.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000..c26cdd4 |
31 |
--- /dev/null |
32 |
+++ b/app-admin/setools/setools-4.1.0.ebuild |
33 |
@@ -0,0 +1,53 @@ |
34 |
+# Copyright 1999-2017 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+# $Id$ |
37 |
+ |
38 |
+EAPI="6" |
39 |
+PYTHON_COMPAT=( python2_7 python3_4 python3_5 ) |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+DESCRIPTION="Policy Analysis Tools for SELinux" |
44 |
+HOMEPAGE="https://github.com/TresysTechnology/setools/wiki" |
45 |
+ |
46 |
+if [[ ${PV} == 9999 ]] ; then |
47 |
+ inherit git-r3 |
48 |
+ EGIT_REPO_URI="https://github.com/TresysTechnology/setools.git" |
49 |
+else |
50 |
+ SRC_URI="https://github.com/TresysTechnology/setools/archive/${PV}.tar.gz -> ${P}.tar.gz" |
51 |
+ KEYWORDS="~amd64 ~x86" |
52 |
+fi |
53 |
+ |
54 |
+LICENSE="GPL-2 LGPL-2.1" |
55 |
+SLOT="0" |
56 |
+IUSE="X debug test" |
57 |
+ |
58 |
+RDEPEND="${PYTHON_DEPS} |
59 |
+ >=sys-libs/libselinux-2.4:=[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/networkx-1.8[${PYTHON_USEDEP}] |
61 |
+ app-arch/bzip2:= |
62 |
+ dev-libs/libpcre:= |
63 |
+ X? ( |
64 |
+ dev-python/PyQt5[gui,widgets] |
65 |
+ )" |
66 |
+ |
67 |
+DEPEND="${RDEPEND} |
68 |
+ >=dev-lang/swig-2.0.12:0 |
69 |
+ sys-devel/bison |
70 |
+ sys-devel/flex |
71 |
+ >=sys-libs/libsepol-2.5 |
72 |
+ test? ( |
73 |
+ python_targets_python2_7? ( dev-python/mock[${PYTHON_USEDEP}] ) |
74 |
+ dev-python/tox[${PYTHON_USEDEP}] |
75 |
+ )" |
76 |
+ |
77 |
+python_prepare_all() { |
78 |
+ sed -i "s/'-Werror', //" "${S}"/setup.py || die "failed to remove Werror" |
79 |
+ |
80 |
+ use X || local PATCHES=( "${FILESDIR}"/setools-4.0.1-remove-gui.patch ) |
81 |
+ distutils-r1_python_prepare_all |
82 |
+} |
83 |
+ |
84 |
+python_test() { |
85 |
+ esetup.py test |
86 |
+} |