[Python-modules-commits] r710 - in
/packages/python-pychart/trunk/debian: changelog compat control
python-pychart.postinst python-pychart.prerm python2.3-pychart.lintian
python2.4-pychart.lintian rules
santiago at users.alioth.debian.org
santiago at users.alioth.debian.org
Thu Jun 1 06:29:00 UTC 2006
Author: santiago
Date: Thu Jun 1 06:28:58 2006
New Revision: 710
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=710
Log:
* Initial python-support transition, using cdbs to build the package.
python2.{3,4}-pychart deleted.
* Standards-Version updated to 3.7.2
* Added Debian Python Modules Team to Uploaders
Added:
packages/python-pychart/trunk/debian/compat
packages/python-pychart/trunk/debian/python-pychart.postinst
packages/python-pychart/trunk/debian/python-pychart.prerm
Removed:
packages/python-pychart/trunk/debian/python2.3-pychart.lintian
packages/python-pychart/trunk/debian/python2.4-pychart.lintian
Modified:
packages/python-pychart/trunk/debian/changelog
packages/python-pychart/trunk/debian/control
packages/python-pychart/trunk/debian/rules
Modified: packages/python-pychart/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pychart/trunk/debian/changelog?rev=710&op=diff
==============================================================================
--- packages/python-pychart/trunk/debian/changelog (original)
+++ packages/python-pychart/trunk/debian/changelog Thu Jun 1 06:28:58 2006
@@ -1,3 +1,13 @@
+python-pychart (1.39-3) unstable; urgency=low
+
+ * The "I'm tired of working on my thesis project" release.
+ * Initial python-support transition, using cdbs to build the package.
+ python2.{3,4}-pychart deleted.
+ * Standards-Version updated to 3.7.2
+ * Added Debian Python Modules Team to Uploaders
+
+ -- Santiago Ruano Rincón <santiago at debian.org> Thu, 1 Jun 2006 00:02:50 -0500
+
python-pychart (1.39-2) unstable; urgency=low
* python2.3-pychart and python2.4-pychart, changed to arch: all (Closes: #357179)
Added: packages/python-pychart/trunk/debian/compat
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pychart/trunk/debian/compat?rev=710&op=file
==============================================================================
--- packages/python-pychart/trunk/debian/compat (added)
+++ packages/python-pychart/trunk/debian/compat Thu Jun 1 06:28:58 2006
@@ -1,0 +1,1 @@
+5
Modified: packages/python-pychart/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pychart/trunk/debian/control?rev=710&op=diff
==============================================================================
--- packages/python-pychart/trunk/debian/control (original)
+++ packages/python-pychart/trunk/debian/control Thu Jun 1 06:28:58 2006
@@ -2,37 +2,17 @@
Section: python
Priority: optional
Maintainer: Santiago Ruano Rincón <santiago at debian.org>
-Build-Depends-Indep: debhelper (>= 4.1.67), python, dpatch, python2.3-dev, python2.4-dev, gs-gpl|gs-esp
-Standards-Version: 3.6.2
-
-
-Package: python2.3-pychart
-Architecture: all
-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: all
-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
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: cdbs (>= 0.4.40), debhelper (>= 5.0)
+Build-Depends-Indep: python-dev, python-all-dev, dpatch, gs-gpl|gs-esp
+Standards-Version: 3.7.2
Package: python-pychart
Architecture: all
-Depends: ${python:Depends}
+Depends: python (>=2.3), python (<< 2.5), python-support
+Provides: python2.3-pychart, python2.4-pychart
+Replaces: python2.3-pychart, python2.4-pychart
+Conflicts: python2.3-pychart, python2.4-pychart
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
Added: packages/python-pychart/trunk/debian/python-pychart.postinst
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pychart/trunk/debian/python-pychart.postinst?rev=710&op=file
==============================================================================
--- packages/python-pychart/trunk/debian/python-pychart.postinst (added)
+++ packages/python-pychart/trunk/debian/python-pychart.postinst Thu Jun 1 06:28:58 2006
@@ -1,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if [ "$1" = "configure" ] && which update-python-modules >/dev/null 2>&1; then
+ update-python-modules -i /usr/share/python-support/python-pychart
+fi
Added: packages/python-pychart/trunk/debian/python-pychart.prerm
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pychart/trunk/debian/python-pychart.prerm?rev=710&op=file
==============================================================================
--- packages/python-pychart/trunk/debian/python-pychart.prerm (added)
+++ packages/python-pychart/trunk/debian/python-pychart.prerm Thu Jun 1 06:28:58 2006
@@ -1,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if which update-python-modules >/dev/null 2>&1; then
+ update-python-modules -c -i /usr/share/python-support/python-pychart
+fi
Modified: packages/python-pychart/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pychart/trunk/debian/rules?rev=710&op=diff
==============================================================================
--- packages/python-pychart/trunk/debian/rules (original)
+++ packages/python-pychart/trunk/debian/rules Thu Jun 1 06:28:58 2006
@@ -1,88 +1,17 @@
#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
-# Uncomment this to turn on verbose mode.
-# export DH_VERBOSE=1
-# This is the debhelper compatibility version to use.
-export DH_COMPAT=4
+# python-distutils before debhelper to avoid it calling dh_python by itself
+include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+#dpatch support
+include /usr/share/cdbs/1/rules/dpatch.mk
+# needed to use the dpatch tools (like dpatch-edit-patch)
include /usr/share/dpatch/dpatch.make
-# used by dpatch
-PACKAGE = python-pychart
+DEB_PYTHON_INSTALL_ARGS_ALL += --install-lib usr/share/python-support/python-pychart
-PYTHON2.3 = /usr/bin/python2.3
-PYTHON2.4 = /usr/bin/python2.4
-
-BUILD_DIR2.3 = build/lib2.3
-BUILD_DIR2.4 = build/lib2.4
-
-build: build-stamp
-
-build-stamp: patch-stamp
- dh_testdir
-
- $(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.3) $(BUILD_DIR2.4)
- find $(CURDIR) -name '*.pyc' | xargs rm -f
-
- 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.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_installdirs -A -Npython-pychart -i usr/share/lintian/overrides/
- 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 -i
- dh_installdocs -A -Npython-pychart -i doc/pychart
-
- dh_strip -i
- dh_compress -i
- dh_fixperms -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
-
-
-binary: binary-indep
-.PHONY: build clean binary-indep binary install configure patch unpatch
+clean::
+ find -name '*.pyc' -exec rm -f {} \;
More information about the Python-modules-commits
mailing list