[Python-modules-commits] r3615 - in /packages/zsi/trunk/debian: changelog control copyright rules watch

bzed-guest at users.alioth.debian.org bzed-guest at users.alioth.debian.org
Tue Nov 13 16:42:11 UTC 2007


Author: bzed-guest
Date: Tue Nov 13 16:42:11 2007
New Revision: 3615

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=3615
Log:
* NOT RELEASED YET
* New upstream version
* debian/watch: Updating file to handle pre-release versions correctly.
  - Adding Homepage field, removing pseudo-field from description
  - Removing cdbs from Build-Depends, moving python-support to
    Build-Depends-Indep
* debian/rules:
  - Replacing cdbs by a 'normal' file, also running all local tests.
* debian/copyrright: FIXME FIXME FIXME. DO NOT RELEASE BEFORE.

Modified:
    packages/zsi/trunk/debian/changelog
    packages/zsi/trunk/debian/control
    packages/zsi/trunk/debian/copyright
    packages/zsi/trunk/debian/rules
    packages/zsi/trunk/debian/watch

Modified: packages/zsi/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/zsi/trunk/debian/changelog?rev=3615&op=diff
==============================================================================
--- packages/zsi/trunk/debian/changelog (original)
+++ packages/zsi/trunk/debian/changelog Tue Nov 13 16:42:11 2007
@@ -1,10 +1,18 @@
-zsi (2.0-3) UNRELEASED; urgency=low
+zsi (2.1~a1-1) UNRELEASED; urgency=low
 
+  * NOT RELEASED YET
+  * New upstream version
+  * debian/watch: Updating file to handle pre-release versions correctly.
   * debian/control:
-    - Adding Homepage field, removing pseudo-field from description 
+    - Adding Homepage field, removing pseudo-field from description
     - Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now)
+    - Removing cdbs from Build-Depends, moving python-support to
+      Build-Depends-Indep
+  * debian/rules:
+    - Replacing cdbs by a 'normal' file, also running all local tests.
+  * debian/copyrright: FIXME FIXME FIXME. DO NOT RELEASE BEFORE.
 
- -- Bernd Zeimetz <bernd at bzed.de>  Sat,  6 Oct 2007 23:47:37 +0200
+ -- Bernd Zeimetz <bernd at bzed.de>  Tue, 13 Nov 2007 17:40:48 +0100
 
 zsi (2.0-2) unstable; urgency=low
 

Modified: packages/zsi/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/zsi/trunk/debian/control?rev=3615&op=diff
==============================================================================
--- packages/zsi/trunk/debian/control (original)
+++ packages/zsi/trunk/debian/control Tue Nov 13 16:42:11 2007
@@ -3,7 +3,8 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Tristan Seligmann <mithrandi at mithrandi.za.net>, Bernd Zeimetz <bernd at bzed.de>, Stefano Zacchiroli <zack at debian.org>
-Build-Depends: cdbs (>= 0.4.41), debhelper (>= 5.0.37.1), python (>= 2.3.5-7), python-support (>= 0.4), dpatch
+Build-Depends: debhelper (>= 5.0.37.1), python-all, dpatch
+Build-Depends-Indep: python-support (>= 0.4)
 Homepage: http://pywebsvcs.sourceforge.net/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/zsi/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/zsi/trunk/

Modified: packages/zsi/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/zsi/trunk/debian/copyright?rev=3615&op=diff
==============================================================================
--- packages/zsi/trunk/debian/copyright (original)
+++ packages/zsi/trunk/debian/copyright Tue Nov 13 16:42:11 2007
@@ -146,7 +146,9 @@
 
 Debian packaging and manpages are:
 
-Copyright © Tristan Seligmann <mithrandi at mithrandi.za.net>
+Copyright © 2005-2007 Tristan Seligmann <mithrandi at mithrandi.za.net>
+Copyright © 2007      Bernd Zeimetz <bernd at bzed.de>
+
 
 Permission is hereby granted, free of charge, to any person obtaining a
 copy of this software and associated documentation files (the "Software"),

Modified: packages/zsi/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/zsi/trunk/debian/rules?rev=3615&op=diff
==============================================================================
--- packages/zsi/trunk/debian/rules (original)
+++ packages/zsi/trunk/debian/rules Tue Nov 13 16:42:11 2007
@@ -1,11 +1,81 @@
 #!/usr/bin/make -f
-# -*- mode: makefile; coding: utf-8 -*-
-# Copyright © Tristan Seligmann <mithrandi at mithrandi.za.net>
-# See debian/copyright for details.
 
-DEB_PYTHON_SYSTEM = pysupport
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/dpatch.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
+PKGNAME:=python-html5lib
+PYVERS:=$(shell pyversions -r)
 
+
+include /usr/share/dpatch/dpatch.make
+
+build: patch build-stamp
+build-stamp:
+	dh_testdir
+
+	set -e; \
+	for py in $(PYVERS); do  \
+	    $$py setup.py build; \
+	done
+
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+	set -e ;\
+	cd test ;\
+	for py in $(PYVERS); do  \
+	    PYTHONPATH=$(CURDIR)/build/lib $$py test_zsi.py; \
+	done
+	cd wsdl2py;\
+	for py in $(PYVERS); do \
+	    PYTHONPATH=$(CURDIR)/build/lib $$py runTests.py local ;\
+	done
+endif
+
+	touch $@
+
+clean: clean-patched unpatch
+clean-patched: patch-stamp
+	dh_testdir
+	dh_testroot
+	rm -f install-stamp build-stamp
+	-for py in $(PYVERS); do  \
+	    $$py setup.py clean; \
+	done
+	find . -name \*.pyc | xargs rm -f
+	rm -rf build
+	dh_clean 
+
+install: install-stamp
+install-stamp:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	set -e; \
+	for py in $(PYVERS); do  \
+	    $$py setup.py install --root=debian/$(PKGNAME); \
+	done
+
+	dh_installdocs -A
+	dh_installexamples
+	touch install-stamp
+
+binary-arch: build install
+# We have nothing to do by default.
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installman
+	dh_compress -X.py
+	dh_fixperms
+	dh_pysupport
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install \
+        clean-patched patch unpatch
+

Modified: packages/zsi/trunk/debian/watch
URL: http://svn.debian.org/wsvn/python-modules/packages/zsi/trunk/debian/watch?rev=3615&op=diff
==============================================================================
--- packages/zsi/trunk/debian/watch (original)
+++ packages/zsi/trunk/debian/watch Tue Nov 13 16:42:11 2007
@@ -1,3 +1,3 @@
 version=3
 
-opts="uversionmangle=s/-rc/~rc/" http://sf.net/pywebsvcs/ZSI-(.*)\.tar\.gz
+opts="uversionmangle=s/-([a-z].*)/~$1/" http://sf.net/pywebsvcs/ZSI-(.*)\.tar\.gz




More information about the Python-modules-commits mailing list