Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libapparmor/
Date: Thu, 07 May 2020 13:41:55
Message-Id: 1588858886.b485badd3f44c926d38d34588ae769c480c76b44.kensington@gentoo
1 commit: b485badd3f44c926d38d34588ae769c480c76b44
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 7 13:41:26 2020 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu May 7 13:41:26 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b485badd
7
8 sys-libs/libapparmor: remove 2.13.3
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org>
12
13 sys-libs/libapparmor/Manifest | 1 -
14 sys-libs/libapparmor/libapparmor-2.13.3-r1.ebuild | 98 -----------------------
15 sys-libs/libapparmor/libapparmor-2.13.3.ebuild | 97 ----------------------
16 3 files changed, 196 deletions(-)
17
18 diff --git a/sys-libs/libapparmor/Manifest b/sys-libs/libapparmor/Manifest
19 index ac257fe0249..6a8b5e50bbe 100644
20 --- a/sys-libs/libapparmor/Manifest
21 +++ b/sys-libs/libapparmor/Manifest
22 @@ -1,2 +1 @@
23 -DIST apparmor-2.13.3.tar.gz 7384974 BLAKE2B fd519f7b845db3203c8f47ff5abc7d9f20a7947fe86799b6fffcfaabaf5130fe0aa6589314f201c1df59cfd0fb22b80a12d364e9ca1279b14ba89ec469e3b346 SHA512 137b2bf026ec655b662e9c264d7d48d878db474a3f1cc5a38bfd7df2f85b682bddb77b091ab5595178231a0a262c9ae9cdd61409461cd889bdee156906ef1141
24 DIST apparmor-2.13.4.tar.gz 7390179 BLAKE2B 49818a010d5e5757dd43710f2af925fbb62a9f8f9be74556ff31a9a8834bebac010762fc6bef3da8d295e487b65d0e0135f4be25bcb01a834846c5e5d65d92a4 SHA512 d42748bf36ae66849f79653a62d499e9d17a97c4d680fb653eb1c379d0593aaa09f7ddfc6f2fa0d2fb468bce05fb25444976f60a5ec24778fdd7ec20d1c13651
25
26 diff --git a/sys-libs/libapparmor/libapparmor-2.13.3-r1.ebuild b/sys-libs/libapparmor/libapparmor-2.13.3-r1.ebuild
27 deleted file mode 100644
28 index 0ccd35241d4..00000000000
29 --- a/sys-libs/libapparmor/libapparmor-2.13.3-r1.ebuild
30 +++ /dev/null
31 @@ -1,98 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -DISTUTILS_OPTIONAL=1
38 -PYTHON_COMPAT=( python3_{5,6,7,8} )
39 -GENTOO_DEPEND_ON_PERL="no"
40 -
41 -inherit autotools distutils-r1 perl-functions
42 -
43 -MY_PV="$(ver_cut 1-2)"
44 -
45 -DESCRIPTION="Library to support AppArmor userspace utilities"
46 -HOMEPAGE="https://gitlab.com/apparmor/apparmor/wikis/home"
47 -SRC_URI="https://launchpad.net/apparmor/${MY_PV}/${PV}/+download/apparmor-${PV}.tar.gz"
48 -
49 -LICENSE="GPL-2 LGPL-2.1"
50 -SLOT="0"
51 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
52 -IUSE="doc +perl +python static-libs"
53 -
54 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
55 -
56 -RDEPEND="perl? ( dev-lang/perl:= )
57 - python? ( ${PYTHON_DEPS} )"
58 -DEPEND="${RDEPEND}
59 - sys-devel/autoconf-archive
60 - sys-devel/bison
61 - sys-devel/flex
62 - doc? ( dev-lang/perl )
63 - perl? ( dev-lang/swig )
64 - python? ( dev-lang/swig )"
65 -
66 -S=${WORKDIR}/apparmor-${PV}/libraries/${PN}
67 -
68 -PATCHES=( "${FILESDIR}/${PN}-2.10-symbol_visibility.patch" )
69 -
70 -# depends on the package already being installed
71 -RESTRICT="test"
72 -
73 -src_prepare() {
74 - rm -r m4 || die "failed to remove bundled macros"
75 - default
76 - eautoreconf
77 - use python && distutils-r1_src_prepare
78 -}
79 -
80 -src_configure() {
81 - econf \
82 - $(use_enable static-libs static) \
83 - $(use_with perl) \
84 - $(use_with python)
85 -}
86 -
87 -src_compile() {
88 - emake -C src
89 - emake -C include
90 - use doc && emake -C doc
91 - use perl && emake -C swig/perl
92 -
93 - if use python ; then
94 - pushd swig/python > /dev/null
95 - emake libapparmor_wrap.c
96 - distutils-r1_src_compile
97 - popd > /dev/null
98 - fi
99 -}
100 -
101 -src_install() {
102 - emake DESTDIR="${D}" -C src install
103 - emake DESTDIR="${D}" -C include install
104 - use doc && emake DESTDIR="${D}" -C doc install
105 -
106 - if use perl ; then
107 - emake DESTDIR="${D}" -C swig/perl install
108 - perl_set_version
109 - insinto "${VENDOR_ARCH}"
110 - doins swig/perl/LibAppArmor.pm
111 -
112 - # bug 620886
113 - perl_delete_localpod
114 - perl_fix_packlist
115 - fi
116 -
117 - if use python ; then
118 - pushd swig/python > /dev/null
119 - distutils-r1_src_install
120 -
121 - python_moduleinto LibAppArmor
122 - python_foreach_impl python_domodule LibAppArmor.py
123 - popd > /dev/null
124 - fi
125 -
126 - dodoc AUTHORS ChangeLog NEWS README
127 -
128 - find "${D}" -name '*.la' -delete || die
129 -}
130
131 diff --git a/sys-libs/libapparmor/libapparmor-2.13.3.ebuild b/sys-libs/libapparmor/libapparmor-2.13.3.ebuild
132 deleted file mode 100644
133 index 2c6b7f9f553..00000000000
134 --- a/sys-libs/libapparmor/libapparmor-2.13.3.ebuild
135 +++ /dev/null
136 @@ -1,97 +0,0 @@
137 -# Copyright 1999-2020 Gentoo Authors
138 -# Distributed under the terms of the GNU General Public License v2
139 -
140 -EAPI=6
141 -
142 -DISTUTILS_OPTIONAL=1
143 -PYTHON_COMPAT=( python3_6 )
144 -GENTOO_DEPEND_ON_PERL="no"
145 -
146 -inherit autotools distutils-r1 eapi7-ver perl-functions
147 -
148 -MY_PV="$(ver_cut 1-2)"
149 -
150 -DESCRIPTION="Library to support AppArmor userspace utilities"
151 -HOMEPAGE="https://gitlab.com/apparmor/apparmor/wikis/home"
152 -SRC_URI="https://launchpad.net/apparmor/${MY_PV}/${PV}/+download/apparmor-${PV}.tar.gz"
153 -
154 -LICENSE="LGPL-2.1"
155 -SLOT="0"
156 -KEYWORDS="amd64 ~arm ~arm64 ~x86"
157 -IUSE="doc +perl +python static-libs"
158 -
159 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
160 -
161 -RDEPEND="perl? ( dev-lang/perl:= )
162 - python? ( ${PYTHON_DEPS} )"
163 -DEPEND="${RDEPEND}
164 - sys-devel/autoconf-archive
165 - sys-devel/bison
166 - sys-devel/flex
167 - doc? ( dev-lang/perl )
168 - perl? ( dev-lang/swig )
169 - python? ( dev-lang/swig )"
170 -
171 -S=${WORKDIR}/apparmor-${PV}/libraries/${PN}
172 -
173 -PATCHES=( "${FILESDIR}/${PN}-2.10-symbol_visibility.patch" )
174 -
175 -RESTRICT="test"
176 -
177 -src_prepare() {
178 - rm -r m4 || die "failed to remove bundled macros"
179 - default
180 - eautoreconf
181 - use python && distutils-r1_src_prepare
182 -}
183 -
184 -src_configure() {
185 - econf \
186 - $(use_enable static-libs static) \
187 - $(use_with perl) \
188 - $(use_with python)
189 -}
190 -
191 -src_compile() {
192 - emake -C src
193 - emake -C include
194 - use doc && emake -C doc
195 - use perl && emake -C swig/perl
196 -
197 - if use python ; then
198 - pushd swig/python > /dev/null
199 - emake libapparmor_wrap.c
200 - distutils-r1_src_compile
201 - popd > /dev/null
202 - fi
203 -}
204 -
205 -src_install() {
206 - emake DESTDIR="${D}" -C src install
207 - emake DESTDIR="${D}" -C include install
208 - use doc && emake DESTDIR="${D}" -C doc install
209 -
210 - if use perl ; then
211 - emake DESTDIR="${D}" -C swig/perl install
212 - perl_set_version
213 - insinto "${VENDOR_ARCH}"
214 - doins swig/perl/LibAppArmor.pm
215 -
216 - # bug 620886
217 - perl_delete_localpod
218 - perl_fix_packlist
219 - fi
220 -
221 - if use python ; then
222 - pushd swig/python > /dev/null
223 - distutils-r1_src_install
224 -
225 - python_moduleinto LibAppArmor
226 - python_foreach_impl python_domodule LibAppArmor.py
227 - popd > /dev/null
228 - fi
229 -
230 - dodoc AUTHORS ChangeLog NEWS README
231 -
232 - find "${D}" -name '*.la' -delete || die
233 -}