--- python-pychart-1.37.orig/debian/docs +++ python-pychart-1.37/debian/docs @@ -0,0 +1 @@ +README --- python-pychart-1.37.orig/debian/control +++ python-pychart-1.37/debian/control @@ -0,0 +1,56 @@ +Source: python-pychart +Section: python +Priority: optional +Maintainer: Santiago Ruano Rincon +Build-Depends: debhelper (>= 4.1.67), python, dpatch, python2.2-dev, python2.3-dev, python2.4-dev, gs-gpl|gs-esp +Standards-Version: 3.6.2 + + +Package: python2.2-pychart +Architecture: any +Depends: ${python:Depends}, gs-gpl|gs-esp +Description: Python library for creating high quality charts + PyChart is a Python library for creating high quality + Encapsulated Postscript, PDF, PNG, or SVG charts. It + currently supports line plots, bar plots, range-fill + plots, and pie charts. Because it is based on Python, + you can make full use of Python's scripting power. + . + This package is built for Python 2.2 + +Package: python2.3-pychart +Architecture: any +Depends: ${python:Depends}, gs-gpl|gs-esp +Description: Python library for creating high quality charts + PyChart is a Python library for creating high quality + Encapsulated Postscript, PDF, PNG, or SVG charts. It + currently supports line plots, bar plots, range-fill + plots, and pie charts. Because it is based on Python, + you can make full use of Python's scripting power. + . + This package is built for Python 2.3 + +Package: python2.4-pychart +Architecture: any +Depends: ${python:Depends}, gs-gpl|gs-esp +Description: Python library for creating high quality charts + PyChart is a Python library for creating high quality + Encapsulated Postscript, PDF, PNG, or SVG charts. It + currently supports line plots, bar plots, range-fill + plots, and pie charts. Because it is based on Python, + you can make full use of Python's scripting power. + . + This package is built for Python 2.4 + +Package: python-pychart +Architecture: all +Depends: ${python:Depends} +Description: Python library for creating high quality charts + PyChart is a Python library for creating high quality + Encapsulated Postscript, PDF, PNG, or SVG charts. It + currently supports line plots, bar plots, range-fill + plots, and pie charts. Because it is based on Python, + you can make full use of Python's scripting power. + . + This package is an dependency metapackage that always depends + on a package built for Debian's default Python version. --- python-pychart-1.37.orig/debian/python2.4-pychart.lintian +++ python-pychart-1.37/debian/python2.4-pychart.lintian @@ -0,0 +1 @@ +python2.4-pychart: zero-byte-file-in-doc-directory usr/share/doc/python2.4-pychart/pychart/img1.png --- python-pychart-1.37.orig/debian/rules +++ python-pychart-1.37/debian/rules @@ -0,0 +1,112 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +export DH_COMPAT=4 + +include /usr/share/dpatch/dpatch.make + +# used by dpatch +PACKAGE = python-pychart + +PYTHON2.2 = /usr/bin/python2.2 +PYTHON2.3 = /usr/bin/python2.3 +PYTHON2.4 = /usr/bin/python2.4 + +BUILD_DIR2.2 = build/lib2.2 +BUILD_DIR2.3 = build/lib2.3 +BUILD_DIR2.4 = build/lib2.4 + +build: build-stamp + +build-stamp: patch-stamp + dh_testdir + + $(PYTHON2.2) setup.py build --build-lib=$(BUILD_DIR2.2) + $(PYTHON2.3) setup.py build --build-lib=$(BUILD_DIR2.3) + $(PYTHON2.4) setup.py build --build-lib=$(BUILD_DIR2.4) + + touch build-stamp + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + + make clean + rm -rf $(BUILD_DIR2.2) $(BUILD_DIR2.3) $(BUILD_DIR2.4) + find $(CURDIR) -name '*.pyc' | xargs rm -f + make -C doc clean + + dh_clean build-stamp configure-stamp + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # I could not find an option to set the build directory for the install + # command of setup, like the --build-dir for the install_lib, but + # install_lib doesn't have --root. + + mv $(BUILD_DIR2.2) build/lib + $(PYTHON2.2) setup.py install --root=debian/python2.2-pychart + mv build/lib $(BUILD_DIR2.2) + + mv $(BUILD_DIR2.3) build/lib + $(PYTHON2.3) setup.py install --root=debian/python2.3-pychart + mv build/lib $(BUILD_DIR2.3) + + mv $(BUILD_DIR2.4) build/lib + $(PYTHON2.4) setup.py install --root=debian/python2.4-pychart + mv build/lib $(BUILD_DIR2.4) + + # Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot -i + + dh_python -i + dh_installdocs -i + dh_installchangelogs -i + dh_link -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir -a + dh_testroot -a + + dh_installdirs -A -a usr/share/lintian/overrides/ + install -m 644 debian/python2.2-pychart.lintian debian/python2.2-pychart/usr/share/lintian/overrides/python2.2-pychart + install -m 644 debian/python2.3-pychart.lintian debian/python2.3-pychart/usr/share/lintian/overrides/python2.3-pychart + install -m 644 debian/python2.4-pychart.lintian debian/python2.4-pychart/usr/share/lintian/overrides/python2.4-pychart + + # make the docs + make -C doc + + dh_installchangelogs -a + dh_installdocs -A -a doc/pychart demos + dh_installexamples -A -a doc/examples/* + +# dh_install + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_python -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch --- python-pychart-1.37.orig/debian/watch +++ python-pychart-1.37/debian/watch @@ -0,0 +1,3 @@ +# Site Pattern Version Script +version=3 +http://download.gna.org/pychart/ PyChart-(.*)\.tar\.gz debian uupdate --- python-pychart-1.37.orig/debian/changelog +++ python-pychart-1.37/debian/changelog @@ -0,0 +1,38 @@ +python-pychart (1.37-5) unstable; urgency=low + + * Changed the description of python-pychart, from + "empty dummy package" to "dependency metapackage". + + -- Santiago Ruano Rincon Thu, 3 Nov 2005 11:04:47 -0500 + +python-pychart (1.37-4) unstable; urgency=low + + * Fixed an error in demos/tocsturbo.py + * Updated to the 3.6.2 version of Debian Policy + * Added a debian/watch file + + -- Santiago Ruano Rincon Mon, 1 Aug 2005 00:31:23 -0500 + +python-pychart (1.37-3) unstable; urgency=low + + * debian/rules clean: target improved, thanks to + Marc 'HE' Brockschmidt + + -- Santiago Ruano Rincon Thu, 21 Jul 2005 23:13:10 -0500 + +python-pychart (1.37-2) unstable; urgency=low + + * Fixed the version and location of the License in debian/changelog + * debian/rules fixed + * Debhelper compatibility level set to 4 + * Added gs-esp as an alternative dependency to gs-gpl + * Used the demos directory in the docs + + -- Santiago Ruano Rincon Mon, 16 May 2005 00:19:04 -0500 + +python-pychart (1.37-1) unstable; urgency=low + + * Initial Release. (Closes: #241214) + + -- Santiago Ruano Rincon Thu, 14 Apr 2005 23:00:38 -0500 + --- python-pychart-1.37.orig/debian/python2.2-pychart.lintian +++ python-pychart-1.37/debian/python2.2-pychart.lintian @@ -0,0 +1 @@ +python2.2-pychart: zero-byte-file-in-doc-directory usr/share/doc/python2.2-pychart/pychart/img1.png --- python-pychart-1.37.orig/debian/patches/tocsturbo.dpatch +++ python-pychart-1.37/debian/patches/tocsturbo.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## tocsturbo.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad python-pychart-1.37/demos/tocsturbo.py /tmp/dpep.3zlGFr/python-pychart-1.37/demos/tocsturbo.py +--- python-pychart-1.37/demos/tocsturbo.py 2005-02-04 18:42:38.000000000 -0500 ++++ /tmp/dpep.3zlGFr/python-pychart-1.37/demos/tocsturbo.py 2005-08-01 00:30:36.000000000 -0500 +@@ -15,7 +15,6 @@ + # + from pychart import * + import tocslib +-import profile + + def create_line_plot(label, ycol): + return line_plot.T(label=label, --- python-pychart-1.37.orig/debian/patches/00list +++ python-pychart-1.37/debian/patches/00list @@ -0,0 +1,2 @@ +01_Makefile +tocsturbo --- python-pychart-1.37.orig/debian/patches/01_Makefile.dpatch +++ python-pychart-1.37/debian/patches/01_Makefile.dpatch @@ -0,0 +1,28 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## Makefile.patch.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad python-pychart-1.37/doc/Makefile /tmp/dpep.yciIJh/python-pychart-1.37/doc/Makefile +--- python-pychart-1.37/doc/Makefile 2005-04-20 22:05:30.669769104 -0500 ++++ /tmp/dpep.yciIJh/python-pychart-1.37/doc/Makefile 2005-04-20 22:06:09.449873632 -0500 +@@ -20,7 +20,7 @@ + demo: + PYTHONPATH=..:../demos python demodoc.py + examples: examples.py $(wildcard ../demos/*.py) +- python examples.py ++ PYTHONPATH=..:$(PYTHONPATH) python examples.py + + index.html: index.html $(GIFFILES) + gtml index.gtml +diff -urNad python-pychart-1.37/Makefile /tmp/dpep.yciIJh/python-pychart-1.37/Makefile +--- python-pychart-1.37/Makefile 2005-04-20 22:04:59.742470768 -0500 ++++ /tmp/dpep.yciIJh/python-pychart-1.37/Makefile 2005-04-20 22:05:37.936664368 -0500 +@@ -1,4 +1,4 @@ +-SUBDIRS=doc demos PyChart ++SUBDIRS=doc demos pychart + + dist: + python setup.py sdist --- python-pychart-1.37.orig/debian/copyright +++ python-pychart-1.37/debian/copyright @@ -0,0 +1,13 @@ +This package was debianized by Santiago Ruano Rincon on +Thu, 14 Apr 2005 23:00:38 -0500. + +It was downloaded from http://home.gna.org/pychart/ + +Copyright Holder: Yasushi Saito + +License: (see the COPYING file or the pychart's website) + +PyChart is distributed under GNU General Public License. + +On Debian systems, a copy of the GNU General Public License may be found in +/usr/share/common-licenses/GPL-2 --- python-pychart-1.37.orig/debian/python2.3-pychart.lintian +++ python-pychart-1.37/debian/python2.3-pychart.lintian @@ -0,0 +1 @@ +python2.3-pychart: zero-byte-file-in-doc-directory usr/share/doc/python2.3-pychart/pychart/img1.png