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: Fri, 24 Jun 2022 08:41:05
Message-Id: 1656060043.521fe80470780c46c7f69a26cdaf52b798368e4f.kensington@gentoo
1 commit: 521fe80470780c46c7f69a26cdaf52b798368e4f
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 24 08:40:43 2022 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 24 08:40:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=521fe804
7
8 sys-libs/libapparmor: remove 3.0.3-r0
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org>
12
13 sys-libs/libapparmor/libapparmor-3.0.3.ebuild | 97 ---------------------------
14 1 file changed, 97 deletions(-)
15
16 diff --git a/sys-libs/libapparmor/libapparmor-3.0.3.ebuild b/sys-libs/libapparmor/libapparmor-3.0.3.ebuild
17 deleted file mode 100644
18 index c7bd9822dee5..000000000000
19 --- a/sys-libs/libapparmor/libapparmor-3.0.3.ebuild
20 +++ /dev/null
21 @@ -1,97 +0,0 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=8
26 -
27 -DISTUTILS_OPTIONAL=1
28 -PYTHON_COMPAT=( python3_{8..10} )
29 -GENTOO_DEPEND_ON_PERL="no"
30 -
31 -inherit autotools distutils-r1 perl-functions
32 -
33 -MY_PV="$(ver_cut 1-2)"
34 -
35 -DESCRIPTION="Library to support AppArmor userspace utilities"
36 -HOMEPAGE="https://gitlab.com/apparmor/apparmor/wikis/home"
37 -SRC_URI="https://launchpad.net/apparmor/${MY_PV}/${PV}/+download/apparmor-${PV}.tar.gz"
38 -
39 -LICENSE="GPL-2 LGPL-2.1"
40 -SLOT="0"
41 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
42 -IUSE="doc +perl +python static-libs"
43 -
44 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
45 -
46 -RDEPEND="perl? ( dev-lang/perl:= )
47 - python? ( ${PYTHON_DEPS} )"
48 -DEPEND="${RDEPEND}"
49 -BDEPEND="
50 - sys-devel/autoconf-archive
51 - sys-devel/bison
52 - sys-devel/flex
53 - doc? ( dev-lang/perl )
54 - perl? ( dev-lang/swig )
55 - python? ( dev-lang/swig )"
56 -
57 -S=${WORKDIR}/apparmor-${PV}/libraries/${PN}
58 -
59 -# depends on the package already being installed
60 -RESTRICT="test"
61 -
62 -src_prepare() {
63 - rm -r m4 || die "failed to remove bundled macros"
64 - default
65 - eautoreconf
66 - use python && distutils-r1_src_prepare
67 -}
68 -
69 -src_configure() {
70 - econf \
71 - $(use_enable static-libs static) \
72 - $(use_with perl) \
73 - $(use_with python)
74 -}
75 -
76 -src_compile() {
77 - emake -C src
78 - emake -C include
79 - use doc && emake -C doc
80 - use perl && emake -C swig/perl
81 -
82 - if use python ; then
83 - pushd swig/python > /dev/null
84 - emake libapparmor_wrap.c
85 - distutils-r1_src_compile
86 - popd > /dev/null
87 - fi
88 -}
89 -
90 -src_install() {
91 - emake DESTDIR="${D}" -C src install
92 - emake DESTDIR="${D}" -C include install
93 - use doc && emake DESTDIR="${D}" -C doc install
94 -
95 - if use perl ; then
96 - emake DESTDIR="${D}" -C swig/perl install
97 - perl_set_version
98 - insinto "${VENDOR_ARCH}"
99 - doins swig/perl/LibAppArmor.pm
100 -
101 - # bug 620886
102 - perl_delete_localpod
103 - perl_fix_packlist
104 - fi
105 -
106 - if use python ; then
107 - pushd swig/python > /dev/null
108 - distutils-r1_src_install
109 -
110 - python_moduleinto LibAppArmor
111 - python_foreach_impl python_domodule LibAppArmor.py
112 - popd > /dev/null
113 - fi
114 -
115 - dodoc AUTHORS ChangeLog NEWS README
116 -
117 - find "${D}" -name '*.la' -delete || die
118 -}