--- pyrex-0.9.8.5.orig/debian/control
+++ pyrex-0.9.8.5/debian/control
@@ -0,0 +1,38 @@
+Source: pyrex
+Section: python
+Priority: optional
+Maintainer: Paul Brossier <piem@debian.org>
+Build-Depends: debhelper (>= 5.0.37.2),
+ python-all-dev (>= 2.5.4-1~),
+ dpatch
+Build-Depends-Indep: python-central (>= 0.5)
+XS-Python-Version: all
+Standards-Version: 3.8.3
+Homepage: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
+Vcs-Bzr: http://bzr.debian.org/users/piem/pyrex/
+Vcs-Browser: http://bzr.debian.org/loggerhead/users/piem/pyrex/
+
+Package: python-pyrex
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Provides: ${python:Provides}
+Recommends: python-all-dev
+XB-Python-Version: all
+Description: compile native-code modules for Python from Python-like syntax
+ Pyrex lets you write code that mixes Python and C data types any way you want,
+ and compiles it into a C extension for Python.
+ .
+ You can get very large speedups for tasks that don't need all the dynamic
+ features of Python, with very small differences in syntax and much less
+ hassle than writing your modules from scratch in C.
+
+Package: pyrex-mode
+Architecture: all
+Depends: python-mode | emacs22, ${misc:Depends}
+XB-Python-Version: all
+Description: emacs-lisp pyrex-mode for pyrex
+ Pyrex lets you write code that mixes Python and C data types any way you want,
+ and compiles it into a C extension for Python.
+ .
+ This Emacs mode is derived from the Python language mode, python-mode,
+ and provides syntax highlighting for Pyrex scripts.
--- pyrex-0.9.8.5.orig/debian/pyrexc.1
+++ pyrex-0.9.8.5/debian/pyrexc.1
@@ -0,0 +1,43 @@
+.\" 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 PYREXC 1 "November 26, 2002"
+.\" 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 <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+pyrexc \- compile python-like .pyx file to C for use as python module
+.SH SYNOPSIS
+.B pyrexc
+.RI " files" ...
+.SH DESCRIPTION
+This manual page documents briefly the
+.B pyrexc
+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<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+\fBpyrexc\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 <scav@blueyonder.co.uk>,
+for the Debian GNU/Linux system (but may be used by others).
--- pyrex-0.9.8.5.orig/debian/pyrex-mode.emacsen-startup
+++ pyrex-0.9.8.5/debian/pyrex-mode.emacsen-startup
@@ -0,0 +1,23 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file, e.g. /etc/emacs/site-start.d/50pyrex-mode.el
+;; for the Debian pyrex-mode package
+;;
+;; The pyrex-mode package follows the Debian/GNU Linux 'emacsen' policy and
+;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
+;; xemacs19, emacs20, xemacs20...). The compiled code is then installed
+;; in a subdirectory of the respective site-lisp directory.
+
+;; If package-dir does not exist, the pyrex-mode package must have
+;; been removed but not purged, and we should skip the setup.
+(if (not (file-exists-p "/usr/share/emacs/site-lisp/pyrex-mode.el"))
+ (message "Package pyrex-mode removed but not purged. Skipping setup")
+
+;; Otherwise, autoload the pyrex-mode for the following extensions
+ (autoload 'pyrex-mode "pyrex-mode" "Pyrex editing mode." t)
+ (add-to-list 'auto-mode-alist '("\\.pyx$" . pyrex-mode))
+ (add-to-list 'auto-mode-alist '("\\.pxd$" . pyrex-mode))
+ (add-to-list 'auto-mode-alist '("\\.pxi$" . pyrex-mode))
+
+;; endif
+)
--- pyrex-0.9.8.5.orig/debian/README.source
+++ pyrex-0.9.8.5/debian/README.source
@@ -0,0 +1,5 @@
+This package uses dpatch to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+Read more about this on /usr/share/doc/dpatch/README.source.gz
--- pyrex-0.9.8.5.orig/debian/pythonX.Y-pyrexc
+++ pyrex-0.9.8.5/debian/pythonX.Y-pyrexc
@@ -0,0 +1,7 @@
+#! /bin/sh
+if which python#VERS# > /dev/null; then
+ exec python#VERS# -c 'from Pyrex.Compiler.Main import main; main(command_line = 1)' $*
+else
+ echo python#VERS# not found
+ exit 1
+fi
--- pyrex-0.9.8.5.orig/debian/watch
+++ pyrex-0.9.8.5/debian/watch
@@ -0,0 +1,2 @@
+version=2
+http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/ Pyrex-([0-9\.]*)\.tar\.gz
--- pyrex-0.9.8.5.orig/debian/rules
+++ pyrex-0.9.8.5/debian/rules
@@ -0,0 +1,92 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+export DH_OPTIONS
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+include /usr/share/python/python.mk
+
+PYTHON := /usr/bin/python
+PYVERS := $(shell pyversions -vr debian/control)
+PYVER := $(shell python -c 'import sys; print sys.version[:3]')
+PYREXC=pyrexc
+
+configure: configure-stamp
+configure-stamp: patch-stamp
+ dh_testdir
+ # nothing to do
+ touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp
+ # make sure most files are not executable
+ find [DPTCs]* -type f -exec chmod -x {} \;
+ dh_testdir
+ # nothing to do
+ touch build-stamp
+
+clean: clean1st unpatch
+clean1st:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ $(PYTHON) setup.py clean --all ;\
+ # delete *.pyc generated by setup.py
+ find . -name '*.pyc' -exec rm -rf {} \;
+ rm -f build-stamp
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # fix executable file : headers, names
+ # $$file -> python$$version-$$file
+ $(PYTHON) setup.py install --root=$(CURDIR)/debian/python-pyrex --no-compile $(py_setup_install_args)
+ for python in $(PYVERS); do \
+ sed 's/#VERS#/'$$python'/g' debian/pythonX.Y-pyrexc > debian/python-pyrex/usr/bin/python$$python-pyrexc ; \
+ chmod 755 debian/python-pyrex/usr/bin/python$$python-pyrexc ; \
+ done
+ dh_install -p pyrex-mode
+
+binary-common:
+
+ dh_testdir
+ dh_testroot
+ dh_installdebconf
+ dh_installchangelogs CHANGES.txt
+ dh_installdocs
+ dh_installemacsen
+ dh_installexamples
+ dh_installman debian/pyrexc.1
+ # default version link for binary and manpage
+ for python in $(PYVERS); \
+ do dh_link -ppython-pyrex \
+ usr/share/man/man1/$(PYREXC).1.gz \
+ usr/share/man/man1/python$$python-$(PYREXC).1.gz ;\
+ done
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_pycentral
+ # remove empty dir after pycentral moved its content
+ -$(RM) -r debian/python-pyrex/usr/lib
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+# Build architecture-independent files here.
+binary: build install
+ $(MAKE) -k -f debian/rules DH_OPTIONS=-i binary-common
+
+.PHONY: build clean binary-indep binary-arch binary install configure unpatch clean1st
--- pyrex-0.9.8.5.orig/debian/pyrex-mode.el
+++ pyrex-0.9.8.5/debian/pyrex-mode.el
@@ -0,0 +1,15 @@
+;;;; `Pyrex' mode.
+
+(provide 'pyrex-mode)
+
+(define-derived-mode pyrex-mode python-mode "Pyrex"
+ (font-lock-add-keywords
+ nil
+ `((,(concat "\\<\\(NULL"
+ "\\|c\\(def\\|har\\|typedef\\)"
+ "\\|e\\(num\\|xtern\\)"
+ "\\|float"
+ "\\|in\\(clude\\|t\\)"
+ "\\|object\\|public\\|struct\\|type\\|union\\|void"
+ "\\)\\>")
+ 1 font-lock-keyword-face t))))
--- pyrex-0.9.8.5.orig/debian/compat
+++ pyrex-0.9.8.5/debian/compat
@@ -0,0 +1 @@
+5
--- pyrex-0.9.8.5.orig/debian/pyrex-mode.install
+++ pyrex-0.9.8.5/debian/pyrex-mode.install
@@ -0,0 +1 @@
+debian/pyrex-mode.el usr/share/emacs/site-lisp
--- pyrex-0.9.8.5.orig/debian/changelog
+++ pyrex-0.9.8.5/debian/changelog
@@ -0,0 +1,302 @@
+pyrex (0.9.8.5-2) unstable; urgency=low
+
+ * Acknowledge NMU (closes: #519951)
+ * Adjust pyrex-mode depends for emacs22 (closes: #485766)
+ * Fix Vcs-* fields (closes: #536808)
+ * Bump Standards-Version to 3.8.3
+
+ -- Paul Brossier <piem@debian.org> Tue, 08 Dec 2009 01:11:36 +0100
+
+pyrex (0.9.8.5-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Prepare for the upcoming Python 2.6 transition; thanks to Evan Broder for
+ the report; Closes: #519951
+ - debian/control
+ + tight b-d on python-all-dev to '(>= 2.5.4-1~)'
+ - debian/rules
+ + include python.mk
+ + pass py_setup_install_args to setup.py install
+
+ -- Sandro Tosi <morph@debian.org> Wed, 25 Nov 2009 23:28:41 +0100
+
+pyrex (0.9.8.5-1) unstable; urgency=low
+
+ * New upstream release.
+ * Acknowledge non-maintainer upload (closes: #483035).
+ * Bump Standards-version to 3.8.1
+ * Add ${misc:Depends} for debhelper
+ * Complete debian/copyright
+
+ -- Paul Brossier <piem@debian.org> Thu, 19 Mar 2009 16:11:15 +0100
+
+pyrex (0.9.7.2-0.1) unstable; urgency=high
+
+ * NMU because maintainer is MIA.
+ * New upstream release fixing an integer indexing optimisation problem
+ (0.9.7.1 and 0.9.7.2 contain this fix only, so this is safe for
+ Lenny release) (Closes: #483035).
+
+ -- Marc Dequènes (Duck) <Duck@DuckCorp.org> Fri, 29 Aug 2008 03:00:52 +0200
+
+pyrex (0.9.7-1) unstable; urgency=low
+
+ * New upstream release.
+ * remove dh_python from debian/rules, add XB-Python-Version
+ (closes: #460253)
+ * remove auto-mode-alist from debian/pyrex-mode.el (ubuntu #73904)
+ * add provide to debian/pyrex-mode.el (ubuntu #73903)
+ * debian/control: added Homepage field
+ * debian/rules, debian/control: add dpatch
+ * debian/patches: add hash patch, thanks to Jakub Wilk (closes: #469735)
+ * debian/control: drop Suggests: python-numeric (closes: #478455)
+ * debian/python-pyrex.doc-base: switch to section Programming/Pyrex
+ * debian/control: added fields Vcs-Browser and Vcs-Hg
+ * debian/control: fix typo python -> Python
+
+ -- Paul Brossier <piem@debian.org> Sun, 11 May 2008 16:19:48 +0200
+
+pyrex (0.9.6.4-1) unstable; urgency=low
+
+ * New upstream release (closes:#406025)
+ * Move python-all-dev to Build-Depends since python gets called in
+ debian/rules:clean
+ * Delete empty usr/lib from python-pyrex
+ * Delete blank lines from debian/python-pyrex.doc-base
+ * Remove empty binary-arch target
+ * Bump Standards-Version to 3.7.3
+
+ -- Paul Brossier <piem@debian.org> Fri, 11 Jan 2008 11:50:29 +0100
+
+pyrex (0.9.5.1a-1) unstable; urgency=low
+
+ * New upstream release (closes: #411004)
+ * Provide only ${python:Provides} (closes: #399937)
+ * Drop Conflicts and Replaces against oldstable packages
+ * Bumpep Build-depends on debhelper to 5.0.37.2
+ * Added debian/pycompat, set to 2
+ * Moved DH_COMPAT=5 to debian/compat
+
+ -- Paul Brossier <piem@debian.org> Sat, 21 Apr 2007 15:16:07 +0200
+
+pyrex (0.9.4.1-2) unstable; urgency=low
+
+ * Correct pyrex-mode emacsen-startup script: load python-mode, not
+ python-mode. Add support for .pxi/.pxd extensions (thanks to Lukasz
+ Pankowski, closes: #375861). Avoid loading pyrex-mode when package has
+ been removed but not purged, do not touch load-path.
+ * Move dh_pycentral call right before dh_python.
+
+ -- Paul Brossier <piem@debian.org> Tue, 4 Jul 2006 15:44:27 +0200
+
+pyrex (0.9.4.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Update to new Python policy (closes: #373505)
+
+ -- Paul Brossier <piem@debian.org> Wed, 14 Jun 2006 18:21:15 +0200
+
+pyrex (0.9.4-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Paul Brossier <piem@debian.org> Thu, 20 Apr 2006 15:54:27 +0200
+
+pyrex (0.9.3.1-2) unstable; urgency=low
+
+ * Add missing gcc 4.0 patch (closes: #343533)
+
+ -- Paul Brossier <piem@debian.org> Mon, 19 Dec 2005 09:01:29 +0000
+
+pyrex (0.9.3.1-1) unstable; urgency=low
+
+ * New upstream release, integrates some of the gcc-4.x changes:
+ - adopted changes in Pyrex/Compiler/Nodes.py
+ - changed casts from PyObject* to void* in Pyrex/Compiler/Code.py
+ - removed Demos/{callback,embed} and Tools as in upstream
+ (closes: #328871)
+ * Keep a copy of pyrex-mode.el to debian/
+ * Added missing emacscen-startup script for pyrex-mode (closes: #337054)
+
+ -- Paul Brossier <piem@debian.org> Sun, 11 Dec 2005 15:45:59 +0000
+
+pyrex (0.9.3-3) unstable; urgency=low
+
+ * Drop python2.2-pyrex
+ * Update copyright file
+ * Bump to new Standards-Version
+
+ -- Paul Brossier <piem@debian.org> Wed, 13 Jul 2005 17:48:17 +0100
+
+pyrex (0.9.3-2) unstable; urgency=low
+
+ * Added python2.4-pyrex (closes: #292257)
+ * Patch to get friendlier code for gcc 4.0 (closes: #298084)
+ Author is Jeremy Katz, sent to pyrex ML via John (J5) Palmieri
+ * Also add additional patch from Martijn Faassen
+ * Fix swig_sources function in Pyrex/Distutils for python2.4
+ * Correct the email in previous changelog entry 0.9.2.1-4
+ * Move pyrexc link to python-pyrex
+ * Remove Guenter from the uploaders (thanks for the uploads)
+
+ -- Paul Brossier <piem@debian.org> Tue, 21 Jun 2005 20:02:11 +0100
+
+pyrex (0.9.3-1) unstable; urgency=low
+
+ * New upstream release
+ * Created watch file and pyrex-mode package
+ * Removed long unsigned patch (fixed upstream)
+ * Removed DH_VERBOSE mode, debug and nostrip opts in rules
+
+ -- Paul Brossier <piem@altern.org> Thu, 12 Aug 2004 13:08:21 +0200
+
+pyrex (0.9.2.1-4) unstable; urgency=low
+
+ * Fixed python Build-Depends: for amd64 (closes: #255603)
+
+ -- Paul Brossier <piem@altern.org> Mon, 28 Jun 2004 12:01:14 +0100
+
+pyrex (0.9.2.1-3) unstable; urgency=low
+
+ * Fixed patch (closes: #251572, #255279)
+ * Fixed override disparity (now in section python)
+
+ -- Paul Brossier <piem@altern.org> Mon, 21 Jun 2004 11:31:58 +0100
+
+pyrex (0.9.2.1-2) unstable; urgency=low
+
+ * Really includes a patch for dbus now (closes: #251572)
+ * Bump debian-policy to 3.6.1.0
+
+ -- Paul Brossier <piem@altern.org> Wed, 16 Jun 2004 15:55:44 +0100
+
+pyrex (0.9.2.1-1) unstable; urgency=low
+
+ * New upstream release (closes: #252819)
+ * Fixes namespace collision (closes: #233596)
+ * Added lamont patch (closes: #249881)
+ * Clean *.pyc to allow recompile
+
+ -- Paul Brossier <piem@altern.org> Wed, 9 Jun 2004 12:16:04 +0100
+
+pyrex (0.9.0-4) unstable; urgency=low
+
+ * Fixed upstream archive (permissions set to -x, removed .DS_Store garbage).
+ * Added missing cheesfinder.c as found in 0.7.2 release (closes: #232655).
+ * Corrected Makefile* in Demos.
+ * Added Tools in doc (enscript and emacs style files)
+
+ -- Paul Brossier <piem@altern.org> Wed, 18 Feb 2004 03:13:59 +0000
+
+pyrex (0.9.0-3) unstable; urgency=low
+
+ * Fixed debian/rules clean (Gregor Hoffleit)
+
+ -- Paul Brossier <piem@altern.org> Fri, 30 Jan 2004 01:05:20 +0000
+
+pyrex (0.9.0-2) unstable; urgency=low
+
+ * chmod -x on Pyrex/Compiler/Lexicon.pickle and some other files
+ * fixed carriage return Changes.txt and ToDo.txt (s/\r/\r/g)
+
+ -- Paul Brossier <piem@altern.org> Sat, 10 Jan 2004 17:02:43 +0000
+
+pyrex (0.9.0-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Paul Brossier <piem@altern.org> Sat, 15 Nov 2003 11:51:47 +0000
+
+pyrex (0.8.2-5) unstable; urgency=low
+
+ * Fixed Doc problem in python2.3-pyrex
+ * Added 2.2 2.3 diversions for /usr/bin/pyrexc
+
+ -- Paul Brossier <piem@altern.org> Mon, 22 Sep 2003 19:52:39 +0100
+
+pyrex (0.8.2-4) unstable; urgency=low
+
+ * Added virtual package python-pyrex
+ * Added compilation for python2.2
+ * Removed dirs file
+
+ -- Paul Brossier <piem@altern.org> Tue, 16 Sep 2003 02:46:40 +0100
+
+pyrex (0.8.2-3) unstable; urgency=low
+
+ * Fixed compilation warning at postinst in Plex/Transitions.py
+ * Header corrected to #!/urs/bin/python2.3 in pyrexc
+ * Fixed wrong placement of dh_python in debian/rules
+ * Removed Replaces: pyrex in control file
+ * Removed redundant Build-Depends-Indep on python
+ * Removed obsolete /usr/share/doc/pyrex in dirs
+
+ -- Paul Brossier <piem@altern.org> Tue, 16 Sep 2003 01:06:09 +0100
+
+pyrex (0.8.2-2) unstable; urgency=low
+
+ * Renamed binary from pyrex to python2.3-pyrex
+ * Added Replaces: pyrex
+ * Added missing changelog entries
+ * Added build dependancie to python2.3-dev
+ * Corrected dependancies to use dh_python
+ * Updated rules to use distutil and dh_python
+ * Removed old prerm to let dh_python handle it
+ * Specify manpage in debian/rules
+
+ -- Paul Brossier <piem@altern.org> Sat, 13 Sep 2003 11:39:51 +0100
+
+pyrex (0.8.2-1) unstable; urgency=low
+
+ * New upstream release
+ * Fixed broken distutils
+ * Removed obsolote README.Debian
+ * Updated maintainer
+
+ -- Paul Brossier <piem@altern.org> Wed, 3 Sep 2003 12:26:29 +0100
+
+pyrex (0.8.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Paul Brossier <piem@altern.org> Mon, 30 Jun 2003 17:05:37 +0100
+
+pyrex (0.7.2-1) unstable; urgency=low
+
+ * New upstream release
+ * Renamed my version of setup.py in the Demos directory to setup_all.py
+
+ -- Peter Harris <scav@blueyonder.co.uk> Thu, 24 Apr 2003 10:03:55 +0100
+
+pyrex (0.7-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Peter Harris <scav@blueyonder.co.uk> Thu, 10 Apr 2003 22:28:34 +0100
+
+pyrex (0.6.1-2) unstable; urgency=low
+
+ * Added Makefile.debian in Demos directory, uses python2.2 explicitly.
+
+ * Changed setup.py in demos directory to be an example of a setup.py that
+ builds all .pyx files in current directory.
+
+ -- Peter Harris <scav@blueyonder.co.uk> Wed, 9 Apr 2003 23:01:13 +0100
+
+pyrex (0.6.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Peter Harris <scav@blueyonder.co.uk> Fri, 4 Apr 2003 21:54:54 +0100
+
+pyrex (0.5-1) unstable; urgency=low
+
+ * 0.5-1
+ Upstream bug-fix release
+
+ * Initial Release.
+ Makefiles in Demos directory changed to refer explicitly to python2.2
+ where it is expected to be installed on Debian.
+
+ -- Peter Harris <scav@blueyonder.co.uk> Fri, 06 Dec 2002 16:30:00 +0000
+
--- pyrex-0.9.8.5.orig/debian/copyright
+++ pyrex-0.9.8.5/debian/copyright
@@ -0,0 +1,44 @@
+This package was first debianized by Peter Harris <scav@blueyonder.co.uk> on
+Tue, 26 Nov 2002 11:08:39 +0000.
+
+It is now maintained by Paul Brossier <piem@debian.org>
+
+This version was downloaded from
+ http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
+
+Upstream Author: Greg Ewing <greg@cosc.canterbury.ac.nz>
+
+Copyright:
+
+ Copyright 2004-2009 greg@cosc.canterbury.ac.nz
+
+ Pyrex is free of restrictions. You can use, redistribute or modify it however
+ you want.
+
+ Greg Ewing, Computer Science Dept,
+ University of Canterbury,
+ Christchurch, New Zealand
+
+Except for the file Pyrex/Mac/macglue.h:
+
+Copyright 1991-1997 by Stichting Mathematisch Centrum, Amsterdam,
+The Netherlands.
+
+All Rights Reserved
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
+provided that the above copyright notice appear in all copies and that
+both that copyright notice and this permission notice appear in
+supporting documentation, and that the names of Stichting Mathematisch
+Centrum or CWI not be used in advertising or publicity pertaining to
+distribution of the software without specific, written prior permission.
+
+STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
+THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
+FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
+OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
--- pyrex-0.9.8.5.orig/debian/python-pyrex.doc-base
+++ pyrex-0.9.8.5/debian/python-pyrex.doc-base
@@ -0,0 +1,10 @@
+Document: python-pyrex
+Title: Debian pyrex Manual
+Author: various
+Abstract: These HTML pages describes what pyrex is
+ and how it can be used.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-pyrex/Doc/index.html
+Files: /usr/share/doc/python-pyrex/Doc/*.html
--- pyrex-0.9.8.5.orig/debian/python-pyrex.docs
+++ pyrex-0.9.8.5/debian/python-pyrex.docs
@@ -0,0 +1,6 @@
+CHANGES.txt
+README.txt
+ToDo.txt
+USAGE.txt
+Doc
+Demos
--- pyrex-0.9.8.5.orig/debian/pycompat
+++ pyrex-0.9.8.5/debian/pycompat
@@ -0,0 +1 @@
+2
--- pyrex-0.9.8.5.orig/debian/patches/01_hash.dpatch
+++ pyrex-0.9.8.5/debian/patches/01_hash.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## hash.dpatch by Paul Brossier <piem@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad pyrex-0.9.7~/Pyrex/Compiler/Builtin.py pyrex-0.9.7/Pyrex/Compiler/Builtin.py
+--- pyrex-0.9.7~/Pyrex/Compiler/Builtin.py 2008-05-11 15:36:50.000000000 +0200
++++ pyrex-0.9.7/Pyrex/Compiler/Builtin.py 2008-05-11 15:40:36.000000000 +0200
+@@ -92,7 +92,7 @@
+ ('getattr', "OO", "O", "PyObject_GetAttr"),
+ ('getattr3', "OOO", "O", "__Pyx_GetAttr3", "getattr"),
+ ('hasattr', "OO", "i", "PyObject_HasAttr"),
+- ('hash', "O", "i", "PyObject_Hash"),
++ ('hash', "O", "l", "PyObject_Hash"),
+ #('hex', "", "", ""),
+ #('id', "", "", ""),
+ #('input', "", "", ""),
--- pyrex-0.9.8.5.orig/debian/patches/00list
+++ pyrex-0.9.8.5/debian/patches/00list
@@ -0,0 +1 @@
+01_hash