[Python-modules-commits] r1456 - in
/packages/pygments/trunk/debian: changelog control copyright docs
manpages pygmentize.1 rules watch
pox-guest at users.alioth.debian.org
pox-guest at users.alioth.debian.org
Thu Nov 2 10:36:04 CET 2006
Author: pox-guest
Date: Thu Nov 2 10:36:04 2006
New Revision: 1456
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1456
Log:
* New upstream release
* manpage added
* watch file added
* docs generated form source
Added:
packages/pygments/trunk/debian/manpages
packages/pygments/trunk/debian/pygmentize.1
packages/pygments/trunk/debian/watch
Modified:
packages/pygments/trunk/debian/changelog
packages/pygments/trunk/debian/control
packages/pygments/trunk/debian/copyright
packages/pygments/trunk/debian/docs
packages/pygments/trunk/debian/rules
Modified: packages/pygments/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pygments/trunk/debian/changelog?rev=1456&op=diff
==============================================================================
--- packages/pygments/trunk/debian/changelog (original)
+++ packages/pygments/trunk/debian/changelog Thu Nov 2 10:36:04 2006
@@ -1,6 +1,6 @@
-pygments (0.1~svn2258-1) UNRELEASED; urgency=low
+pygments (0.5.1-1) unstable; urgency=low
* Initial release (closes: #395064)
- -- Piotr Ozarowski <ozarow at gmail.com> Tue, 24 Oct 2006 17:54:36 +0200
+ -- Piotr Ozarowski <ozarow at gmail.com> Mon, 30 Oct 2006 17:19:10 +0100
Modified: packages/pygments/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pygments/trunk/debian/control?rev=1456&op=diff
==============================================================================
--- packages/pygments/trunk/debian/control (original)
+++ packages/pygments/trunk/debian/control Thu Nov 2 10:36:04 2006
@@ -4,7 +4,7 @@
Maintainer: Piotr Ozarowski <ozarow at gmail.com>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Build-Depends: debhelper (>= 5.0.38)
-Build-Depends-Indep: python (>= 2.3.5-11), python-all-dev, python-central (>= 0.5.6), python-setuptools (>= 0.6b3-1)
+Build-Depends-Indep: python (>= 2.3.5-11), python-all-dev, python-central (>= 0.5.6), python-setuptools (>= 0.6b3-1), python-docutils, python-jinja
Standards-Version: 3.7.2
XS-Python-Version: >= 2.3
Modified: packages/pygments/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/pygments/trunk/debian/copyright?rev=1456&op=diff
==============================================================================
--- packages/pygments/trunk/debian/copyright (original)
+++ packages/pygments/trunk/debian/copyright Thu Nov 2 10:36:04 2006
@@ -1,10 +1,12 @@
This package was debianized by Piotr Ozarowski <ozarow at gmail.com> on
Tue, 24 Oct 2006 17:54:36 +0200.
-It was downloaded from SVN repository:
-svn export http://trac.pocoo.org/repos/pygments/trunk pygments
+It was downloaded from http://pygments.pocoo.org/download/
-Copyright Holder: Georg Brandl <g.brandl at gmx.net>
+Upstream Author: Georg Brandl <g.brandl at gmx.net>
+
+Copyright: 2006 by Georg Brandl, Armin Ronacher, Lukas Meuser and others
+(see AUTHORS file)
License:
@@ -25,8 +27,8 @@
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-On Debian systems, the complete text of the LGPL
-can be found in `/usr/share/common-licenses/LGPL'
+On Debian systems, the complete text of the GNU Lesser General Public License
+can be found in /usr/share/common-licenses/LGPL file.
The Debian packaging is (C) 2006, Piotr Ozarowski <ozarow at gmail.com> and
is licensed under the GPL.
Modified: packages/pygments/trunk/debian/docs
URL: http://svn.debian.org/wsvn/python-modules/packages/pygments/trunk/debian/docs?rev=1456&op=diff
==============================================================================
--- packages/pygments/trunk/debian/docs (original)
+++ packages/pygments/trunk/debian/docs Thu Nov 2 10:36:04 2006
@@ -1,1 +1,2 @@
-docs/src/*
+AUTHORS
+TODO
Added: packages/pygments/trunk/debian/manpages
URL: http://svn.debian.org/wsvn/python-modules/packages/pygments/trunk/debian/manpages?rev=1456&op=file
==============================================================================
--- packages/pygments/trunk/debian/manpages (added)
+++ packages/pygments/trunk/debian/manpages Thu Nov 2 10:36:04 2006
@@ -1,0 +1,1 @@
+debian/pygmentize.1
Added: packages/pygments/trunk/debian/pygmentize.1
URL: http://svn.debian.org/wsvn/python-modules/packages/pygments/trunk/debian/pygmentize.1?rev=1456&op=file
==============================================================================
--- packages/pygments/trunk/debian/pygmentize.1 (added)
+++ packages/pygments/trunk/debian/pygmentize.1 Thu Nov 2 10:36:04 2006
@@ -1,0 +1,71 @@
+.TH PYGMENTIZE 1 "October 30, 2006"
+
+.SH NAME
+pygmentize \- highlights the input file
+
+.SH SYNOPSIS
+.B \fBpygmentize\fP
+.RI [-l\ \fI<lexer>\fP]\ [-f\ \fI<formatter>\fP]\ [-O\ \fI<options>\fP]\ [-o\ \fI<outfile>\fP]\ [\fI<infile>\fP]
+.br
+.B \fBpygmentize\fP
+.RI -S\ \fI<style>\fP\ -f\ \fI<formatter>\fP\ [-a\ \fI<arg>\fP]\ [-O\ \fI<options>\fP]
+.br
+.B \fBpygmentize\fP
+.RI -L\ |\ -h\ |\ -V
+
+.SH DESCRIPTION
+Pygments aims to be a generic syntax highlighter for general use in all kinds
+of software such as forum systems, wikis or other applications that need to
+prettify source code.
+.PP
+Its highlights are:
+ * a wide range of common languages and markup formats is supported
+ * special attention is paid to details, increasing quality by a fair amount
+ * support for new languages and formats are added easily
+ * a number of output formats, presently HTML, LaTeX and ANSI sequences
+ * it is usable as a command-line tool and as a library
+ * ... and it highlights even Brainfuck!
+.PP
+\fBpygmentize\fP is a command that uses Pygments to highlight the input file and
+write the result to \fI<outfile>\fP. If no \fI<infile>\fP is given, stdin is used.
+.SH OPTIONS
+A summary of options is included below.
+.TP
+.B \-l \fI<lexer>\fP
+Set lexer name. If not given, the lexer is guessed from the extension of
+the input file name (this obviously doesn't work if the input is stdin).
+.TP
+.B \-f \fI<formatter>\fP
+Set formatter name. If not given, it will be guessed from
+the extension of the output file name. If no output file is given,
+the terminal formatter will be used by default.
+.TP
+.B \-o \fI<outfile>\fP
+Set output file. If not given, stdout is used.
+.TP
+.B \-O \fI<options>\fP
+With this option, you can give the lexer and formatter a comma-
+separated list of options, e.g. "-O bg=light,python=cool". Which options are
+valid for which lexers and formatters can be found in the documentation.
+.TP
+.B \-S \fI<style>\fP
+Print out style definitions for style <style> and for formatter <formatter>.
+The meaning of the argument given by
+.B \-a \fI<arg>\fP
+is formatter dependent and can be found in the documentation.
+.TP
+.B \-L
+List all available lexers and formatters.
+.TP
+.B \-h
+Show help screen.
+.TP
+.B \-V
+Show version of the program.
+.SH SEE ALSO
+/usr/share/doc/python-pygments/index.html
+.SH AUTHOR
+pygmentize was written by Georg Brandl <g.brandl at gmx.net>.
+.PP
+This manual page was written by Piotr Ozarowski <ozarow at gmail.com>,
+for the Debian project (but may be used by others).
Modified: packages/pygments/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pygments/trunk/debian/rules?rev=1456&op=diff
==============================================================================
--- packages/pygments/trunk/debian/rules (original)
+++ packages/pygments/trunk/debian/rules Thu Nov 2 10:36:04 2006
@@ -2,19 +2,27 @@
#export DH_VERBOSE=1
-UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
+UPSTREAM_VERSION ?= $(shell dpkg-parsechangelog \
| grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1 | cut -d '~' -f 1)
-PYVERS=$(shell pyversions -vr)
+PYVERS ?= $(shell pyversions -vr)
clean:
dh_testdir
dh_testroot
- rm -rf build Pygments.egg-info
+ rm -rf build Pygments.egg-info build-indep
find . -name "*\.py[co]" -exec rm {} \;
dh_clean
-build:
+build: build-indep
+
+build-indep:
+ dh_testdir
+ if [ ! -d debian/python-pygments/usr/share/doc/python-pygments/ ]; then \
+ mkdir -p debian/python-pygments/usr/share/doc/python-pygments/; \
+ fi
+ PYTHONPATH='.' python docs/generate.py html debian/python-pygments/usr/share/doc/python-pygments/
+ touch $@
install: build $(PYVERS:%=install-python%)
install-python%:
@@ -25,30 +33,21 @@
sed -i -e '1 s/python.*/python/' debian/python-pygments/usr/bin/pygmentize
binary-indep: build install
- dh_testdir -i
- dh_testroot -i
- dh_installchangelogs -i
- dh_installdocs -i
- dh_pycentral -i
- dh_compress -i -X.py
- dh_fixperms -i
- dh_installdeb -i
- dh_gencontrol -i
- dh_md5sums -i
- dh_builddeb -i
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installman
+ dh_pycentral
+ dh_compress -X.py
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
binary-arch:
binary: binary-indep binary-arch
-tarball:
- @REV=`LC_ALL=C svn --non-interactive info http://trac.pocoo.org/repos/pygments/trunk \
- | grep Revision | cut -c 11-`; \
- if [ "$$REV" = "" ]; then exit 1; fi; \
- svn -q export http://trac.pocoo.org/repos/pygments/trunk pygments-svn$${REV}; \
- VERSION=`grep "__version__ = " pygments-svn$${REV}/pygments/__init__.py | cut -d "'" -f 2`; \
- tar -zcf ../pygments_$$VERSION~svn$${REV}.orig.tar.gz pygments-svn$${REV}; \
- rm -rf pygments-svn$${REV}; \
- echo file ../pygments_$$VERSION~svn$${REV}.orig.tar.gz successfully created
-
.PHONY: build clean binary-indep binary-arch binary install configure
Added: packages/pygments/trunk/debian/watch
URL: http://svn.debian.org/wsvn/python-modules/packages/pygments/trunk/debian/watch?rev=1456&op=file
==============================================================================
--- packages/pygments/trunk/debian/watch (added)
+++ packages/pygments/trunk/debian/watch Thu Nov 2 10:36:04 2006
@@ -1,0 +1,2 @@
+version=3
+http://cheeseshop.python.org/packages/source/P/Pygments/Pygments-(.*)\.tar\.gz
More information about the Python-modules-commits
mailing list