Author: wiget                        Date: Sat Feb 21 19:54:50 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- start update to 3.0.1
- use bz2 sources
- use system libffi
Compiles but 5 tests fails

---- Files affected:
SPECS:
   python30.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/python30.spec
diff -u SPECS/python30.spec:1.8 SPECS/python30.spec:1.9
--- SPECS/python30.spec:1.8     Fri Jan 23 15:14:51 2009
+++ SPECS/python30.spec Sat Feb 21 20:54:43 2009
@@ -32,13 +32,13 @@
 Summary(tr.UTF-8):     X arayüzlü, yüksek düzeyli, kabuk yorumlayıcı dili
 Summary(uk.UTF-8):     Мова програмування дуже високого рівня з X-інтерфейсом
 Name:          python30
-Version:       %{py_ver}
+Version:       %{py_ver}.1
 Release:       0.1
 Epoch:         1
 License:       PSF
 Group:         Applications
-Source0:       
http://www.python.org/ftp/python/%{version}/Python-%{version}%{beta}.tgz
-# Source0-md5: ac1d8aa55bd6d04232cd96abfa445ac4
+Source0:       
http://www.python.org/ftp/python/%{version}/Python-%{version}%{beta}.tar.bz2
+# Source0-md5: 7291eac6a9a7a3642e309c78b8d744e5
 Patch1:                %{name}-pythonpath.patch
 Patch2:                %{name}-no_ndbm.patch
 Patch3:                %{name}-ac_fixes.patch
@@ -56,6 +56,7 @@
 BuildRequires: file
 BuildRequires: gdbm-devel >= 1.8.3
 BuildRequires: gmp-devel >= 4.0
+BuildRequires: libffi-devel
 BuildRequires: libstdc++-devel
 BuildRequires: ncurses-ext-devel >= 5.2
 %if %{with openssl097}
@@ -482,7 +483,7 @@
 %prep
 %setup -q -n Python-%{version}%{beta}
 #patch1 -p1
-#patch2 -p1
+%patch2 -p1
 %patch3 -p1
 %patch5 -p1
 #patch4 -p1
@@ -492,18 +493,19 @@
 %build
 sed -i -e 's#-ltermcap#-ltinfo#g' configure*
 %{__autoconf}
-CPPFLAGS="-I/usr/include/ncurses"; export CPPFLAGS
+CPPFLAGS="-I/usr/include/ncursesw"; export CPPFLAGS
 %configure \
-       --with-cxx="%{__cxx}" \
+       --with-cxx-main="%{__cxx}" \
        --enable-shared \
        --enable-ipv6 \
-       --enable-unicode=ucs4 \
+       --with-wide-unicode \
        --with-signal-module \
        --with-tsc \
        --with-threads \
        --with-doc-strings \
        --with-wctype-functions \
        --with-fpectl \
+       --with-system-ffi \
        LINKCC='$(PURIFY) $(CXX)' \
        LDSHARED='$(CC) $(CFLAGS) -shared' \
        BLDSHARED='$(CC) $(CFLAGS) -shared' \
@@ -527,7 +529,7 @@
 binlibdir=`echo build/lib.*`
 %{__make} test \
        TESTOPTS="%{test_flags} %{test_list}" \
-       TESTPYTHON="LD_LIBRARY_PATH=`pwd` PYTHONHOME=`pwd` 
PYTHONPATH=`pwd`/Lib:$binlibdir ./python%{py_ver} -tt"
+       TESTPYTHON="LD_LIBRARY_PATH=`pwd` PYTHONHOME=`pwd` 
PYTHONPATH=`pwd`/Lib:$binlibdir ./python -tt"
 %endif
 
 %install
@@ -915,6 +917,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2009/02/21 19:54:43  wiget
+- start update to 3.0.1
+- use bz2 sources
+- use system libffi
+
+Compiles but 5 tests fails
+
 Revision 1.8  2009/01/23 14:14:51  cieciwa
 - next patch on
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python30.spec?r1=1.8&r2=1.9&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to