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: Wed, 27 Jul 2016 15:50:50
Message-Id: 1469634634.f6676f3b00712c502cf79fa997b2e49585df51e9.kensington@gentoo
1 commit: f6676f3b00712c502cf79fa997b2e49585df51e9
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 27 15:50:29 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 27 15:50:34 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6676f3b
7
8 sys-libs/libapparmor: remove old
9
10 Package-Manager: portage-2.3.0
11
12 sys-libs/libapparmor/Manifest | 1 -
13 sys-libs/libapparmor/libapparmor-2.10.ebuild | 88 ----------------------------
14 2 files changed, 89 deletions(-)
15
16 diff --git a/sys-libs/libapparmor/Manifest b/sys-libs/libapparmor/Manifest
17 index e3a788d..c80bc76 100644
18 --- a/sys-libs/libapparmor/Manifest
19 +++ b/sys-libs/libapparmor/Manifest
20 @@ -1,2 +1 @@
21 DIST apparmor-2.10.1.tar.gz 4494037 SHA256 07a76f338304baadc4ad69d025fe000b1ab4779a251ae8f338afdc13ef1e0f24 SHA512 93992c25f77bb46389160df8324c811b4c2f0fad4b425902b30ce31d6e1f3a0efe6b359c6f8348ef646f8b527584e1f19eb4f46b27fb1ba742489ad09d171278 WHIRLPOOL d59d935db520d3c59bd0398727a1151b3280c2bf56e8f978c3595f50ff06cb70aaddc0313a7d16705b8eadeb2018aeef7ce585423c3a6ed7c34dfd4e06df9c25
22 -DIST apparmor-2.10.tar.gz 2421759 SHA256 4d0e224257a29671b694bd9054edf0dd213aa690fd02844ecf3329b86ac506f4 SHA512 f659bc0efca3b0cf30dd5420427f0756a86bb9d5bbb12abe82aa60eb4a7ead7848a2b2d9d9ca9cea28161a9e998c9923cdea55d38755144e3d34da1a5ad52fdd WHIRLPOOL 762e2e12c6b6a9110c91a11578ef4d83a9a774b3a882a3a08ab4a5af3a16e53f66211fc6b4e68c8ef2a47ec0c312287864584640b0d2fe3c327d95525be710f8
23
24 diff --git a/sys-libs/libapparmor/libapparmor-2.10.ebuild b/sys-libs/libapparmor/libapparmor-2.10.ebuild
25 deleted file mode 100644
26 index 9838956..0000000
27 --- a/sys-libs/libapparmor/libapparmor-2.10.ebuild
28 +++ /dev/null
29 @@ -1,88 +0,0 @@
30 -# Copyright 1999-2016 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -# $Id$
33 -
34 -EAPI=5
35 -
36 -AUTOTOOLS_AUTORECONF=1
37 -DISTUTILS_OPTIONAL=1
38 -PYTHON_COMPAT=( python{2_7,3_3,3_4} )
39 -GENTOO_DEPEND_ON_PERL="no"
40 -
41 -inherit autotools-utils distutils-r1 perl-module versionator
42 -
43 -DESCRIPTION="Library to support AppArmor userspace utilities"
44 -HOMEPAGE="http://apparmor.net/"
45 -SRC_URI="https://launchpad.net/apparmor/$(get_version_component_range 1-2)/${PV}/+download/apparmor-${PV}.tar.gz"
46 -
47 -LICENSE="LGPL-2.1"
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~x86"
50 -IUSE="doc +perl +python static-libs"
51 -
52 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
53 -
54 -RDEPEND="perl? ( dev-lang/perl:= )
55 - python? ( ${PYTHON_DEPS} )"
56 -
57 -DEPEND="${RDEPEND}
58 - sys-devel/autoconf-archive
59 - sys-devel/bison
60 - sys-devel/flex
61 - doc? ( dev-lang/perl )
62 - perl? ( dev-lang/swig )
63 - python? ( dev-lang/swig )"
64 -
65 -S=${WORKDIR}/apparmor-${PV}/libraries/${PN}
66 -
67 -src_prepare() {
68 - rm -r m4 || die "failed to remove bundled macros"
69 - epatch "${FILESDIR}"/${PN}-2.10-symbol_visibility.patch
70 - autotools-utils_src_prepare
71 - use python && distutils-r1_src_prepare
72 -}
73 -
74 -src_configure() {
75 - local myeconfargs=(
76 - $(use_with perl) \
77 - $(use_with python)
78 - )
79 -
80 - autotools-utils_src_configure
81 -}
82 -
83 -src_compile() {
84 - autotools-utils_src_compile -C src
85 - autotools-utils_src_compile -C include
86 - use doc && autotools-utils_src_compile -C doc
87 - use perl && autotools-utils_src_compile -C swig/perl
88 -
89 - if use python ; then
90 - pushd "${BUILD_DIR}"/swig/python > /dev/null
91 - emake libapparmor_wrap.c
92 - distutils-r1_src_compile
93 - popd > /dev/null
94 - fi
95 -}
96 -
97 -src_install() {
98 - autotools-utils_src_install -C src
99 - autotools-utils_src_install -C include
100 - use doc && autotools-utils_src_install -C doc
101 -
102 - if use perl ; then
103 - autotools-utils_src_install -C swig/perl
104 - perl_set_version
105 - insinto "${VENDOR_ARCH}"
106 - doins "${BUILD_DIR}"/swig/perl/LibAppArmor.pm
107 - fi
108 -
109 - if use python ; then
110 - pushd "${BUILD_DIR}"/swig/python > /dev/null
111 - distutils-r1_src_install
112 -
113 - python_moduleinto LibAppArmor
114 - python_foreach_impl python_domodule __init__.py
115 - popd > /dev/null
116 - fi
117 -}