--- cython-0.11.2.orig/debian/changelog +++ cython-0.11.2/debian/changelog @@ -0,0 +1,119 @@ +cython (0.11.2-1ubuntu1) karmic; urgency=low + + * Build test + + -- Bhavani Shankar Tue, 11 Aug 2009 17:21:08 +0530 + +cython (0.11.2-1) unstable; urgency=low + + [ Ryan Kavanagh ] + * New upstream release (Closes: #525620, #536213) + + [ Jakub Wilk ] + * debian/rules: remove generated files. + + [ Piotr Ożarowski ] + * Standards-Version bumped to 3.8.2 (no change needed) + + -- Python Applications Packaging Team Mon, 10 Aug 2009 23:18:51 +0200 + +cython (0.10.3-1) unstable; urgency=low + + [ Vernon Tang ] + * New upstream release + * debian/watch: corrected regexp + + -- Ondrej Certik Sun, 15 Feb 2009 11:27:13 -0800 + +cython (0.10.2-1) unstable; urgency=low + + [ Sandro Tosi ] + * debian/control + - switch Vcs-Browser field to viewsvn + + [ Ondrej Certik ] + * New upstream release + * Description updated + * ${shlibs:Depends} added to depends + * architecture changed from all to any + * python-support moved from Build-Depends-Indep to Build-Depends + + -- Ondrej Certik Tue, 02 Dec 2008 12:06:41 +0100 + +cython (0.9.8-1) unstable; urgency=low + + * New upstream release + * python-all-dev added to build-depends (upstream now compiles + Cython.Plex.Scanners with Cython). The .so file is not included in the + .deb for some reason, so until this is fixed, the package stays + architecture all and remains pure Python. + + -- Ondrej Certik Sun, 20 Jul 2008 12:43:45 +0200 + +cython (0.9.6.14-1) unstable; urgency=low + + * 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 Wed, 11 Jun 2008 13:22:09 +0200 + +cython (0.9.6.13.1-1) unstable; urgency=low + + * New upstream version (Closes: #478077) + + -- Ondrej Certik Sun, 27 Apr 2008 00:54:05 +0200 + +cython (0.9.6.12-1) unstable; urgency=low + + * New upstream version (Closes: #463625) + * get-orig-tarball targed removed from debian/rules (uscan now works to get + orig.tar.gz) + + -- Ondrej Certik Thu, 14 Feb 2008 13:58:23 +0100 + +cython (0.9.6.11.ds-1) unstable; urgency=low + + [ Marco Rodrigues ] + * debian/watch: + + Fixed path (Closes: #460006). + * debian/control: + + Bump cdbs version to matches policy. + + [ Ondrej Certik ] + * New upstream version + + -- Ondrej Certik Fri, 18 Jan 2008 00:21:42 +0100 + +cython (0.9.6.10.ds-1) unstable; urgency=low + + * New upstream version + * Moved from pycentral to pysupport + * removed patches, since upstream has integrated them + + -- Ondrej Certik Mon, 31 Dec 2007 03:28:34 +0100 + +cython (0.9.6.8.ds-2) unstable; urgency=low + + * DM-Upload-Allowed changed to XS-Upload-Allowed + * Update Standards-Version to 3.7.3. + * Build-depend on python instead of python-all-dev + * ${misc:Depends} added to Depends + * Depend on debhelper >= 5.0.38 + * gcc added to Suggests + * README.Debian gcc command fixed by adding -fPIC + + -- Ondrej Certik Sat, 22 Dec 2007 22:12:00 +0100 + +cython (0.9.6.8.ds-1) unstable; urgency=low + + [ Ondrej Certik ] + * Initial Debian upload (Closes: 451039) + * Added a patch for handling the @classmethod decorators + + [ Sandro Tosi ] + * debian/watch + - added missing file + + -- Ondrej Certik Fri, 30 Nov 2007 13:00:44 +0100 --- cython-0.11.2.orig/debian/watch +++ cython-0.11.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://cython.org/Cython-(.*)\.tar\.gz --- cython-0.11.2.orig/debian/README.Debian +++ cython-0.11.2/debian/README.Debian @@ -0,0 +1,23 @@ +Cython +------ + +A simple example how to use it in Debian. Create a file t.pyx: + +$ cat t.pyx +def msum(long N): + cdef long s = 0, k + for k in range(N): + s += k + 1 + return s +$ 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.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) +['__builtins__', '__doc__', '__file__', '__name__', 'msum'] +>>> t.msum(5) +15 --- cython-0.11.2.orig/debian/compat +++ cython-0.11.2/debian/compat @@ -0,0 +1 @@ +5 --- cython-0.11.2.orig/debian/control +++ cython-0.11.2/debian/control @@ -0,0 +1,29 @@ +Source: cython +Section: python +Priority: optional +Maintainer: Python Applications Packaging Team +Uploaders: Ondrej Certik +Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.38), python (>= 2.4.4-6), python-all-dev (>= 2.4.4-6), python-support (>= 0.7.5) +Standards-Version: 3.8.2 +Homepage: http://cython.org/ +Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/cython/trunk +Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/cython/trunk/ +XS-DM-Upload-Allowed: yes + +Package: cython +Architecture: any +Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends} +Suggests: gcc +XB-Python-Version: ${python:Versions} +Description: C-Extensions for Python + Cython is a language that makes writing C extensions for the Python language as + easy as Python itself. Cython is based on the well-known Pyrex, but supports + more cutting edge functionality and optimizations. + . + The Cython language is very close to the Python language, but Cython + additionally supports calling C functions and declaring C types on variables + and class attributes. This allows the compiler to generate very efficient C + code from Cython code. + . + This makes Cython the ideal language for wrapping for external C libraries, and + for fast C modules that speed up the execution of Python code. --- cython-0.11.2.orig/debian/pycompat +++ cython-0.11.2/debian/pycompat @@ -0,0 +1 @@ +2 --- cython-0.11.2.orig/debian/copyright +++ cython-0.11.2/debian/copyright @@ -0,0 +1,61 @@ +It was downloaded from http://cython.org/ + +This package was debianized by Ondrej Certik on +Tue, 20 Nov 2007 23:30:02 +0100 + +Upstream Authors: + + Stefan Behnel, Robert Bradshaw, and William Stein + +Copyright 2007 Stefan Behnel, Robert Bradshaw, and William Stein + +The PYTHON SOFTWARE FOUNDATION LICENSE: + +PSF LICENSE AGREEMENT FOR PYTHON 2.4 +------------------------------------ + +1. This LICENSE AGREEMENT is between the Python Software Foundation +("PSF"), and the Individual or Organization ("Licensee") accessing and +otherwise using Python 2.4 software in source or binary form and its +associated documentation. + +2. Subject to the terms and conditions of this License Agreement, PSF +hereby grants Licensee a nonexclusive, royalty-free, world-wide +license to reproduce, analyze, test, perform and/or display publicly, +prepare derivative works, distribute, and otherwise use Python 2.4 +alone or in any derivative version, provided, however, that PSF's +License Agreement and PSF's notice of copyright, i.e., "Copyright (c) +2001, 2002, 2003, 2004 Python Software Foundation; All Rights Reserved" +are retained in Python 2.4 alone or in any derivative version prepared +by Licensee. + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python 2.4 or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python 2.4. + +4. PSF is making Python 2.4 available to Licensee on an "AS IS" +basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 2.4 WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +2.4 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 2.4, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. Nothing in this License Agreement shall be deemed to create any +relationship of agency, partnership, or joint venture between PSF and +Licensee. This License Agreement does not grant permission to use PSF +trademarks or trade name in a trademark sense to endorse or promote +products or services of Licensee, or any third party. + +8. By copying, installing or otherwise using Python 2.4, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. --- cython-0.11.2.orig/debian/rules +++ cython-0.11.2/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +DEB_PYTHON_SYSTEM=pysupport + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk + +install/cython:: + dh_installman debian/cython.1 + +clean:: + rm -f Cython/Compiler/Lexicon.pickle Cython/*/*.c --- cython-0.11.2.orig/debian/cython.1 +++ cython-0.11.2/debian/cython.1 @@ -0,0 +1,44 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH CYTHON 1 "November 30, 2007" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +cython \- compile python-like .pyx file to C for use as python module +.SH SYNOPSIS +.B cython +.RI " files" ... +.SH DESCRIPTION +This manual page documents briefly the +.B cython +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBcython\fP is a python script that converts a .pyx file to C, so it can +be compiled for use as a Python module. +.PP +You then need to compile the .c file along with the include files for +Python, and link it into a shared library. +.PP +The HTML documentation explains this better, and the Demo examples show how +to automate the compile and link stages more easily. +.SH AUTHOR +This manual page was written by Peter Harris , for the +Debian GNU/Linux system (but may be used by others) and the pyrex package. +Modified by Ondrej Certik for the Cython package.