author | laca |
Mon, 31 Aug 2009 13:03:37 +0000 | |
changeset 16428 | 6ccb84c28015 |
parent 16425 | d6ed2a48e85f |
child 16434 | f21f22550fe9 |
permissions | -rw-r--r-- |
14736 | 1 |
# |
2 |
# spec file for package SUNWPython26 |
|
3 |
# |
|
4 |
# includes module(s): Python |
|
5 |
# |
|
16364 | 6 |
# Copyright 2009 Sun Microsystems, Inc. |
14736 | 7 |
# This file and all modifications and additions to the pristine |
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
15143
d2d90ead6862
* SUNWtgnome-tsoljdsdevmgr.spec : Update Owner format string
mattman
parents:
15138
diff
changeset
|
10 |
# Owner: laca |
15847 | 11 |
# bugdb: http://bugs.python.org/issue |
14736 | 12 |
# |
13 |
%include Solaris.inc |
|
14 |
||
16425 | 15 |
%define OSR 7954:2.4.4 |
16 |
||
14736 | 17 |
Name: SUNWPython26 |
18 |
Summary: The Python interpreter, libraries and utilities |
|
16364 | 19 |
Version: 2.6.2 |
14736 | 20 |
%define majmin 2.6 |
21 |
SUNW_BaseDir: %{_basedir} |
|
22 |
SUNW_Copyright: %{name}.copyright |
|
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
24 |
Source: http://www.python.org/ftp/python/%{version}/Python-%{version}.tar.bz2 |
|
25 |
# test script for the ucred module implemented in Python26-xx-ucred.diff |
|
26 |
Source1: ucredtest.py |
|
27 |
# test script for the dlpi module implemented in Python26-xx-dlpi.diff |
|
28 |
Source2: dlpitest.py |
|
29 |
# date:2005-10-27 owner:laca type:bug |
|
30 |
# upstreamable |
|
31 |
Patch1: Python26-01-solaris-lib-dirs.diff |
|
32 |
# date:2005-10-30 owner:laca type:feature |
|
33 |
Patch2: Python26-02-pycc.diff |
|
34 |
# date:2006-09-18 owner:laca type:feature |
|
35 |
Patch3: Python26-03-distutils-pycc.diff |
|
36 |
# date:2006-09-18 owner:laca type:bug |
|
37 |
# upstreamable |
|
38 |
Patch4: Python26-04-distutils-log.diff |
|
39 |
# date:2006-09-18 owner:laca type:feature |
|
40 |
# maybe upstreamable |
|
41 |
Patch5: Python26-05-isalibs.diff |
|
42 |
# date:2006-09-18 owner:laca type:bug bugster:6463378 |
|
43 |
# maybe upstreamable |
|
44 |
Patch6: Python26-06-write_compiled_module-atomic.diff |
|
45 |
# date:2007-03-23 owner:laca type:feature |
|
46 |
# written by John.Levon ported to 2.5 by Peter C Norton |
|
47 |
Patch7: Python26-07-dtrace.diff |
|
48 |
# date:2008-05-23 owner:laca type:bug |
|
49 |
# upstreamable |
|
50 |
Patch8: Python26-08-ctypes.diff |
|
51 |
# date:2008-04-10 owner:laca type:feature bugster:6686506 |
|
52 |
# 2008/243 Python interface to ucred_get(3C)/getpeercred(3C) |
|
53 |
# written by [email protected] |
|
54 |
# maybe upstreamable |
|
55 |
Patch9: Python26-09-ucred.diff |
|
56 |
# date:2008-06-06 owner:laca type:bug bugster:6614467 bugid:837046 |
|
57 |
Patch10: Python26-10-gethostname.diff |
|
58 |
# date:2008-08-28 owner:laca type:feature |
|
59 |
# PSARC/2008/514 Python interface to dlpi(7P) |
|
60 |
# written by [email protected] |
|
61 |
Patch11: Python26-11-dlpi.diff |
|
14842 | 62 |
# date:2009-01-06 owner:fujiwara type:feature bugster:6776575 |
14975 | 63 |
Patch12: Python26-12-encoding-alias.diff |
14969 | 64 |
# date:2009-01-23 owner:laca type:bug |
65 |
Patch13: Python26-13-cflags.diff |
|
15372 | 66 |
# date:2009-02-18 owner:wangke type:bug bugid:5289 |
15136 | 67 |
Patch14: Python26-14-ctypes-util-find-library.diff |
16428 | 68 |
# date:2009-08-31 owner:laca type:bug bugster:6816108 |
69 |
Patch15: Python26-15-getcwd.diff |
|
14736 | 70 |
|
71 |
%include default-depend.inc |
|
72 |
BuildRequires: SUNWTk |
|
73 |
BuildRequires: SUNWTcl |
|
74 |
BuildRequires: SUNWlexpt |
|
75 |
BuildRequires: SUNWsfwhea |
|
76 |
BuildRequires: SUNWopenssl-libraries |
|
77 |
BuildRequires: SUNWopenssl-include |
|
78 |
BuildRequires: SUNWaudh |
|
79 |
BuildRequires: SUNWlibffi-devel |
|
16419 | 80 |
# for pkg-config: |
81 |
BuildRequires: SUNWgnome-common-devel |
|
15650 | 82 |
Requires: SUNWzlibr |
83 |
Requires: SUNWopensslr |
|
14736 | 84 |
Requires: SUNWopenssl-libraries |
85 |
Requires: SUNWTk |
|
86 |
Requires: SUNWTcl |
|
87 |
Requires: SUNWlexpt |
|
88 |
Requires: SUNWxwplt |
|
89 |
Requires: SUNWbzip |
|
90 |
Requires: SUNWlibmsr |
|
91 |
Requires: SUNWlibms |
|
92 |
Requires: SUNWzlib |
|
93 |
Requires: SUNWsqlite3 |
|
94 |
Requires: SUNWlibffi |
|
16364 | 95 |
Requires: SUNWncurses |
14736 | 96 |
|
97 |
%package devel |
|
98 |
Summary: %{summary} - development files |
|
99 |
%include default-depend.inc |
|
100 |
Requires: %name |
|
101 |
||
102 |
%prep |
|
103 |
%setup -q -c -n %name-%version |
|
104 |
cd Python-%{version} |
|
105 |
%patch1 -p1 -b .solaris |
|
106 |
%patch2 -p1 |
|
107 |
%patch3 -p1 |
|
108 |
%patch4 -p1 |
|
109 |
%patch5 -p1 -b .isalibs |
|
110 |
%patch6 -p1 |
|
111 |
%patch7 -p1 |
|
112 |
%patch8 -p1 |
|
113 |
%patch9 -p1 |
|
114 |
%patch10 -p1 |
|
115 |
%patch11 -p1 |
|
14842 | 116 |
%patch12 -p1 |
14969 | 117 |
%patch13 -p1 |
15138 | 118 |
%patch14 -p1 |
16428 | 119 |
%patch15 -p1 |
14736 | 120 |
cd .. |
121 |
||
122 |
echo fixing python binary name/path in python scripts: |
|
123 |
cat > %{_builddir}/%name-%version/is_python_script <<EOF |
|
124 |
#!/bin/sh |
|
125 |
||
126 |
head -1 \$1 | egrep -s '^#!.*python$' |
|
127 |
EOF |
|
128 |
chmod +x %{_builddir}/%name-%version/is_python_script |
|
129 |
||
130 |
cat > %{_builddir}/%name-%version/set_python_interpreter <<EOF |
|
131 |
#!/bin/bash |
|
132 |
interp=\$1 |
|
133 |
fname=\$2 |
|
134 |
line1=\$(head -1 \$fname) |
|
135 |
echo "Changing '\$line1' to '\$interp' (\$fname)"; |
|
136 |
chmod u+w \$fname |
|
137 |
sed -e "1s,^#!.*,#! \$interp," \$fname > \$fname.update-interp && \ |
|
138 |
cat \$fname.update-interp > \$fname && \ |
|
139 |
rm -f \$fname.update-interp || \ |
|
140 |
echo WARNING: set_python_interpreter failed for \$fname |
|
141 |
EOF |
|
142 |
chmod +x %{_builddir}/%name-%version/set_python_interpreter |
|
143 |
||
144 |
find Python-%{version}/Demo \ |
|
145 |
Python-%{version}/Tools \ |
|
146 |
Python-%{version}/Doc \ |
|
147 |
Python-%{version}/Lib \ |
|
148 |
-type f -exec %{_builddir}/%name-%version/is_python_script {} \; \ |
|
149 |
-exec %{_builddir}/%name-%version/set_python_interpreter %{_bindir}/python%{majmin} {} \; |
|
150 |
||
151 |
%ifarch sparcv9 amd64 |
|
152 |
cp -pr Python-%{version} Python-%{version}-64 |
|
153 |
%endif |
|
154 |
||
155 |
%build |
|
156 |
cd Python-%{version} |
|
157 |
autoheader |
|
158 |
autoconf |
|
16428 | 159 |
export CCSHARED="-KPIC" |
14736 | 160 |
export DFLAGS=-32 |
161 |
export CC="$CC -xregs=no%frameptr" |
|
162 |
export CXX="$CXX -xregs=no%frameptr -norunpath -compat=5" |
|
16364 | 163 |
export CFLAGS="-I/usr/include/ncurses %optflags -D_LARGEFILE64_SOURCE `pkg-config --cflags libffi`" |
14736 | 164 |
export CPPFLAGS="-D_LARGEFILE64_SOURCE `pkg-config --cflags libffi`" |
165 |
export LDFLAGS="%_ldflags -L." |
|
166 |
||
167 |
./configure --prefix=%{_prefix} \ |
|
168 |
--libdir=%{_libdir} \ |
|
169 |
--mandir=%{_mandir} \ |
|
170 |
--datadir=%{_datadir} \ |
|
171 |
--infodir=%{_datadir}/info \ |
|
172 |
--enable-shared \ |
|
173 |
--with-system-ffi \ |
|
174 |
--disable-static %{?_with_pydebug} |
|
175 |
||
176 |
# These #define's break the build with gcc and cause problems when |
|
177 |
# building c99 compliant python modules |
|
178 |
perl -pi -e 's/^(#define _POSIX_C_SOURCE.*)/\/* $1 *\//' pyconfig.h |
|
179 |
perl -pi -e 's/^(#define _XOPEN_SOURCE.*)/\/* $1 *\//' pyconfig.h |
|
180 |
perl -pi -e 's/^(#define _XOPEN_SOURCE_EXTENDED.*)/\/* $1 *\//' pyconfig.h |
|
181 |
||
182 |
make |
|
183 |
cd .. |
|
184 |
||
185 |
%ifarch sparcv9 amd64 |
|
186 |
cd Python-%{version}-64 |
|
187 |
||
188 |
export CXXFLAGS="%cxx_optflags64" |
|
189 |
export CFLAGS="%optflags64 -D_LARGEFILE64_SOURCE `PKG_CONFIG_PATH=%{_libdir}/_arch64 pkg-config --cflags libffi`" |
|
190 |
export CPPFLAGS="-D_LARGEFILE64_SOURCE `PKG_CONFIG_PATH=%{_libdir}/_arch64 pkg-config --cflags libffi`" |
|
191 |
export CFLAGS="%optflags64" |
|
192 |
export CC="$CC %optflags64" |
|
193 |
export CXX="$CXX %cxx_optflags64" |
|
194 |
export DFLAGS=-64 |
|
195 |
export LDFLAGS="%_ldflags -L." |
|
196 |
||
197 |
autoheader |
|
198 |
autoconf |
|
199 |
./configure --prefix=%{_prefix} \ |
|
200 |
--libdir=%{_libdir}/%{_arch64} \ |
|
201 |
--mandir=%{_mandir} \ |
|
202 |
--datadir=%{_datadir} \ |
|
203 |
--infodir=%{_datadir}/info \ |
|
204 |
--enable-shared \ |
|
205 |
--with-system-ffi \ |
|
206 |
--disable-static %{?_with_pydebug} |
|
207 |
||
208 |
# These #define's break the build with gcc and cause problems when |
|
209 |
# building c99 compliant python modules |
|
210 |
perl -pi -e 's/^(#define _POSIX_C_SOURCE.*)/\/* $1 *\//' pyconfig.h |
|
211 |
perl -pi -e 's/^(#define _XOPEN_SOURCE.*)/\/* $1 *\//' pyconfig.h |
|
212 |
perl -pi -e 's/^(#define _XOPEN_SOURCE_EXTENDED.*)/\/* $1 *\//' pyconfig.h |
|
213 |
||
214 |
make |
|
215 |
%endif |
|
216 |
||
217 |
%install |
|
218 |
rm -rf $RPM_BUILD_ROOT |
|
219 |
%ifarch sparcv9 amd64 |
|
220 |
cd Python-%{version}-64 |
|
221 |
make install DESTDIR=$RPM_BUILD_ROOT BINDIR=%{_bindir}/%{_arch64} |
|
222 |
rm -f $RPM_BUILD_ROOT%{_bindir}/%{_arch64}/idle |
|
223 |
rm -f $RPM_BUILD_ROOT%{_bindir}/%{_arch64}/pydoc |
|
224 |
rm -f $RPM_BUILD_ROOT%{_bindir}/%{_arch64}/smtpd.py |
|
225 |
cd .. |
|
226 |
%endif |
|
227 |
||
228 |
cd Python-%{version} |
|
229 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
230 |
||
231 |
# FIXME: delete while 2.5 is not the default: |
|
232 |
rm $RPM_BUILD_ROOT%{_bindir}/smtpd.py |
|
233 |
#mkdir -p $RPM_BUILD_ROOT%{_prefix}/demo/python |
|
234 |
#mv $RPM_BUILD_ROOT%{_bindir}/smtpd.py $RPM_BUILD_ROOT%{_prefix}/demo/python/ |
|
235 |
||
236 |
# FIXME: rename temporarily while 2.5 is not the default: |
|
237 |
mv $RPM_BUILD_ROOT%{_mandir}/man1/python.1 $RPM_BUILD_ROOT%{_mandir}/man1/python2.6.1 |
|
238 |
||
239 |
# the pycc script is a C/C++ compiler wrapper to be used in |
|
240 |
# the distutils Makefile |
|
241 |
install -m 755 -D pycc $RPM_BUILD_ROOT%{_libdir}/python%{majmin}/pycc |
|
242 |
(cd $RPM_BUILD_ROOT%{_libdir}/python%{majmin}; ln -s pycc pyCC) |
|
243 |
perl -pi -e 's|^(CC=\s*)/.*$|$1%{_libdir}/python%{majmin}/pycc|' \ |
|
244 |
$RPM_BUILD_ROOT%{_libdir}/python%{majmin}/config/Makefile |
|
245 |
perl -pi -e 's|^(CXX=\s*)/.*$|$1%{_libdir}/python%{majmin}/pyCC|' \ |
|
246 |
$RPM_BUILD_ROOT%{_libdir}/python%{majmin}/config/Makefile |
|
247 |
perl -pi -e 's|^(INSTALL=\s*)/.*$|$1install|' \ |
|
248 |
$RPM_BUILD_ROOT%{_libdir}/python%{majmin}/config/Makefile |
|
249 |
perl -pi -e 's|^(OPT=\s*).*$|$1-DNDEBUG|' \ |
|
250 |
$RPM_BUILD_ROOT%{_libdir}/python%{majmin}/config/Makefile |
|
251 |
perl -pi -e 's|^(RUNSHARED=\s*).*$|$1|' \ |
|
252 |
$RPM_BUILD_ROOT%{_libdir}/python%{majmin}/config/Makefile |
|
253 |
perl -pi -e "s|^(CONFIG_ARGS=\s*.*'CC=)[^']*('.*)\$|\$1%{_libdir}/python%{majmin}/pycc\$2|" \ |
|
254 |
$RPM_BUILD_ROOT%{_libdir}/python%{majmin}/config/Makefile |
|
255 |
perl -pi -e "s|^(CONFIG_ARGS=\s*.*'CFLAGS=)[^']*('.*)\$|\$1\$2|" \ |
|
256 |
$RPM_BUILD_ROOT%{_libdir}/python%{majmin}/config/Makefile |
|
257 |
perl -pi -e "s|^(CONFIG_ARGS=\s*.*'CPP=)[^']*('.*)\$|\$1%{_libdir}/python%{majmin}/pycc -E\$2|" \ |
|
258 |
$RPM_BUILD_ROOT%{_libdir}/python%{majmin}/config/Makefile |
|
259 |
||
260 |
# search for vendor packages in /usr/lib/python<version>/vendor-packages |
|
261 |
echo "import site; site.addsitedir('%{_libdir}/python%{majmin}/vendor-packages')" \ |
|
262 |
> $RPM_BUILD_ROOT%{_libdir}/python%{majmin}/site-packages/vendor-packages.pth |
|
263 |
mkdir -p $RPM_BUILD_ROOT%{_libdir}/python%{majmin}/vendor-packages |
|
264 |
||
265 |
# delete stuff that doesn't build/work on Solaris: |
|
266 |
rm $RPM_BUILD_ROOT%{_libdir}/python?.?/config/lib*.a |
|
267 |
rm -r $RPM_BUILD_ROOT%{_libdir}/python?.?/bsddb |
|
268 |
||
269 |
echo deleting pyo files |
|
270 |
find $RPM_BUILD_ROOT -name '*.pyo' -exec rm {} \; |
|
271 |
||
272 |
install -m 755 %SOURCE1 $RPM_BUILD_ROOT%{_libdir}/python%{majmin}/test/ |
|
273 |
install -m 755 %SOURCE2 $RPM_BUILD_ROOT%{_libdir}/python%{majmin}/test/ |
|
274 |
||
275 |
# FIXME: because python 2.5 is not the default |
|
276 |
rm $RPM_BUILD_ROOT%{_bindir}/idle |
|
277 |
rm $RPM_BUILD_ROOT%{_bindir}/pydoc |
|
278 |
||
279 |
cd $RPM_BUILD_ROOT%{_bindir} |
|
280 |
rm python |
|
281 |
||
282 |
mkdir -p %{base_isa} |
|
283 |
mv python%{majmin} %{base_isa}/isapython%{majmin} |
|
284 |
ln -s %{base_isa}/isapython%{majmin} python%{majmin} |
|
285 |
||
286 |
%ifarch amd64 sparcv9 |
|
287 |
cd %{_arch64} |
|
288 |
rm python |
|
289 |
rm python-config |
|
290 |
mv python%{majmin} isapython%{majmin} |
|
291 |
ln -s isapython%{majmin} python%{majmin} |
|
292 |
# don't need a 64-bit version of this tool |
|
293 |
rm 2to3 |
|
294 |
cd .. |
|
295 |
%endif |
|
296 |
||
297 |
ln -s ../lib/isaexec isapython%{majmin} |
|
298 |
# FIXME: because python 2.5 is not the default |
|
299 |
# ln -s python%{majmin} python |
|
300 |
rm python-config |
|
301 |
||
302 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
|
303 |
||
304 |
%clean |
|
305 |
rm -rf $RPM_BUILD_ROOT |
|
306 |
||
307 |
%files |
|
308 |
%defattr (-, root, bin) |
|
309 |
%dir %attr (0755, root, bin) %{_bindir} |
|
310 |
%{_bindir}/python%{majmin} |
|
311 |
# hard link to isaexec |
|
312 |
%hard %{_bindir}/isapython%{majmin} |
|
313 |
%dir %attr (0755, root, bin) %{_bindir}/%{base_isa} |
|
314 |
%{_bindir}/%{base_isa}/isapython%{majmin} |
|
315 |
# FIXME: conflicts with python2.4 |
|
316 |
#%{_prefix}/demo/python/smtpd.py |
|
317 |
%dir %attr (0755, root, bin) %{_libdir} |
|
318 |
%{_libdir}/python?.?/LICENSE.txt |
|
319 |
%{_libdir}/python?.?/*.py* |
|
320 |
%{_libdir}/python?.?/*.doc |
|
321 |
%{_libdir}/python?.?/compiler |
|
322 |
%{_libdir}/python?.?/email |
|
323 |
%{_libdir}/python?.?/encodings |
|
324 |
%{_libdir}/python?.?/hotshot |
|
325 |
%{_libdir}/python?.?/idlelib |
|
326 |
%{_libdir}/python?.?/json |
|
327 |
%{_libdir}/python?.?/lib-dynload |
|
328 |
%{_libdir}/python?.?/lib-tk |
|
329 |
%{_libdir}/python?.?/lib-old |
|
330 |
%{_libdir}/python?.?/logging |
|
331 |
%{_libdir}/python?.?/multiprocessing |
|
332 |
%{_libdir}/python?.?/plat-* |
|
333 |
%{_libdir}/python?.?/site-packages |
|
334 |
%{_libdir}/python?.?/vendor-packages |
|
335 |
%{_libdir}/python?.?/xml |
|
336 |
%{_libdir}/python?.?/curses |
|
337 |
%{_libdir}/python?.?/sqlite3 |
|
338 |
%{_libdir}/python?.?/wsgiref |
|
339 |
%{_libdir}/python?.?/wsgiref.egg-info |
|
340 |
%{_libdir}/python?.?/ctypes |
|
341 |
%{_libdir}/lib*.so* |
|
342 |
%ifarch sparcv9 amd64 |
|
343 |
%dir %attr(0755, root, bin) %{_libdir}/%{_arch64} |
|
344 |
%{_libdir}/%{_arch64}/lib*.so* |
|
345 |
%dir %attr(0755, root, bin) %{_bindir}/%{_arch64} |
|
346 |
%{_bindir}/%{_arch64}/python%{majmin} |
|
347 |
%{_bindir}/%{_arch64}/isapython%{majmin} |
|
348 |
%endif |
|
349 |
%dir %attr(0755, root, sys) %{_datadir} |
|
350 |
%dir %attr(0755, root, bin) %{_mandir} |
|
351 |
%dir %attr(0755, root, bin) %{_mandir}/* |
|
352 |
%{_mandir}/*/* |
|
353 |
%doc(bzip2) -d Python-%{version} README |
|
354 |
%doc -d Python-%{version} LICENSE |
|
14819 | 355 |
%dir %attr (0755, root, other) %{_datadir}/doc |
14736 | 356 |
|
357 |
%files devel |
|
358 |
%defattr (-, root, bin) |
|
359 |
%dir %attr (0755, root, bin) %{_bindir} |
|
360 |
%{_bindir}/python*-config |
|
361 |
%{_bindir}/2to3 |
|
362 |
%ifarch sparcv9 amd64 |
|
363 |
%dir %attr(0755, root, bin) %{_bindir}/%{_arch64} |
|
364 |
%{_bindir}/%{_arch64}/python%{majmin}-config |
|
365 |
%endif |
|
366 |
%dir %attr (0755, root, bin) %{_includedir} |
|
367 |
%{_includedir}/* |
|
368 |
%{_libdir}/python?.?/config |
|
369 |
%{_libdir}/python?.?/distutils |
|
370 |
%{_libdir}/python?.?/lib2to3 |
|
371 |
%{_libdir}/python?.?/test |
|
372 |
%{_libdir}/python?.?/py[cC][cC] |
|
373 |
||
374 |
%changelog |
|
16428 | 375 |
* Mon Aug 31 2009 - [email protected] |
376 |
- add patch getcwd.diff, fixes 6816108 and setting CCSHARED to -KPIC -zignore |
|
377 |
fixes 6871151 |
|
16364 | 378 |
* Mon Aug 24 2009 - [email protected] |
379 |
- bump to 2.6.2 |
|
15372 | 380 |
* Thu Mar 12 2009 - [email protected] |
381 |
- change bugdb to http://bugs.python.org/issue |
|
382 |
- correct the comment format of patch14 |
|
15136 | 383 |
* Wed Feb 18 2009 - [email protected] |
384 |
- add patch14 to make ctypes.util.find_library use crle instead of ldconfig |
|
14969 | 385 |
* Fri Jan 23 2009 - [email protected] |
386 |
- add patch cflags.diff, fixes 6792612 |
|
14849 | 387 |
* Tue Jan 06 2009 - [email protected] |
14842 | 388 |
- add patch encoding-alias.diff for Solaris encodings. |
14736 | 389 |
* Wed Sep 17 2008 - [email protected] |
390 |
- delete the python-config symlink until python 2.5 becomes the default |
|
391 |
- move %{_arch64}/python25-config to -devel |
|
392 |
* Thu Aug 28 2008 - [email protected] |
|
393 |
- add patch dlpi.diff |
|
394 |
* Mon Aug 18 2008 - [email protected] |
|
395 |
- port remaining patches from 2.4 |
|
396 |
* Wed Aug 8 2007 - [email protected] |
|
397 |
- add patch shared-expat.diff, fixes 6544688 |
|
398 |
* Tue Mar 27 2007 - [email protected] |
|
399 |
- set DFLAGS to fix phelper.d build |
|
400 |
* Wed Mar 23 2007 - [email protected] |
|
401 |
- add patches dtrace.diff and pty-leak.diff |
|
402 |
* Wed Mar 15 2007 - [email protected] |
|
403 |
- Removed CC64. Not needed anymore |
|
404 |
* Mon Feb 5 2007 - [email protected] |
|
405 |
- add --with-pydebug configure option if --with-debug option (of pkgbuild) |
|
406 |
is used |
|
407 |
* Mon Feb 5 2007 - [email protected] |
|
408 |
- restore some rm lines in %install that were accidentally deleted when |
|
409 |
I removed Python 2.3 |
|
410 |
* Mon Feb 5 2007 - [email protected] |
|
411 |
- Delete bsddb files if SUNWevolution-bdb-devel is not installed. |
|
412 |
* Sun Feb 4 2007 - [email protected] |
|
413 |
- remove python 2.3 as per PSARC/2006/666 |
|
414 |
- define bsddb subpkg which gets built if SUNWevolution-bdb-devel is |
|
415 |
installed |
|
416 |
* Tue Dec 05 2006 - [email protected] |
|
417 |
- Remove "-j$CPUS" from 'make' calls to fix (parallel) build errors. |
|
418 |
* Sat Nov 4 2006 - [email protected] |
|
419 |
- bump to 2.4.4. (also fixes 6483597) |
|
420 |
- add the curses module to %files |
|
421 |
* Tue Oct 3 2006 - [email protected] |
|
422 |
- add patch Python-06-write_compiled_module-atomic.diff, fixes 6463378 |
|
423 |
- make the patches not create .patch<n> backup files because some of them |
|
424 |
ended up in the packages |
|
425 |
- fix the path to the python interpreter in the .py files before they |
|
426 |
are compiled, fixes 6469243; |
|
427 |
* Mon Sep 18 2006 - [email protected] |
|
428 |
- 64-bit python changes |
|
429 |
- Python-01-solaris-lib-dirs.diff: (update) merge for 2.4.3 and fix ssl |
|
430 |
libdir part so that it uses a 64-bit libdir when built in 64-bit mode |
|
431 |
- Python-02-pycc.diff: (update) reset IFS correctly; use = not ==; |
|
432 |
add some hacks at the bottom to use the right gcc options, so 64-bit |
|
433 |
can build |
|
434 |
- Python-03-distutils-pycc.diff: force using pycc/pyCC so that CC/CXX |
|
435 |
CFLAGS/LDFLAGS are picked up from the environment |
|
436 |
- Python-04-distutils-log.diff: fix log.info commands so that they work |
|
437 |
when the '%' char appears in a compiler flags |
|
438 |
- Python-05-isalibs.diff: (new) make .so's be generated as foo.so, |
|
439 |
64/foo.so; some really nasty fixes to pyconfig.h: we cannot use the |
|
440 |
compile-time version of SIZEOF, so we hack them in using _LP64. |
|
441 |
We use PY_CHECK_SIZEOF to avoid autoconf automatically adding them |
|
442 |
to pyconfig.h; in the Makefile, make python obey libdir for libpython, |
|
443 |
but still put the generic stuff in /usr/lib/python2.4 |
|
444 |
(not /usr/lib/amd64/python2.4...) |
|
445 |
* Fri Jul 21 2006 - [email protected] |
|
446 |
- Bump to 2.4.3. |
|
447 |
* Tue Jun 20 2006 - [email protected] |
|
448 |
- Add BuildRequires of the openssl libraries package (already a 'Requires'). |
|
449 |
* Tue May 09 2006 - [email protected] |
|
450 |
- merge -share pkg(s) into the base pkg(s) |
|
451 |
* Sun Oct 30 2005 - [email protected] |
|
452 |
- change interpreter in python scripts to full path to the appropriate |
|
453 |
version (/usr/bin/python2.4 or /usr/sfw/bin/python2.3), fixes 6318475 |
|
454 |
- set the C/C++ compiler in the distutils Makefile to the pycc/pyCC |
|
455 |
wrapper scripts, fixes 6247860 |
|
456 |
* Fri Oct 28 2005 - [email protected] |
|
457 |
- update to 2.4.2 |
|
458 |
- build shared libpython and remove the static one, fixes 6199942 |
|
459 |
- remove XOPEN/POSIX defines from pyconfig.h: fixes 6240077 |
|
460 |
- add missing dependencies, fixes 6318436 |
|
461 |
* Tue Sep 27 2005 - [email protected] |
|
462 |
- omit some unnecessary compiler flags |
|
463 |
- remove .pyo files |
|
464 |
- add a pth file to site-packages that tells python to search for modules |
|
465 |
in the vendor-packages directory too |
|
466 |
- change default permissions to root:bin. |
|
467 |
* Wed Oct 19 2005 - [email protected] |
|
468 |
- Add another missing runtime dependency, SUNWlibmsr, fixes 6208617. |
|
469 |
- Move Pyrex to SUNWPython-extra.spec file. |
|
470 |
* Tue Sep 20 2005 - [email protected] |
|
471 |
- move python 2.4.1 to /usr and keep python 2.3 in /usr/sfw for backcompat |
|
472 |
- omit -xregs=no%frameptr as it breaks the build |
|
473 |
* Fri Aug 26 2005 - [email protected] |
|
474 |
- update to 2.4.1 |
|
475 |
* Tue Aug 02 2005 - [email protected] |
|
476 |
- added SUNWsfwhea build dependency needed for expat headers |
|
477 |
* Tue Aug 02 2005 - [email protected] |
|
478 |
- Add SUNWlexpt dependency as the Expat library is required for building. |
|
479 |
* Fri Jul 29 2005 - [email protected] |
|
480 |
- Add missing runtime dependencies, fixes 6208617. |
|
481 |
* Sun Nov 14 2004 - [email protected] |
|
482 |
- add /usr/sfw/lib to RPATH |
|
483 |
* Fri Oct 22 2004 - [email protected] |
|
484 |
- remove bsddb bits (won't work without bsd db itself), fixes 6176600 |
|
485 |
* Sat Oct 02 2004 - [email protected] |
|
486 |
- added %pkgbuild_postprocess |
|
487 |
* Sat Sep 18 2004 - [email protected] |
|
488 |
- move to /usr/sfw |
|
489 |
* Tue Jun 22 2004 - [email protected] |
|
490 |
- changed install location to /usr/lib and /usr/bin |
|
491 |
* Fri Mar 05 2005 - [email protected] |
|
492 |
- remove package root def'n |
|
493 |
* Thu Mar 04 2004 - [email protected] |
|
494 |
- initial version added to CVS |