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, 17 Aug 2019 10:09:30
Message-Id: 1566034003.e75ed03f03f8d41a3785ea777404d822730b9e61.perfinion@gentoo
1 commit: e75ed03f03f8d41a3785ea777404d822730b9e61
2 Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 17 09:26:43 2019 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 17 09:26:43 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e75ed03f
7
8 app-admin/setools: drop old
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.16
11 Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
12
13 app-admin/setools/Manifest | 1 -
14 app-admin/setools/setools-4.1.1.ebuild | 56 ----------------------------------
15 app-admin/setools/setools-4.2.0.ebuild | 49 -----------------------------
16 3 files changed, 106 deletions(-)
17
18 diff --git a/app-admin/setools/Manifest b/app-admin/setools/Manifest
19 index a80a8c13031..387b91c6a8d 100644
20 --- a/app-admin/setools/Manifest
21 +++ b/app-admin/setools/Manifest
22 @@ -1,3 +1,2 @@
23 DIST setools-4.1.1.tar.gz 461649 BLAKE2B a753718aa6a5de889ba7a2eea921340061edf1bcb0b572a365e858949a92d2f8a92a876be2e4bc539d85fa6029511ab6afabfbe8138cdb5a73b587a9b58551bb SHA512 2e55a3b07e2f94d7c84054f31d266567b9acc708fe2b0e16ac3ea24e8301c712bcf564ff915a6135a1a6ba6822682bb3a6530dae20161a832fb7048364acbd04
24 -DIST setools-4.2.0.tar.gz 363802 BLAKE2B a57a7d565bb6e91f67cba0516434d8a0d3635d0717e878d8ac43b6cf7de0884ea74152ec50e93554f7d1a75a4098db2241668e1765e7b069d23b6cc13d4b712e SHA512 b51f458f7f2d1b569f63478f53709268615f711104915cc2d5031b2049435e4f43a103ebe50c9797ebe4b2645bf1974c73c2f53e7f602ae03c47221edb89d680
25 DIST setools-4.2.1.tar.gz 365096 BLAKE2B f415ec15ce7caade2a511896c6027720ecd8b4fae938d9dee1e0b677388966557b9615503df58dd6057f5c0ef81690f753f3e1af773ef5fd8095b29aca0ab249 SHA512 7d00295fe7ff16e96e15266807f8e0a67cc2978f9051cd85afb9ee71ca7fad16ccf7421a4a163bb793950bc20a44f3cbb8409b4e0642d0f96cf7a3df7bc59c31
26
27 diff --git a/app-admin/setools/setools-4.1.1.ebuild b/app-admin/setools/setools-4.1.1.ebuild
28 deleted file mode 100644
29 index adcc2f5f92d..00000000000
30 --- a/app-admin/setools/setools-4.1.1.ebuild
31 +++ /dev/null
32 @@ -1,56 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="6"
37 -PYTHON_COMPAT=( python2_7 python3_5 python3_6 )
38 -
39 -inherit distutils-r1
40 -
41 -DESCRIPTION="Policy Analysis Tools for SELinux"
42 -HOMEPAGE="https://github.com/TresysTechnology/setools/wiki"
43 -
44 -if [[ ${PV} == 9999 ]] ; then
45 - inherit git-r3
46 - EGIT_REPO_URI="https://github.com/TresysTechnology/setools.git"
47 -else
48 - SRC_URI="https://github.com/TresysTechnology/setools/archive/${PV}.tar.gz -> ${P}.tar.gz"
49 - KEYWORDS="amd64 ~arm64 x86"
50 -fi
51 -
52 -LICENSE="GPL-2 LGPL-2.1"
53 -SLOT="0"
54 -IUSE="X debug test"
55 -
56 -RDEPEND="${PYTHON_DEPS}
57 - >=sys-libs/libsepol-2.7:=
58 - >=sys-libs/libselinux-2.7:=[${PYTHON_USEDEP}]
59 - >=dev-python/networkx-1.8[${PYTHON_USEDEP}]
60 - virtual/python-enum34[${PYTHON_USEDEP}]
61 - dev-libs/libpcre:=
62 - X? (
63 - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
64 - )"
65 -
66 -DEPEND="${RDEPEND}
67 - >=dev-lang/swig-2.0.12:0
68 - sys-devel/bison
69 - sys-devel/flex
70 - >=sys-libs/libsepol-2.5
71 - test? (
72 - python_targets_python2_7? ( dev-python/mock[${PYTHON_USEDEP}] )
73 - dev-python/tox[${PYTHON_USEDEP}]
74 - sys-apps/checkpolicy
75 - )"
76 -
77 -python_prepare_all() {
78 - sed -i "s/'-Werror', //" "${S}"/setup.py || die "failed to remove Werror"
79 - sed -i "s@^base_lib_dirs = .*@base_lib_dirs = ['${ROOT:-/}usr/$(get_libdir)']@g" "${S}"/setup.py || \
80 - die "failed to set base_lib_dirs"
81 -
82 - use X || local PATCHES=( "${FILESDIR}"/setools-4.1.1-remove-gui.patch )
83 - distutils-r1_python_prepare_all
84 -}
85 -
86 -python_test() {
87 - esetup.py test
88 -}
89
90 diff --git a/app-admin/setools/setools-4.2.0.ebuild b/app-admin/setools/setools-4.2.0.ebuild
91 deleted file mode 100644
92 index b1bf0e666c9..00000000000
93 --- a/app-admin/setools/setools-4.2.0.ebuild
94 +++ /dev/null
95 @@ -1,49 +0,0 @@
96 -# Copyright 1999-2019 Gentoo Authors
97 -# Distributed under the terms of the GNU General Public License v2
98 -
99 -EAPI="6"
100 -PYTHON_COMPAT=( python3_5 python3_6 )
101 -
102 -inherit distutils-r1
103 -
104 -DESCRIPTION="Policy Analysis Tools for SELinux"
105 -HOMEPAGE="https://github.com/SELinuxProject/setools/wiki"
106 -
107 -if [[ ${PV} == 9999 ]] ; then
108 - inherit git-r3
109 - EGIT_REPO_URI="https://github.com/SELinuxProject/setools.git"
110 -else
111 - SRC_URI="https://github.com/SELinuxProject/setools/archive/${PV}.tar.gz -> ${P}.tar.gz"
112 - KEYWORDS="amd64 ~arm64 x86"
113 -fi
114 -
115 -LICENSE="GPL-2 LGPL-2.1"
116 -SLOT="0"
117 -IUSE="X test"
118 -
119 -RDEPEND="${PYTHON_DEPS}
120 - >=dev-python/networkx-2.0[${PYTHON_USEDEP}]
121 - >=sys-libs/libsepol-2.8:=
122 - >=sys-libs/libselinux-2.8:=
123 - X? (
124 - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
125 - )"
126 -
127 -DEPEND="${RDEPEND}
128 - >=dev-python/cython-0.27
129 - test? (
130 - sys-apps/checkpolicy
131 - )"
132 -
133 -python_prepare_all() {
134 - sed -i "s/'-Werror', //" "${S}"/setup.py || die "failed to remove Werror"
135 - sed -i "s@^lib_dirs = .*@lib_dirs = ['${ROOT:-/}usr/$(get_libdir)']@" "${S}"/setup.py || \
136 - die "failed to set lib_dirs"
137 -
138 - use X || local PATCHES=( "${FILESDIR}"/setools-4.2.0-remove-gui.patch )
139 - distutils-r1_python_prepare_all
140 -}
141 -
142 -python_test() {
143 - esetup.py test
144 -}