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, 06 Jul 2017 12:37:31
Message-Id: 1499344638.7cf07b5b42679bc8810f1fd6b3f4bd92ced48e22.kensington@gentoo
1 commit: 7cf07b5b42679bc8810f1fd6b3f4bd92ced48e22
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 6 12:37:05 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 6 12:37:18 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cf07b5b
7
8 sys-libs/libapparmor: remove libapparmor-2.11.0-r0
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 sys-libs/libapparmor/libapparmor-2.11.0.ebuild | 89 --------------------------
13 1 file changed, 89 deletions(-)
14
15 diff --git a/sys-libs/libapparmor/libapparmor-2.11.0.ebuild b/sys-libs/libapparmor/libapparmor-2.11.0.ebuild
16 deleted file mode 100644
17 index 26e7c0b80b9..00000000000
18 --- a/sys-libs/libapparmor/libapparmor-2.11.0.ebuild
19 +++ /dev/null
20 @@ -1,89 +0,0 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=5
25 -
26 -AUTOTOOLS_AUTORECONF=1
27 -DISTUTILS_OPTIONAL=1
28 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
29 -GENTOO_DEPEND_ON_PERL="no"
30 -
31 -inherit autotools-utils distutils-r1 perl-module versionator
32 -
33 -MY_PV="$(get_version_component_range 1-2)"
34 -
35 -DESCRIPTION="Library to support AppArmor userspace utilities"
36 -HOMEPAGE="http://apparmor.net/"
37 -SRC_URI="https://launchpad.net/apparmor/${MY_PV}/${MY_PV}/+download/apparmor-${PV}.tar.gz"
38 -
39 -LICENSE="LGPL-2.1"
40 -SLOT="0"
41 -KEYWORDS="~amd64 ~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 -
49 -DEPEND="${RDEPEND}
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 -src_prepare() {
60 - rm -r m4 || die "failed to remove bundled macros"
61 - epatch "${FILESDIR}"/${PN}-2.10-symbol_visibility.patch
62 - autotools-utils_src_prepare
63 - use python && distutils-r1_src_prepare
64 -}
65 -
66 -src_configure() {
67 - local myeconfargs=(
68 - $(use_with perl) \
69 - $(use_with python)
70 - )
71 -
72 - autotools-utils_src_configure
73 -}
74 -
75 -src_compile() {
76 - autotools-utils_src_compile -C src
77 - autotools-utils_src_compile -C include
78 - use doc && autotools-utils_src_compile -C doc
79 - use perl && autotools-utils_src_compile -C swig/perl
80 -
81 - if use python ; then
82 - pushd "${BUILD_DIR}"/swig/python > /dev/null
83 - emake libapparmor_wrap.c
84 - distutils-r1_src_compile
85 - popd > /dev/null
86 - fi
87 -}
88 -
89 -src_install() {
90 - autotools-utils_src_install -C src
91 - autotools-utils_src_install -C include
92 - use doc && autotools-utils_src_install -C doc
93 -
94 - if use perl ; then
95 - autotools-utils_src_install -C swig/perl
96 - perl_set_version
97 - insinto "${VENDOR_ARCH}"
98 - doins "${BUILD_DIR}"/swig/perl/LibAppArmor.pm
99 - fi
100 -
101 - if use python ; then
102 - pushd "${BUILD_DIR}"/swig/python > /dev/null
103 - distutils-r1_src_install
104 -
105 - python_moduleinto LibAppArmor
106 - python_foreach_impl python_domodule LibAppArmor.py
107 - popd > /dev/null
108 - fi
109 -}