1 |
commit: d881fc3d5ddc12ff562d994a62b53d61c009dd9f |
2 |
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 9 01:54:13 2022 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 9 02:54:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d881fc3d |
7 |
|
8 |
app-admin/setools: Drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
12 |
|
13 |
app-admin/setools/Manifest | 1 - |
14 |
.../setools/files/setools-4.3.0-remove-gui.patch | 16 ------- |
15 |
app-admin/setools/setools-4.3.0.ebuild | 50 ---------------------- |
16 |
3 files changed, 67 deletions(-) |
17 |
|
18 |
diff --git a/app-admin/setools/Manifest b/app-admin/setools/Manifest |
19 |
index 8e30ccb5acea..56a07eb8e38a 100644 |
20 |
--- a/app-admin/setools/Manifest |
21 |
+++ b/app-admin/setools/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST setools-4.3.0.tar.bz2 249694 BLAKE2B 03d689f0f7dcc5ad7cf1ed114b7466aa0add96b70aa4b4a0a563805ad58cd1bde5651b155d202835e238aee9f07bf7595bfb09c20d2984ef6b921866ac1dca2e SHA512 f2ef045e76223918f16d8b0d8365166d6afa320558269be96f3a8875189607253056179092fb8134aaa2e50a5d0862f246c0aa0f8d33060919f4bc1257c109d8 |
24 |
DIST setools-4.4.0.tar.bz2 275218 BLAKE2B f716a78dd628e0309d3802f2155ef3a045dd8ebee7dec42be9f8b5fc0069b0df4e3d827b0a0cc03f7f02f5a3dff1d7ab7e4eee0d83d6cf4c87af82fe756a9321 SHA512 2ec92d7a6e30261549b6a8d2f17175d4a7d8313ef0cd81f4a19a91c53fe0107bac9a89c19dd67a4c534ee51ec520590795b4312f9e03e69fdf1763b0c35291f8 |
25 |
|
26 |
diff --git a/app-admin/setools/files/setools-4.3.0-remove-gui.patch b/app-admin/setools/files/setools-4.3.0-remove-gui.patch |
27 |
deleted file mode 100644 |
28 |
index 85abbf5a7aa3..000000000000 |
29 |
--- a/app-admin/setools/files/setools-4.3.0-remove-gui.patch |
30 |
+++ /dev/null |
31 |
@@ -1,16 +0,0 @@ |
32 |
---- a/setup.py |
33 |
-+++ b/setup.py |
34 |
-@@ -146,10 +146,10 @@ setup(name='setools', |
35 |
- author_email='pebenito@××××.org', |
36 |
- url='https://github.com/SELinuxProject/setools', |
37 |
- cmdclass={'build_qhc': QtHelpCommand, 'clean': CleanCommand}, |
38 |
-- packages=['setools', 'setools.diff', 'setoolsgui', 'setoolsgui.apol'], |
39 |
-- scripts=['apol', 'sediff', 'seinfo', 'seinfoflow', 'sesearch', 'sedta'], |
40 |
-+ packages=['setools', 'setools.diff'], |
41 |
-+ scripts=['sediff', 'seinfo', 'seinfoflow', 'sesearch', 'sedta'], |
42 |
- data_files=installed_data, |
43 |
-- package_data={'': ['*.ui', '*.qhc', '*.qch'], 'setools': ['perm_map']}, |
44 |
-+ package_data={'setools': ['perm_map']}, |
45 |
- ext_modules=cythonize(ext_py_mods, include_path=['setools/policyrep'], |
46 |
- annotate=cython_annotate, |
47 |
- compiler_directives={"language_level": 3, |
48 |
|
49 |
diff --git a/app-admin/setools/setools-4.3.0.ebuild b/app-admin/setools/setools-4.3.0.ebuild |
50 |
deleted file mode 100644 |
51 |
index 19992dacb4a2..000000000000 |
52 |
--- a/app-admin/setools/setools-4.3.0.ebuild |
53 |
+++ /dev/null |
54 |
@@ -1,50 +0,0 @@ |
55 |
-# Copyright 1999-2021 Gentoo Authors |
56 |
-# Distributed under the terms of the GNU General Public License v2 |
57 |
- |
58 |
-EAPI="7" |
59 |
-PYTHON_COMPAT=( python{3_7,3_8,3_9} ) |
60 |
- |
61 |
-inherit distutils-r1 |
62 |
- |
63 |
-DESCRIPTION="Policy Analysis Tools for SELinux" |
64 |
-HOMEPAGE="https://github.com/SELinuxProject/setools/wiki" |
65 |
- |
66 |
-if [[ ${PV} == 9999 ]] ; then |
67 |
- inherit git-r3 |
68 |
- EGIT_REPO_URI="https://github.com/SELinuxProject/setools.git" |
69 |
-else |
70 |
- SRC_URI="https://github.com/SELinuxProject/setools/releases/download/${PV}/${P}.tar.bz2" |
71 |
- KEYWORDS="amd64 ~arm ~arm64 x86" |
72 |
-fi |
73 |
- |
74 |
-LICENSE="GPL-2 LGPL-2.1" |
75 |
-SLOT="0" |
76 |
-IUSE="X test" |
77 |
-RESTRICT="!test? ( test )" |
78 |
-S="${WORKDIR}/${PN}" |
79 |
- |
80 |
-RDEPEND="${PYTHON_DEPS} |
81 |
- >=dev-python/networkx-2.0[${PYTHON_USEDEP}] |
82 |
- >=sys-libs/libsepol-2.8:= |
83 |
- >=sys-libs/libselinux-2.8:= |
84 |
- X? ( |
85 |
- dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] |
86 |
- )" |
87 |
-DEPEND="${RDEPEND}" |
88 |
-BDEPEND=">=dev-python/cython-0.27 |
89 |
- test? ( |
90 |
- sys-apps/checkpolicy |
91 |
- )" |
92 |
- |
93 |
-python_prepare_all() { |
94 |
- sed -i "s/'-Werror', //" "${S}"/setup.py || die "failed to remove Werror" |
95 |
- sed -i "s@^lib_dirs = .*@lib_dirs = ['${ROOT:-/}usr/$(get_libdir)']@" "${S}"/setup.py || \ |
96 |
- die "failed to set lib_dirs" |
97 |
- |
98 |
- use X || local PATCHES=( "${FILESDIR}"/setools-4.3.0-remove-gui.patch ) |
99 |
- distutils-r1_python_prepare_all |
100 |
-} |
101 |
- |
102 |
-python_test() { |
103 |
- esetup.py test |
104 |
-} |