Gentoo Archives: gentoo-commits

From: Steve Arnold <nerdboy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/
Date: Thu, 31 Dec 2015 22:12:53
Message-Id: 1451599923.a13463b83699bd6bbed7846f71c538d0b12f1050.nerdboy@gentoo
1 commit: a13463b83699bd6bbed7846f71c538d0b12f1050
2 Author: Stephen L Arnold <nerdboy <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 31 22:03:24 2015 +0000
4 Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 31 22:12:03 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a13463b8
7
8 app-pda/libplist: fix for bug 567370 (configure fail on -lpython3.4)
9
10 Added to latest two versions for broader testing, fixes above bug plus
11 some duplicates. Fix stolen from Arch (alertly pointed out by veremit).
12
13 Reported-by: (user) <candrews <AT> integralblue.com>
14
15 Package-Manager: portage-2.2.26
16
17 app-pda/libplist/libplist-1.11-r2.ebuild | 7 ++++++-
18 app-pda/libplist/libplist-1.12.ebuild | 7 ++++++-
19 2 files changed, 12 insertions(+), 2 deletions(-)
20
21 diff --git a/app-pda/libplist/libplist-1.11-r2.ebuild b/app-pda/libplist/libplist-1.11-r2.ebuild
22 index 2f5331b..600f79c 100644
23 --- a/app-pda/libplist/libplist-1.11-r2.ebuild
24 +++ b/app-pda/libplist/libplist-1.11-r2.ebuild
25 @@ -4,7 +4,7 @@
26
27 EAPI=5
28 PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
29 -inherit eutils python-r1
30 +inherit autotools eutils python-r1
31
32 DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
33 HOMEPAGE="http://www.libimobiledevice.org/"
34 @@ -29,6 +29,11 @@ RESTRICT="test" # TODO: src_test() was dropped from 1.10 (cmake) -> 1.11 (autoto
35
36 BUILD_DIR="${S}_build"
37
38 +src_prepare() {
39 + sed -i -e 's/AC_PYTHON_DEVEL/AX_PYTHON_DEVEL/' "${S}"/m4/cython_python.m4
40 + eautoreconf
41 +}
42 +
43 src_configure() {
44 local ECONF_SOURCE=${S}
45 local myeconfargs=( $(use_enable static-libs static) )
46
47 diff --git a/app-pda/libplist/libplist-1.12.ebuild b/app-pda/libplist/libplist-1.12.ebuild
48 index f674ed0..bc3d53f 100644
49 --- a/app-pda/libplist/libplist-1.12.ebuild
50 +++ b/app-pda/libplist/libplist-1.12.ebuild
51 @@ -4,7 +4,7 @@
52
53 EAPI=5
54 PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
55 -inherit eutils python-r1
56 +inherit autotools eutils python-r1
57
58 DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
59 HOMEPAGE="http://www.libimobiledevice.org/"
60 @@ -29,6 +29,11 @@ RESTRICT="test" # TODO: src_test() was dropped from 1.10 (cmake) -> 1.11 (autoto
61
62 BUILD_DIR="${S}_build"
63
64 +src_prepare() {
65 + sed -i -e 's/AC_PYTHON_DEVEL/AX_PYTHON_DEVEL/' "${S}"/m4/cython_python.m4
66 + eautoreconf
67 +}
68 +
69 src_configure() {
70 local ECONF_SOURCE=${S}
71 local myeconfargs=( $(use_enable static-libs static) )