--- python-pychart-1.37.orig/debian/changelog +++ python-pychart-1.37/debian/changelog @@ -0,0 +1,6 @@ +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/patches/00list +++ python-pychart-1.37/debian/patches/00list @@ -0,0 +1 @@ +01_Makefile --- 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/rules +++ python-pychart-1.37/debian/rules @@ -0,0 +1,125 @@ +#!/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 + +configure: configure-stamp +configure-stamp: patch-stamp + dh_testdir + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-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 + rm -f build-stamp configure-stamp + + rm -rf build + rm -rf pychart/*.pyc + rm -rf pychart/afm/*.pyc + rm -rf dist + rm -rf demos/*.pyc + make clean + make -C doc clean + + dh_clean + +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/tmp + 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) + + find debian/python*-pychart -name '*.pyc' | xargs rm -f + + # make the docs + make -C doc + +# 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/tmp/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 + + + dh_installchangelogs -a + dh_installdocs -A -a doc/pychart demos/*.py + 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/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 +Standards-Version: 3.6.1.1 + + +Package: python2.2-pychart +Architecture: any +Depends: ${python:Depends}, gs-gpl +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 +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 +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 empty dummy package that always depends on + a package built for Debian's default Python version. --- 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: (from the 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. --- python-pychart-1.37.orig/debian/docs +++ python-pychart-1.37/debian/docs @@ -0,0 +1 @@ +README --- 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 --- 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/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