Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libieee1284/
Date: Fri, 26 May 2017 22:54:37
Message-Id: 1495839218.9a5c840d76f972476a30ab361c82fba6abc5b915.soap@gentoo
1 commit: 9a5c840d76f972476a30ab361c82fba6abc5b915
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 26 22:38:04 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Fri May 26 22:53:38 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a5c840d
7
8 sys-libs/libieee1284: [QA] Add missing python metadata variables
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 sys-libs/libieee1284/libieee1284-0.2.11-r4.ebuild | 22 +++++++++++-----------
13 1 file changed, 11 insertions(+), 11 deletions(-)
14
15 diff --git a/sys-libs/libieee1284/libieee1284-0.2.11-r4.ebuild b/sys-libs/libieee1284/libieee1284-0.2.11-r4.ebuild
16 index 70f5d163f0c..1cf8a0bd6c9 100644
17 --- a/sys-libs/libieee1284/libieee1284-0.2.11-r4.ebuild
18 +++ b/sys-libs/libieee1284/libieee1284-0.2.11-r4.ebuild
19 @@ -1,10 +1,11 @@
20 # Copyright 1999-2017 Gentoo Foundation
21 # Distributed under the terms of the GNU General Public License v2
22
23 -EAPI="6"
24 +EAPI=6
25
26 PYTHON_COMPAT=( python2_7 )
27 -inherit eutils python-single-r1 multilib-minimal
28 +
29 +inherit python-single-r1 multilib-minimal
30
31 DESCRIPTION="Library to query devices using IEEE1284"
32 HOMEPAGE="http://cyberelk.net/tim/libieee1284/index.html"
33 @@ -14,9 +15,9 @@ LICENSE="GPL-2"
34 SLOT="0"
35 KEYWORDS="amd64 ppc x86 ~x86-fbsd"
36 IUSE="doc python static-libs"
37 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
38
39 -RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r9
40 - !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )
41 +RDEPEND="
42 python? ( ${PYTHON_DEPS} )"
43 DEPEND="${RDEPEND}
44 doc? (
45 @@ -26,23 +27,22 @@ DEPEND="${RDEPEND}
46 dev-perl/XML-RegExp
47 )"
48
49 -DOCS="AUTHORS NEWS README* TODO doc/interface*"
50 -
51 pkg_setup() {
52 use python && python-single-r1_pkg_setup
53 }
54
55 multilib_src_configure() {
56 - local myconf="--without-python"
57 - multilib_is_native_abi && myconf="$(use_with python)"
58 -
59 ECONF_SOURCE="${S}" econf \
60 --enable-shared \
61 $(use_enable static-libs static) \
62 - ${myconf}
63 + $(multilib_native_with python)
64 }
65
66 multilib_src_install_all() {
67 - prune_libtool_files --all
68 einstalldocs
69 + dodoc doc/interface*
70 +
71 + if ! use static-libs; then
72 + find "${D}" -name '*.la' -delete || die
73 + fi
74 }