debian/0000755000000000000000000000000012151011224007153 5ustar debian/rules0000755000000000000000000000101212151007502010231 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/python-distutils.mk # Don't compress .py files DEB_COMPRESS_EXCLUDE := .py # Manpages stuff MANPAGES = debian/pyscript.1 XSLT_CMD = xsltproc -nonet DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl DEB_DESTDIR=debian/python-pyscript install/python-pyscript:: $(MANPAGES) %.1: %.dbk cd $( on Fri, 28 Apr 2006 16:51:32 +0200. It was downloaded from http://sourceforge.net/project/showfiles.php?group_id=50346 Authors: Alexei Gilchrist , Paul Cochrane Copyright: 2002-2006 Alexei Gilchrist, Paul Cochrane This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/python-pyscript-doc.examples0000644000000000000000000000004010424434124014655 0ustar doc/examples/* contrib/styles/* debian/changelog0000644000000000000000000000510712151011207011031 0ustar pyscript (0.6.1-4) unstable; urgency=low [ Arnaud Fontaine ] * debian/control: bump Standards-Version to 3.9.4. No changes needed. * Use dh_python2 rather than deprecated pysupport: + debian/control: - Bump cdbs version to 0.4.90~. - Replace python-dev by python-all (all) and bump version to 2.6.6-3~. - Drop Build-Depends against python-support. + debian/rules: - Remove DEB_PYTHON_SYSTEM line. + Remove debian/pyversions and debian/pycompat (use X-Python-Version). * debian/pyscript.dbk: fix spelling error reported by lintian. * Use 3.0 (quilt) format. + debian/rules: no need to use simple-patchsys.mk anymore. [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. -- Arnaud Fontaine Tue, 28 May 2013 11:00:51 +0900 pyscript (0.6.1-3) unstable; urgency=low [ Luca Falavigna ] * debian/patches/01_Python2.6_reserved_words.patch: - Do not use "as" as variable name, it's a reserved word in Python 2.6 (Closes: #567005). * debian/control: - Remove python-dev from Build-Depends, add python instead. - Depend on ${misc:Depends} where needed. - Bump Standards-Version to 3.8.4, no changes required. * debian/copyright: - Update common-license link to point to GPL-2. -- Debian Python Modules Team Sun, 07 Mar 2010 13:33:02 +0100 pyscript (0.6.1-2) unstable; urgency=low [ Arnaud Fontaine ] * New email address. * Remove useless debian/control.in. * debian/control: + Update Standards-Version to 3.7.3. No changes needed. [ Piotr Ożarowski ] * debian/control: + Add Vcs-Browser and Homepage fields. + Rename XS-Vcs-Svn field to Vcs-Svn. [ Sandro Tosi ] * debian/control: - Uniformise Vcs-Browser field. -- Arnaud Fontaine Fri, 30 May 2008 12:16:01 +0200 pyscript (0.6.1-1) unstable; urgency=low * New upstream version + Include source of the documentation. * New Python policy changes. + debian/compat: - Update debhelper compatibility to 5. + debian/rules: - Add DEB_PYTHON_SYSTEM=pysupport. + debian/control.in - Clean Build-Depends and Depends, cdbs handles that automatically now. - XB-Python-Version for binary package. + debian/postinst && debian/prerm: - Remove "hand made" python-support stuff, cdbs does this. -- Arnaud Fontaine Fri, 23 Jun 2006 21:19:10 +0200 pyscript (0.6-1) unstable; urgency=low * Initial release. Closes: #365009. -- Arnaud Fontaine Fri, 28 Apr 2006 16:51:32 +0200 debian/python-pyscript.docs0000644000000000000000000000002510424434124013227 0ustar debian/README.Debian debian/patches/0000755000000000000000000000000012151011224010602 5ustar debian/patches/series0000644000000000000000000000004212151007650012023 0ustar 01_Python2.6_reserved_words.patch debian/patches/01_Python2.6_reserved_words.patch0000644000000000000000000000255011344716344016773 0ustar Description: Do not use "as" as variable name, it's a reserved word in Python 2.6 and newer Origin: Ubuntu Bug-Ubuntu: #392870 diff -Nur -x '*.orig' -x '*~' pyscript-0.6.1/pyscript/groups.py pyscript-0.6.1.new/pyscript/groups.py --- pyscript-0.6.1/pyscript/groups.py 2006-02-28 18:16:58.000000000 +0000 +++ pyscript-0.6.1.new/pyscript/groups.py 2009-06-27 14:29:26.000000000 +0000 @@ -387,10 +387,10 @@ assert a2 in ["n", "ne", "e", "se", "s", "sw", "w", "nw", "c"] # note the swap: - as = options.get('as', a2) + _as = options.get('as', a2) ae = options.get('ae', a1) - assert as in ["n", "ne", "e", "se", "s", "sw", "w", "nw", "c"] + assert _as in ["n", "ne", "e", "se", "s", "sw", "w", "nw", "c"] assert ae in ["n", "ne", "e", "se", "s", "sw", "w", "nw", "c"] # these two have to be present @@ -424,14 +424,14 @@ # place items at the edges # ---first object---- - ov = getattr(items[0].bbox(), as)-p1 + ov = getattr(items[0].bbox(), _as)-p1 # how much we need to move by mv = -pv.U*ov*pv.U items[0].move(mv) space -= abs(( getattr(items[0].bbox(), a1) - - getattr(items[0].bbox(), as) )*pv.U) + - getattr(items[0].bbox(), _as) )*pv.U) # ---second object--- ov = getattr(items[-1].bbox(), ae)-p2 debian/source/0000755000000000000000000000000012151011224010453 5ustar debian/source/format0000644000000000000000000000001412151007532011670 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000210445630766010377 0ustar 5 debian/control0000644000000000000000000000263112151010655010567 0ustar Source: pyscript Section: python Priority: optional Maintainer: Arnaud Fontaine Uploaders: Debian Python Modules Team Build-Depends: debhelper (>= 5.0.37.2), cdbs (>= 0.4.90~), python-all (>= 2.6.6-3~) Build-Depends-Indep: xsltproc, docbook-xsl, docbook-xml Standards-Version: 3.9.4 X-Python-Version: >= 2.3 Homepage: http://pyscript.sourceforge.net Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pyscript/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pyscript/trunk/ Package: python-pyscript Architecture: all Depends: ${python:Depends}, ${misc:Depends} Suggests: python-pyscript-doc Description: Python module for producing postscript graphics PyScript is a Python module for producing high quality postscript graphics. Rather than use a GUI to draw a picture, the picture is programmed using Python and the PyScript objects. Package: python-pyscript-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: Python module for producing postscript graphics - documentation PyScript is a Python module for producing high quality postscript graphics. Rather than use a GUI to draw a picture, the picture is programmed using Python and the PyScript objects. . This package contains the documentation for Pyscript. debian/python-pyscript.manpages0000644000000000000000000000002210426666211014075 0ustar debian/pyscript.1 debian/README.Debian0000644000000000000000000000031610424434124011225 0ustar Please note: The documentation and examples for this package are in python-pyscript-doc. When you install that package, you can find the documentation and examples in /usr/share/doc/python-pyscript-doc. debian/pyscript.dbk0000644000000000000000000001347512151010502011522 0ustar .
will be generated. You may view the manual page with: nroff -man .
| less'. A typical entry in a Makefile or Makefile.am is: DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\ manpages/docbook.xsl XP=xsltproc -''-nonet manpage.1: manpage.dbk $(XP) $(DB2MAN) $< The xsltproc binary is found in the xsltproc package. The XSL files are in docbook-xsl. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include xsltproc and docbook-xsl in your Build-Depends control field. --> Arnaud"> Fontaine"> may 05, 2006"> 1"> arnau@debian.org"> PYSCRIPT"> GNU"> GPL"> ]>
&dhemail;
2006 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; Pyscript tool for generating an Encapsulated PostScript (EPS) &dhpackage; &dhpackage; file.py DESCRIPTION Pyscript allows one to write images using the Python programming language. Use &dhpackage; to create an Encapsulated PostScript (EPS) from a python program using pyscript objects. An source python file name has to be given to the script. By default, &dhpackage; is written its output to foo.eps where foo.py is the file name of the python program. this behavior can be change by specifying or to the script. The path of an alternative log file can also be written using the or . OPTIONS print version and URL of the project. print usage information Output is written to the given file name Write the logfile to the given file name AUTHORS Pyscript was written by Alexei Gilchrist aalexei@users.sourceforge.net and Paul Cochrane paultcochrane at users.sourceforge.net. This manual page was written by &dhusername; &dhemail; for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2 any later version published by the Free Software Foundation. On Debian systems, the complete text of the &gnu; General Public License can be found in /usr/share/common-licenses/GPL.
debian/python-pyscript-doc.docs0000644000000000000000000000003010424434124013766 0ustar doc/manual/pyscript.pdf