debian/0000755000000000000000000000000012214576005007170 5ustar debian/watch0000644000000000000000000000012612214575634010227 0ustar version=3 http://pypi.python.org/packages/source/a/aafigure/aafigure-([0-9.]+).tar.gz debian/clean0000644000000000000000000000001312214575634010176 0ustar debian/*.1 debian/rules0000755000000000000000000000205512214575634010261 0ustar #!/usr/bin/make -f xsl = http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl xsltproc = xsltproc --nonet --param man.charmap.use.subset 0 python_all = pyversions -r | tr ' ' '\n' | xargs -t -I {} env {} .PHONY: clean clean: dh_testdir dh_clean rm -rf build find -name '*.py[co]' -delete .PHONY: build build-arch build-indep build build-indep: build/stamp debian/aafigure.1 build/stamp: dh_testdir $(python_all) setup.py build touch $(@) %.1: %.xml $(xsltproc) -o $(dir $(@)) $(xsl) $(<) .PHONY: binary binary-arch binary-indep binary binary-indep: build/stamp dh_testdir dh_testroot dh_prep $(python_all) setup.py install --prefix=/usr --root=debian/python-aafigure/ sed -i '1 s,\(#!/usr/bin/python\).*,\1,' debian/*/usr/bin/* sed -i 's/^\(Metadata-Version\): 1\.0$$/\1: 1\.1/' debian/*/usr/lib/python*/*-packages/*.egg-info dh_installdocs dh_installexamples dh_installman dh_installchangelogs dh_pysupport dh_compress -X examples/ dh_fixperms dh_installdeb dh_gencontrol dh_md5sums dh_builddeb # vim:ts=4 sw=4 noet debian/examples0000644000000000000000000000002512214575634010735 0ustar examples/* docutils/ debian/aafigure.xml0000644000000000000000000002113112214575634011502 0ustar ]> &p; manual &p; Jakub Wilk Wrote this manpage for the Debian system.
jwilk@debian.org
2009 2010 Jakub Wilk
&p; 1 &version; &p; convert ASCII art to an image &p; option input-file &p; Description &p; is an ASCII art to image converter. ASCII art figures can be parsed and output as SVG, PNG, PDF and more. Options The program follows the usual GNU command line syntax, with long options starting with two dashes (--). Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. Write output to file rather than to the standard output. Set character encoding for input text. The default is ‘UTF-8’. Specify which characters should be considered wide. properties is a comma-separated list of East Asian width symbols: F East Asian Fullwidth H East Asian Halfwidth W East Asian Wide Na East Asian Narrow A East Asian Ambiguous N Neutral (Not East Asian) The default is ‘F,W’. Use the provided output format. By default, output format is inferred from the output file name extension. The following formats are supported: SVG, PDF, PNG and any file format supported by Python Imaging Library. Enable debug outputs. Disable horizontal fill detection. Use the specified scale. Use the specified aspect ratio. For SVG output format, use the specified line width. Use a proportional font rather than a fixed-width font. Use the specified foreground color. The default is black (#000000). Use the specified fill color. The default is the foreground color. Use the specified background color. The default is white (#ffffff). Pass special options to backends. (For expert users only.) Display help and exit. Display version information and exit.
debian/copyright0000644000000000000000000000367412214575634011144 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: aafigure Upstream-Contact: Chris Liechti Source: https://launchpad.net/aafigure License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . * Neither the name of the aafigure-team nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AAFIGURE-TEAM ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AAFIGURE-TEAM BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: * Copyright: 2006-2010, aafigure-team License: BSD Files: docutils/setup-docutils-plugin.py Copyright: none License: public-domain Author: Lea Wiemann Author: Chris Liechti This file has been placed in the public domain. Files: debian/* Copyright: 2009, 2010 Jakub Wilk License: BSD debian/docs0000644000000000000000000000003712214575634010052 0ustar README.txt documentation/*.rst debian/source/0000755000000000000000000000000012214575634010477 5ustar debian/source/format0000644000000000000000000000001412214575634011705 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012214575634010626 5ustar debian/patches/pilhelper-nonlinux.diff0000644000000000000000000000117312214575634015316 0ustar Description: Enable font lookup code on non-Linux paltforms. Origin: upstream, http://bazaar.launchpad.net/~aafigure-team/aafigure/trunk/diff/117 Bug: https://bugs.launchpad.net/aafigure/+bug/546834 Forwarded: yes Last-Updated: 2012-04-23 --- a/aafigure/PILhelper.py +++ b/aafigure/PILhelper.py @@ -33,7 +33,7 @@ font = ImageFont.truetype(name, size) except IOError: # PIL upto 1.1.7b1 only tries absolute paths for win32 - if sys.platform.startswith('linux'): + if os.name == 'posix': font_path = _find_file(name, '/usr/share/fonts') if font_path: try: debian/patches/series0000644000000000000000000000003012214575634012034 0ustar pilhelper-nonlinux.diff debian/compat0000644000000000000000000000000212214575634010375 0ustar 7 debian/control0000644000000000000000000000174612214576022010602 0ustar Source: aafigure Section: python Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: "Super" Nathan Weber Uploaders: Debian Python Modules Team Vcs-Svn: svn://svn.debian.org/python-modules/packages/aafigure/trunk Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/aafigure/trunk/ Build-Depends: debhelper (>= 7), python-all, python-support (>= 0.90), docbook-xml (>= 4.5), docbook-xsl, xsltproc Standards-Version: 3.9.4 Homepage: https://launchpad.net/aafigure Package: python-aafigure Architecture: all Depends: ${misc:Depends}, ${python:Depends} Recommends: python-reportlab, python-imaging, fonts-liberation Description: ASCII art to image converter aafigure is an ASCII art to image converter. . ASCII art figures can be parsed and output as SVG, PNG, PDF and more. . This package provides a Python module and a command-line tool. debian/changelog0000644000000000000000000000460112214576005011043 0ustar aafigure (0.5-4ubuntu1) saucy; urgency=low * Recommend fonts-liberation rather than ttf-liberation. -- Jackson Doak Fri, 13 Sep 2013 07:54:51 +1000 aafigure (0.5-4) unstable; urgency=low * Bump version number of Debian Standards to 3.9.4 * Set myself as maintainer (closes: #704925). -- "Super" Nathan Weber Mon, 13 May 2013 10:34:00 +0900 aafigure (0.5-3) unstable; urgency=low * Re-upload to Debian (closes: #669630). * Set myself as Maintainer and put Debian Python Modules Teams in Uploaders. * Bump standards version to 3.9.3. + Update debian/copyright URI. * Fix debian/copyright formatting. * Rewrite debian/rules from scratch, without using dh. + Reduce minimum required debhelper version to 7. * Add work-around for bug #645125. * Update patch headers. -- Jakub Wilk Mon, 23 Apr 2012 11:54:42 +0200 aafigure (0.5-2) unstable; urgency=low * QA upload (see #589967). + Set Maintainer to Debian QA Group. + Remove Uploaders. * Drop work-around for bug #575377. * Bump standards version to 3.9.2 (no changes needed). * Fix a typo in the manual page. * Relicense Debian packaging to the BSD license. * Simplify debian/rules. Add build-arch and build-indep targets. * Build-depend on python-all. * Update debian/copyright to the latest DEP-5 version. -- Jakub Wilk Thu, 16 Jun 2011 23:55:23 +0200 aafigure (0.5-1) unstable; urgency=low * New upstream release: + Drop patch to use Liberation fonts, no longer needed. + Enable font lookup code on non-Linux paltforms. [pilhelper-nonlinux.diff] + Update debian/copyright. + Update the manual page. * Bump standards version to 3.8.4 (no changes needed). * Switch to source format 3.0 (quilt). * Update my e-mail address. * Implement work-around for bug #575377. -- Jakub Wilk Thu, 25 Mar 2010 18:09:05 +0100 aafigure (0.4-2) unstable; urgency=low * debian/copyright: docutils/setup-docutils-plugin.py is in the public domain; thanks to Charles Plessy for spotting that. -- Jakub Wilk Fri, 17 Jul 2009 19:04:12 +0200 aafigure (0.4-1) unstable; urgency=low * Initial release (closes: #531922). * Use free Liberation fonts rather than Microsoft core fonts. -- Jakub Wilk Wed, 15 Jul 2009 20:28:33 +0200 debian/manpages0000644000000000000000000000001312214575634010707 0ustar debian/*.1