[Python-apps-commits] r331 - in packages/cython/trunk/debian (changelog cython.1 rules)

certik-guest at users.alioth.debian.org certik-guest at users.alioth.debian.org
Fri Nov 30 22:07:35 UTC 2007


    Date: Friday, November 30, 2007 @ 22:07:35
  Author: certik-guest
Revision: 331

man page added

Added:
  packages/cython/trunk/debian/cython.1
Modified:
  packages/cython/trunk/debian/changelog
  packages/cython/trunk/debian/rules

Modified: packages/cython/trunk/debian/changelog
===================================================================
--- packages/cython/trunk/debian/changelog	2007-11-30 18:43:28 UTC (rev 330)
+++ packages/cython/trunk/debian/changelog	2007-11-30 22:07:35 UTC (rev 331)
@@ -8,8 +8,4 @@
   * debian/watch
     - added missing file
 
-  TODO before a first upload:
-  * cython man page
-  (otherwise the package is lintian/linda clean)
-
  -- Ondrej Certik <ondrej at certik.cz>  Fri, 30 Nov 2007 13:00:44 +0100

Added: packages/cython/trunk/debian/cython.1
===================================================================
--- packages/cython/trunk/debian/cython.1	                        (rev 0)
+++ packages/cython/trunk/debian/cython.1	2007-11-30 22:07:35 UTC (rev 331)
@@ -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 <n>    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<whatever>\fP and
+.\" \fI<whatever>\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 <scav at blueyonder.co.uk>, for the
+Debian GNU/Linux system (but may be used by others) and cython package. Modified
+by Ondrej Certik <ondrej at certik.cz> for the Cython package.

Modified: packages/cython/trunk/debian/rules
===================================================================
--- packages/cython/trunk/debian/rules	2007-11-30 18:43:28 UTC (rev 330)
+++ packages/cython/trunk/debian/rules	2007-11-30 22:07:35 UTC (rev 331)
@@ -12,6 +12,9 @@
 clean::
 	QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
 
+install/cython::
+	dh_installman debian/cython.1
+
 get-orig-tarball:
 	wget http://www.cython.org/cython-0.9.6.8.zip
 	unzip cython-0.9.6.8.zip




More information about the Python-apps-commits mailing list