Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libieee1284/
Date: Sun, 29 Oct 2017 17:08:54
Message-Id: 1509296920.728e570925f881201953985c72fbda4351d871c0.whissi@gentoo
1 commit: 728e570925f881201953985c72fbda4351d871c0
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 29 17:08:07 2017 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 29 17:08:40 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=728e5709
7
8 sys-libs/libieee1284: Rev bump to fix multilib usage
9
10 The fix from bug 619810 (commit 8c950f9ec6) was wrong and caused the
11 breakage seen in bug 634218.
12
13 Thanks to Mike Gilbert for finding the root cause for bug 619810.
14
15 Fixes: https://bugs.gentoo.org/634218
16 Bug: https://bugs.gentoo.org/619810
17 Package-Manager: Portage-2.3.13, Repoman-2.3.4
18 RepoMan-Options: --force
19
20 sys-libs/libieee1284/libieee1284-0.2.11-r6.ebuild | 48 +++++++++++++++++++++++
21 1 file changed, 48 insertions(+)
22
23 diff --git a/sys-libs/libieee1284/libieee1284-0.2.11-r6.ebuild b/sys-libs/libieee1284/libieee1284-0.2.11-r6.ebuild
24 new file mode 100644
25 index 00000000000..eddd151383f
26 --- /dev/null
27 +++ b/sys-libs/libieee1284/libieee1284-0.2.11-r6.ebuild
28 @@ -0,0 +1,48 @@
29 +# Copyright 1999-2017 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +
32 +EAPI="6"
33 +
34 +PYTHON_COMPAT=( python2_7 )
35 +
36 +inherit python-single-r1 multilib-minimal
37 +
38 +DESCRIPTION="Library to query devices using IEEE1284"
39 +HOMEPAGE="http://cyberelk.net/tim/software/libieee1284/"
40 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
41 +
42 +LICENSE="GPL-2"
43 +SLOT="0"
44 +KEYWORDS="amd64 ppc x86 ~x86-fbsd"
45 +IUSE="doc python static-libs"
46 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
47 +
48 +RDEPEND="
49 + python? ( ${PYTHON_DEPS} )"
50 +DEPEND="${RDEPEND}
51 + doc? (
52 + app-text/docbook-sgml-utils
53 + >=app-text/docbook-sgml-dtd-4.1
54 + app-text/docbook-dsssl-stylesheets
55 + dev-perl/XML-RegExp
56 + )"
57 +
58 +pkg_setup() {
59 + use python && python-single-r1_pkg_setup
60 +}
61 +
62 +multilib_src_configure() {
63 + ECONF_SOURCE="${S}" econf \
64 + --enable-shared \
65 + $(use_enable static-libs static) \
66 + $(multilib_native_use_with python)
67 +}
68 +
69 +multilib_src_install_all() {
70 + einstalldocs
71 + dodoc doc/interface*
72 +
73 + if ! use static-libs; then
74 + find "${D}" -name '*.la' -delete || die
75 + fi
76 +}