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