Commit 0084b668 authored by Stefano Rivera's avatar Stefano Rivera

* New upstream release.

  - Includes manpage, drop our man page.
* Bump Standards-Version to 3.9.4.
  - Bump debhelper Depends to 8.1 for build-{arch,indep} support.
* Bump machine readable copyright format to 1.0.
* Bump copyright years.
* Moved repack.sh into a get-packaged-orig-source rule in rules.
parent 421fafd1
pyfiglet (0.6+dfsg-2) UNRELEASED; urgency=low
pyfiglet (0.6.1+dfsg-1) UNRELEASED; urgency=low
* New upstream release.
- Includes manpage, drop our man page.
* Update Homepage.
* Bump Standards-Version to 3.9.4.
- Bump debhelper Depends to 8.1 for build-{arch,indep} support.
* Bump machine readable copyright format to 1.0.
* Bump copyright years.
* Moved repack.sh into a get-packaged-orig-source rule in rules.
-- Stefano Rivera <stefanor@debian.org> Sat, 16 Jun 2012 20:07:16 +0100
......
......@@ -4,11 +4,11 @@ Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Stefano Rivera <stefanor@debian.org>
Build-Depends:
debhelper (>= 7.0.50~),
debhelper (>= 8.1),
python-all (>= 2.6.5-13~),
python-setuptools
X-Python-Version: >= 2.5
Standards-Version: 3.9.2
Standards-Version: 3.9.4
Homepage: https://github.com/pwaller/pyfiglet
Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyfiglet/trunk
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyfiglet/trunk
......
Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=174
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pyfiglet
Upstream-Contact: Peter Waller <peter.waller@gmail.com>
Source: https://github.com/pwaller/pyfiglet
......@@ -6,7 +6,7 @@ Comment:
The upstream for this package includes non-distributable items is the release
tarball:
* pyfiglet/fonts - a collection of figlet fonts from ftp.figlet.org
* figfont.txt - the Figlet specification
* doc/figfont.txt - the Figlet specification
Both clearly non-distributable, as described here http://bugs.debian.org/274950
.
Instead of the included fonts, this package can use the fonts provided by
......@@ -16,12 +16,12 @@ Comment:
Files: *
Copyright: 2007, Christopher Jones <cjones@gmail.com>,
2011, Peter Waller <peter.waller@gmail.com>,
2011, Stefano Rivera <stefanor@debian.org>
2011-2013, Peter Waller <peter.waller@gmail.com>,
2011-2013, Stefano Rivera <stefanor@debian.org>
License: GPL-2+
Files: debian/*
Copyright: 2010-2011, Stefano Rivera <stefanor@debian.org>
Copyright: 2010-2013, Stefano Rivera <stefanor@debian.org>
License: GPL-2+
License: GPL-2+
......
debian/pyfiglet.1
doc/pyfiglet.1
......@@ -47,7 +47,7 @@ Last-Update: 2011-05-29
author_email='peter.waller@gmail.com',
url='https://github.com/pwaller/pyfiglet',
- packages=['pyfiglet', 'pyfiglet.fonts'],
- package_data={'pyfiglet.fonts' : ['pyfiglet/fonts/*.flf']},
- package_data={'pyfiglet.fonts' : ['*.flf']},
+ packages=['pyfiglet'],
)
.TH PYFIGLET "1" "June 2011" "pyfiglet 0.6" "User Commands"
.SH NAME
pyfiglet \- display text in large ASCII art fonts.
.SH SYNOPSIS
.B pyfiglet.py
[\fIoptions\fR] \fItext\fR...
.SH DESCRIPTION
pyFIGlet is a program that creates large characters out of ordinary
screen characters.
It takes ASCII text (\fItext\fR) and renders it in ASCII art fonts.
.P
This version of pyfiglet supports FIGlet fonts \fB.flf\fR and
the FIGlet-compatible toilet-fonts \fB.tlf\fR.
.SH OPTIONS
.TP
\fB\-\-version\fR
show program's version number and exit
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.TP
\fB\-f\fR \fIFONT\fR, \fB\-\-font\fR=\fIFONT\fR
font to render with (default: future)
.TP
\fB\-D\fR \fIDIRECTION\fR, \fB\-\-direction\fR=\fIDIRECTION\fR
set direction text will be formatted in (default:
auto)
.TP
\fB\-j\fR \fISIDE\fR, \fB\-\-justify\fR=\fISIDE\fR
set justification, defaults to print direction
.TP
\fB\-w\fR \fICOLS\fR, \fB\-\-width\fR=\fICOLS\fR
set terminal width for wrapping/justification
(default: 80)
.TP
\fB\-r\fR, \fB\-\-reverse\fR
shows mirror image of output text
.TP
\fB\-F\fR, \fB\-\-flip\fR
flips rendered output text over
.SH "SEE ALSO"
.BR toilet (1),
.BR figlet (1)
#!/bin/sh
set -eu
VER=""
while [ $# -gt 1 ]; do
case "$1" in
"--upstream-version")
VER="$2"
shift
;;
*)
echo "Unknown parameter $1" >&2
exit 1
;;
esac
shift
done
INFILE="$1"
shift
echo "Repacking source to remove non-free files..."
mkdir "pyfiglet-$VER+dfsg.orig"
tar -x --exclude=pyfiglet/fonts --exclude=figfont.txt --exclude=.gitignore \
--strip-component=1 -C "pyfiglet-$VER+dfsg.orig" -f "$INFILE"
GZIP=--best tar -cz --owner root --group root --mode a+rX \
-f "pyfiglet_$VER+dfsg.orig.tar.gz" "pyfiglet-$VER+dfsg.orig"
rm -f "$INFILE"
rm -rf "pyfiglet-$VER+dfsg.orig"
......@@ -2,3 +2,15 @@
%:
dh $@ --with python2
get-packaged-orig-source:
set -ex; \
VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^+]+).*,\1,p'); \
uscan --noconf --download-current-version --destdir=. --rename; \
mkdir pyfiglet-$$VER+dfsg.orig; \
tar -x --exclude=pyfiglet/fonts --exclude=doc/figfont.txt --exclude=.gitignore \
--strip-component=1 -C pyfiglet-$$VER+dfsg.orig -f pyfiglet_$$VER.orig.tar.gz; \
rm pyfiglet_$$VER.orig.tar.gz; \
GZIP=--best tar -cz --owner root --group root --mode a+rX \
-f "pyfiglet_$$VER+dfsg.orig.tar.gz" "pyfiglet-$$VER+dfsg.orig"; \
rm -rf "pyfiglet-$$VER+dfsg.orig"
......@@ -2,4 +2,4 @@ version=3
opts=dversionmangle=s/\+dfsg// \
http://githubredir.debian.net/github/pwaller/pyfiglet/(.*).tar.gz \
debian debian/repack.sh
debian
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment