1 |
dev-zero 09/04/30 08:04:15 |
2 |
|
3 |
Modified: gflags-0.8.ebuild ChangeLog |
4 |
Added: gflags-1.1.ebuild |
5 |
Log: |
6 |
Version bump (including eapi-2 and python conditional-depend fix). |
7 |
(Portage version: 2.2_rc31/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 dev-cpp/gflags/gflags-0.8.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/gflags/gflags-0.8.ebuild?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/gflags/gflags-0.8.ebuild?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/gflags/gflags-0.8.ebuild?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: gflags-0.8.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-cpp/gflags/gflags-0.8.ebuild,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- gflags-0.8.ebuild 16 Jun 2008 19:37:28 -0000 1.1 |
23 |
+++ gflags-0.8.ebuild 30 Apr 2009 08:04:15 -0000 1.2 |
24 |
@@ -1,8 +1,10 @@ |
25 |
-# Copyright 1999-2008 Gentoo Foundation |
26 |
+# Copyright 1999-2009 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gflags/gflags-0.8.ebuild,v 1.1 2008/06/16 19:37:28 dev-zero Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gflags/gflags-0.8.ebuild,v 1.2 2009/04/30 08:04:15 dev-zero Exp $ |
30 |
|
31 |
-inherit distutils |
32 |
+EAPI="2" |
33 |
+ |
34 |
+inherit python |
35 |
|
36 |
DESCRIPTION="Google's C++ argument parsing library with python extensions." |
37 |
HOMEPAGE="http://code.google.com/p/google-gflags/" |
38 |
@@ -16,20 +18,34 @@ |
39 |
RDEPEND="${DEPEND}" |
40 |
|
41 |
src_compile() { |
42 |
- econf || die "econf failed" |
43 |
- emake || die "emake failed" |
44 |
- if use python; |
45 |
- then |
46 |
+ default |
47 |
+ |
48 |
+ if use python; then |
49 |
cd python |
50 |
- distutils_src_compile |
51 |
+ python_version |
52 |
+ "${python}" setup.py build || die "python build failed" |
53 |
fi |
54 |
} |
55 |
|
56 |
src_install() { |
57 |
emake DESTDIR="${D}" install || die "emake install failed" |
58 |
- if use python; |
59 |
- then |
60 |
+ |
61 |
+ rm -r "${D}"/usr/share/doc/* || die "removing failed" |
62 |
+ AUTHORS ChangeLog NEWS README |
63 |
+ dohtml doc/* |
64 |
+ |
65 |
+ if use python; then |
66 |
cd python |
67 |
- distutils_src_install |
68 |
+ python_version |
69 |
+ "${python}" setup.py install --root="${D}" --no-compile || die "python install failed" |
70 |
+ python_need_rebuild |
71 |
fi |
72 |
} |
73 |
+ |
74 |
+pkg_postinst() { |
75 |
+ python_mod_optimize |
76 |
+} |
77 |
+ |
78 |
+pkg_postrm() { |
79 |
+ python_mod_cleanup |
80 |
+} |
81 |
|
82 |
|
83 |
|
84 |
1.6 dev-cpp/gflags/ChangeLog |
85 |
|
86 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/gflags/ChangeLog?rev=1.6&view=markup |
87 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/gflags/ChangeLog?rev=1.6&content-type=text/plain |
88 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/gflags/ChangeLog?r1=1.5&r2=1.6 |
89 |
|
90 |
Index: ChangeLog |
91 |
=================================================================== |
92 |
RCS file: /var/cvsroot/gentoo-x86/dev-cpp/gflags/ChangeLog,v |
93 |
retrieving revision 1.5 |
94 |
retrieving revision 1.6 |
95 |
diff -u -r1.5 -r1.6 |
96 |
--- ChangeLog 16 Jun 2008 19:37:28 -0000 1.5 |
97 |
+++ ChangeLog 30 Apr 2009 08:04:15 -0000 1.6 |
98 |
@@ -1,6 +1,12 @@ |
99 |
# ChangeLog for dev-cpp/gflags |
100 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
101 |
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gflags/ChangeLog,v 1.5 2008/06/16 19:37:28 dev-zero Exp $ |
102 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
103 |
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gflags/ChangeLog,v 1.6 2009/04/30 08:04:15 dev-zero Exp $ |
104 |
+ |
105 |
+*gflags-1.1 (30 Apr 2009) |
106 |
+ |
107 |
+ 30 Apr 2009; Tiziano Müller <dev-zero@g.o> gflags-0.8.ebuild, |
108 |
+ +gflags-1.1.ebuild: |
109 |
+ Version bump (including eapi-2 and python conditional-depend fix). |
110 |
|
111 |
*gflags-0.8 (16 Jun 2008) |
112 |
|
113 |
|
114 |
|
115 |
|
116 |
1.1 dev-cpp/gflags/gflags-1.1.ebuild |
117 |
|
118 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/gflags/gflags-1.1.ebuild?rev=1.1&view=markup |
119 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/gflags/gflags-1.1.ebuild?rev=1.1&content-type=text/plain |
120 |
|
121 |
Index: gflags-1.1.ebuild |
122 |
=================================================================== |
123 |
# Copyright 1999-2009 Gentoo Foundation |
124 |
# Distributed under the terms of the GNU General Public License v2 |
125 |
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gflags/gflags-1.1.ebuild,v 1.1 2009/04/30 08:04:15 dev-zero Exp $ |
126 |
|
127 |
EAPI="2" |
128 |
|
129 |
inherit python |
130 |
|
131 |
DESCRIPTION="Google's C++ argument parsing library with python extensions." |
132 |
HOMEPAGE="http://code.google.com/p/google-gflags/" |
133 |
SRC_URI="http://google-gflags.googlecode.com/files/${P}.tar.gz" |
134 |
LICENSE="BSD" |
135 |
SLOT="0" |
136 |
KEYWORDS="~amd64" |
137 |
IUSE="python" |
138 |
|
139 |
DEPEND="python? ( dev-lang/python )" |
140 |
RDEPEND="${DEPEND}" |
141 |
|
142 |
src_compile() { |
143 |
default |
144 |
|
145 |
if use python; then |
146 |
cd python |
147 |
python_version |
148 |
"${python}" setup.py build || die "python build failed" |
149 |
fi |
150 |
} |
151 |
|
152 |
src_install() { |
153 |
emake DESTDIR="${D}" install || die "emake install failed" |
154 |
|
155 |
rm -rf "${D}"/usr/share/doc/* |
156 |
AUTHORS ChangeLog NEWS README |
157 |
dohtml doc/* |
158 |
|
159 |
if use python; then |
160 |
cd python |
161 |
python_version |
162 |
"${python}" setup.py install --root="${D}" --no-compile || die "python install failed" |
163 |
python_need_rebuild |
164 |
fi |
165 |
} |
166 |
|
167 |
pkg_postinst() { |
168 |
python_mod_optimize |
169 |
} |
170 |
|
171 |
pkg_postrm() { |
172 |
python_mod_cleanup |
173 |
} |