1 |
pesa 12/02/10 21:07:29 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: libplist-1.8.ebuild |
5 |
Log: |
6 |
Version bump (bug #402985). Implement src_test(). Take maintainership. |
7 |
|
8 |
(Portage version: 2.2.0_alpha85/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 app-pda/libplist/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libplist/metadata.xml?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libplist/metadata.xml?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libplist/metadata.xml?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-pda/libplist/metadata.xml,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- metadata.xml 8 Jun 2009 22:57:56 -0000 1.1 |
24 |
+++ metadata.xml 10 Feb 2012 21:07:28 -0000 1.2 |
25 |
@@ -3,8 +3,11 @@ |
26 |
<pkgmetadata> |
27 |
<herd>pda</herd> |
28 |
<maintainer> |
29 |
- <email>chainsaw@g.o</email> |
30 |
- <name>Tony Vroon</name> |
31 |
+ <email>pesa@g.o</email> |
32 |
</maintainer> |
33 |
+ <use> |
34 |
+ <flag name="cython">Build cython-based python bindings</flag> |
35 |
+ <flag name="python">Build swig-based python bindings</flag> |
36 |
+ </use> |
37 |
</pkgmetadata> |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.18 app-pda/libplist/ChangeLog |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libplist/ChangeLog?rev=1.18&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libplist/ChangeLog?rev=1.18&content-type=text/plain |
46 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libplist/ChangeLog?r1=1.17&r2=1.18 |
47 |
|
48 |
Index: ChangeLog |
49 |
=================================================================== |
50 |
RCS file: /var/cvsroot/gentoo-x86/app-pda/libplist/ChangeLog,v |
51 |
retrieving revision 1.17 |
52 |
retrieving revision 1.18 |
53 |
diff -u -r1.17 -r1.18 |
54 |
--- ChangeLog 6 Nov 2011 18:00:09 -0000 1.17 |
55 |
+++ ChangeLog 10 Feb 2012 21:07:28 -0000 1.18 |
56 |
@@ -1,6 +1,12 @@ |
57 |
# ChangeLog for app-pda/libplist |
58 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
59 |
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/ChangeLog,v 1.17 2011/11/06 18:00:09 ssuominen Exp $ |
60 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
61 |
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/ChangeLog,v 1.18 2012/02/10 21:07:28 pesa Exp $ |
62 |
+ |
63 |
+*libplist-1.8 (10 Feb 2012) |
64 |
+ |
65 |
+ 10 Feb 2012; Davide Pesavento <pesa@g.o> +libplist-1.8.ebuild, |
66 |
+ metadata.xml: |
67 |
+ Version bump (bug #402985). Implement src_test(). Take maintainership. |
68 |
|
69 |
06 Nov 2011; Samuli Suominen <ssuominen@g.o> -libplist-1.3.ebuild: |
70 |
old |
71 |
|
72 |
|
73 |
|
74 |
1.1 app-pda/libplist/libplist-1.8.ebuild |
75 |
|
76 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libplist/libplist-1.8.ebuild?rev=1.1&view=markup |
77 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libplist/libplist-1.8.ebuild?rev=1.1&content-type=text/plain |
78 |
|
79 |
Index: libplist-1.8.ebuild |
80 |
=================================================================== |
81 |
# Copyright 1999-2012 Gentoo Foundation |
82 |
# Distributed under the terms of the GNU General Public License v2 |
83 |
# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/libplist-1.8.ebuild,v 1.1 2012/02/10 21:07:28 pesa Exp $ |
84 |
|
85 |
EAPI=4 |
86 |
|
87 |
inherit cmake-utils python |
88 |
|
89 |
DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)" |
90 |
HOMEPAGE="http://www.libimobiledevice.org/" |
91 |
SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2" |
92 |
|
93 |
LICENSE="GPL-2 LGPL-2.1" |
94 |
SLOT="0" |
95 |
KEYWORDS="~amd64 ~ppc64 ~x86" |
96 |
IUSE="cython python" |
97 |
|
98 |
RDEPEND="dev-libs/libxml2 |
99 |
cython? ( =dev-lang/python-2* ) |
100 |
python? ( =dev-lang/python-2* ) |
101 |
" |
102 |
DEPEND="${RDEPEND} |
103 |
cython? ( dev-python/cython ) |
104 |
python? ( dev-lang/swig ) |
105 |
" |
106 |
|
107 |
DOCS=(AUTHORS NEWS README) |
108 |
|
109 |
pkg_setup() { |
110 |
if use cython || use python; then |
111 |
python_set_active_version 2 |
112 |
python_pkg_setup |
113 |
fi |
114 |
} |
115 |
|
116 |
src_prepare() { |
117 |
sed -i -e 's:-Werror::' swig/CMakeLists.txt || die |
118 |
} |
119 |
|
120 |
src_configure() { |
121 |
local mycmakeargs=( |
122 |
-DCMAKE_SKIP_RPATH=ON |
123 |
$(cmake-utils_use_enable cython) |
124 |
$(cmake-utils_use_enable python SWIG) |
125 |
) |
126 |
|
127 |
cmake-utils_src_configure |
128 |
} |
129 |
|
130 |
src_test() { |
131 |
cd "${CMAKE_BUILD_DIR}" |
132 |
|
133 |
local testfile |
134 |
for testfile in "${S}"/test/data/*; do |
135 |
LD_LIBRARY_PATH=src ./test/plist_test "${testfile}" || die |
136 |
done |
137 |
} |
138 |
|
139 |
pkg_postinst() { |
140 |
use python && python_mod_optimize plist |
141 |
} |
142 |
|
143 |
pkg_postrm() { |
144 |
use python && python_mod_cleanup plist |
145 |
} |