packages: python3/python3.spec - updated to 3.1; release 0.1
adamg
adamg at pld-linux.org
Mon Jun 29 16:55:41 CEST 2009
Author: adamg Date: Mon Jun 29 14:55:41 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- updated to 3.1; release 0.1
---- Files affected:
packages/python3:
python3.spec (1.19 -> 1.20)
---- Diffs:
================================================================
Index: packages/python3/python3.spec
diff -u packages/python3/python3.spec:1.19 packages/python3/python3.spec:1.20
--- packages/python3/python3.spec:1.19 Sun Mar 15 18:39:58 2009
+++ packages/python3/python3.spec Mon Jun 29 16:55:35 2009
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# TODO:
+# - fix tests
+# - check unpackaged files
# Conditional build:
%bcond_with info # info pages (requires emacs)
@@ -15,7 +19,7 @@
%define beta %{nil}
-%define py_ver 3.0
+%define py_ver 3.1
%define py_prefix %{_prefix}
%define py_libdir %{py_prefix}/%{_lib}/python%{py_ver}
%define py_incdir %{_includedir}/python%{py_ver}
@@ -31,18 +35,19 @@
Summary(tr.UTF-8): X arayüzlü, yüksek düzeyli, kabuk yorumlayıcı dili
Summary(uk.UTF-8): Мова програмування дуже високого рівня з X-інтерфейсом
Name: python3
-Version: %{py_ver}.1
-Release: 3
+Version: %{py_ver}
+Release: 0.1
Epoch: 1
License: PSF
Group: Applications
Source0: http://www.python.org/ftp/python/%{version}/Python-%{version}%{beta}.tar.bz2
-# Source0-md5: 7291eac6a9a7a3642e309c78b8d744e5
+# Source0-md5: f64437a24d39f1917aa1878cc70621f6
Patch1: %{name}-pythonpath.patch
Patch2: %{name}-no_ndbm.patch
Patch3: %{name}-ac_fixes.patch
Patch4: %{name}-lib64.patch
Patch5: %{name}-noarch_to_datadir.patch
+Patch6: %{name}-cast-fix.patch
URL: http://www.python.org/
BuildRequires: autoconf
BuildRequires: bluez-libs-devel
@@ -491,10 +496,11 @@
%prep
%setup -q -n Python-%{version}%{beta}
%patch1 -p1
-%patch2 -p1
+#%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p1
sed -i -e 's=@EXENAME@=%{_bindir}/python3=' Misc/python-config.in
%build
@@ -505,6 +511,7 @@
--with-cxx-main="%{__cxx}" \
--enable-shared \
--enable-ipv6 \
+ --with-dbmliborder=gdbm:bdb \
--with-wide-unicode \
--with-signal-module \
--with-tsc \
@@ -595,13 +602,6 @@
# pygettext.py is provided for compatibility
install Tools/i18n/pygettext.py $RPM_BUILD_ROOT%{_bindir}/pygettext%{py_ver}
-# add py_ver
-for script in idle pydoc; do
- mv $RPM_BUILD_ROOT%{_bindir}/${script} $RPM_BUILD_ROOT%{_bindir}/${script}%{py_ver}
-done
-
-ln -s python%{py_ver} $RPM_BUILD_ROOT%{_bindir}/python3
-
# just to cut the noise, as they are not packaged (now)
# first tests
rm -rf $RPM_BUILD_ROOT%{py_scriptdir}/test
@@ -641,6 +641,7 @@
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/python%{py_ver}
%attr(755,root,root) %{_bindir}/python3
+%{_mandir}/man1/python*.1*
%files modules
%defattr(644,root,root,755)
@@ -700,11 +701,11 @@
%attr(755,root,root) %{py_dyndir}/_curses.so
%attr(755,root,root) %{py_dyndir}/datetime.so
%attr(755,root,root) %{py_dyndir}/_elementtree.so
-%attr(755,root,root) %{py_dyndir}/_functools.so
+#%attr(755,root,root) %{py_dyndir}/_functools.so
%attr(755,root,root) %{py_dyndir}/_hashlib.so
%attr(755,root,root) %{py_dyndir}/_heapq.so
%attr(755,root,root) %{py_dyndir}/_json.so
-%attr(755,root,root) %{py_dyndir}/_locale.so
+#%attr(755,root,root) %{py_dyndir}/_locale.so
%attr(755,root,root) %{py_dyndir}/_lsprof.so
%attr(755,root,root) %{py_dyndir}/_multibytecodec.so
%attr(755,root,root) %{py_dyndir}/_multiprocessing.so
@@ -845,12 +846,12 @@
%files -n pydoc3
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/pydoc%{py_ver}
+%attr(755,root,root) %{_bindir}/pydoc3
%{py_scriptdir}/pydoc.py[co]
%files -n idle3
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/idle%{py_ver}
+%attr(755,root,root) %{_bindir}/idle3
%dir %{py_scriptdir}/idlelib
%dir %{py_scriptdir}/idlelib/Icons
%{py_scriptdir}/idlelib/*.py[co]
@@ -862,7 +863,7 @@
%files devel
%defattr(644,root,root,755)
%doc Misc/{ACKS,NEWS,README,README.valgrind,valgrind-python.supp}
-%attr(755,root,root) %{_bindir}/python%{py_ver}-config
+%attr(755,root,root) %{_bindir}/python*-config
%attr(755,root,root) %{_libdir}/lib*.so
%dir %{py_incdir}
%{py_incdir}/*.h
@@ -964,6 +965,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.20 2009/06/29 14:55:35 adamg
+- updated to 3.1; release 0.1
+
Revision 1.19 2009/03/15 17:39:58 wiget
- fixed -lib -modules split (now python3 without -modules starts)
- release 3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python3/python3.spec?r1=1.19&r2=1.20&f=u
More information about the pld-cvs-commit
mailing list