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