[Python-apps-commits] r1430 - in packages/cython/trunk/debian (README.Debian changelog)

certik-guest at users.alioth.debian.org certik-guest at users.alioth.debian.org
Wed Jun 11 11:36:59 UTC 2008


    Date: Wednesday, June 11, 2008 @ 11:36:56
  Author: certik-guest
Revision: 1430

README.Debian updated

Modified:
  packages/cython/trunk/debian/README.Debian
  packages/cython/trunk/debian/changelog

Modified: packages/cython/trunk/debian/README.Debian
===================================================================
--- packages/cython/trunk/debian/README.Debian	2008-06-11 11:24:28 UTC (rev 1429)
+++ packages/cython/trunk/debian/README.Debian	2008-06-11 11:36:56 UTC (rev 1430)
@@ -1,20 +1,20 @@
 Cython
 ------
 
-A simple example how to use it on Debian. Create a file t.pyx:
+A simple example how to use it in Debian. Create a file t.pyx:
 
-$ cat t.pyx 
+$ cat t.pyx
 def msum(long N):
-    cdef long s, k = 0
-    for k from 0 <= k < N :
+    cdef long s = 0, k
+    for k in range(N):
         s += k + 1
     return s
-$ cython  t.pyx 
-$ gcc -fPIC -O3 -I/usr/include/python2.4/ -c -o t.o t.c
+$ cython --convert-range t.pyx
+$ gcc -fPIC -O3 -I/usr/include/python2.5/ -c -o t.o t.c
 $ gcc -shared t.o -o t.so
 $ python
-Python 2.4.4 (#2, Aug 16 2007, 02:03:40) 
-[GCC 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)] on linux2
+Python 2.5.2 (r252:60911, May 28 2008, 08:35:32) 
+[GCC 4.2.4 (Debian 4.2.4-1)] on linux2
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import t
 >>> dir(t)

Modified: packages/cython/trunk/debian/changelog
===================================================================
--- packages/cython/trunk/debian/changelog	2008-06-11 11:24:28 UTC (rev 1429)
+++ packages/cython/trunk/debian/changelog	2008-06-11 11:36:56 UTC (rev 1430)
@@ -1,8 +1,9 @@
 cython (0.9.6.14-1) unstable; urgency=low
 
-  * New upstream version.
-  * Description improved (SAGE -> Sage), whitespace removed.
-  * Standards-Version bumped (no change needed).
+  * New upstream version
+  * Description improved (SAGE -> Sage), whitespace removed
+  * Standards-Version bumped (no change needed)
+  * README.Debian updated to recent cython way of doing things
 
  -- Ondrej Certik <ondrej at certik.cz>  Wed, 11 Jun 2008 13:22:09 +0200
 




More information about the Python-apps-commits mailing list