[Python-modules-commits] r9315 - in packages/celementtree/trunk/debian (9 files)
bzed at users.alioth.debian.org
bzed at users.alioth.debian.org
Thu Aug 13 15:57:47 UTC 2009
Date: Thursday, August 13, 2009 @ 15:57:47
Author: bzed
Revision: 9315
* Replace cdbs/python-central by dh/python-support. Using quilt
as patch management tool now.
* Bumping Standards-version to 3.8.2.
* Adding debian/README.source.
Added:
packages/celementtree/trunk/debian/README.source
packages/celementtree/trunk/debian/patches/series
packages/celementtree/trunk/debian/python-celementtree-dbg.install
packages/celementtree/trunk/debian/pyversions
Modified:
packages/celementtree/trunk/debian/changelog
packages/celementtree/trunk/debian/compat
packages/celementtree/trunk/debian/control
packages/celementtree/trunk/debian/python-celementtree.install
packages/celementtree/trunk/debian/rules
Added: packages/celementtree/trunk/debian/README.source
===================================================================
--- packages/celementtree/trunk/debian/README.source (rev 0)
+++ packages/celementtree/trunk/debian/README.source 2009-08-13 15:57:47 UTC (rev 9315)
@@ -0,0 +1,57 @@
+This package uses quilt to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+To configure quilt to use debian/patches instead of patches, you want
+either to export QUILT_PATCHES=debian/patches in your environment
+or use this snippet in your ~/.quiltrc:
+
+ for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
+ if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
+ export QUILT_PATCHES=debian/patches
+ fi
+ done
+
+To get the fully patched source after unpacking the source package, cd to
+the root level of the source package and run:
+
+ quilt push -a
+
+The last patch listed in debian/patches/series will become the current
+patch.
+
+To add a new set of changes, first run quilt push -a, and then run:
+
+ quilt new <patch>
+
+where <patch> is a descriptive name for the patch, used as the filename in
+debian/patches. Then, for every file that will be modified by this patch,
+run:
+
+ quilt add <file>
+
+before editing those files. You must tell quilt with quilt add what files
+will be part of the patch before making changes or quilt will not work
+properly. After editing the files, run:
+
+ quilt refresh
+
+to save the results as a patch.
+
+Alternately, if you already have an external patch and you just want to
+add it to the build system, run quilt push -a and then:
+
+ quilt import -P <patch> /path/to/patch
+ quilt push -a
+
+(add -p 0 to quilt import if needed). <patch> as above is the filename to
+use in debian/patches. The last quilt push -a will apply the patch to
+make sure it works properly.
+
+To remove an existing patch from the list of patches that will be applied,
+run:
+
+ quilt delete <patch>
+
+You may need to run quilt pop -a to unapply patches first before running
+this command.
Modified: packages/celementtree/trunk/debian/changelog
===================================================================
--- packages/celementtree/trunk/debian/changelog 2009-08-13 13:38:48 UTC (rev 9314)
+++ packages/celementtree/trunk/debian/changelog 2009-08-13 15:57:47 UTC (rev 9315)
@@ -7,8 +7,14 @@
[ Raphael Hertzog ]
* Remove myself from Uploaders.
- -- Sandro Tosi <morph at debian.org> Mon, 03 Nov 2008 22:12:46 +0100
+ [ Bernd Zeimetz ]
+ * Replace cdbs/python-central by dh/python-support. Using quilt
+ as patch management tool now.
+ * Bumping Standards-version to 3.8.2.
+ * Adding debian/README.source.
+ -- Bernd Zeimetz <bzed at debian.org> Thu, 13 Aug 2009 17:49:46 +0200
+
celementtree (1.0.5-10) unstable; urgency=low
[ Piotr Ożarowski ]
Modified: packages/celementtree/trunk/debian/compat
===================================================================
--- packages/celementtree/trunk/debian/compat 2009-08-13 13:38:48 UTC (rev 9314)
+++ packages/celementtree/trunk/debian/compat 2009-08-13 15:57:47 UTC (rev 9315)
@@ -1 +1 @@
-5
+7
Modified: packages/celementtree/trunk/debian/control
===================================================================
--- packages/celementtree/trunk/debian/control 2009-08-13 13:38:48 UTC (rev 9314)
+++ packages/celementtree/trunk/debian/control 2009-08-13 15:57:47 UTC (rev 9315)
@@ -3,9 +3,8 @@
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Torsten Marek <shlomme at debian.org>, Scott Kitterman <scott at kitterman.com>
-Build-Depends: debhelper (>= 5.0.38), cdbs (>= 0.4.43), python-all-dev (>= 2.3.5-11), python-central (>= 0.6), patchutils (>= 0.2.25), python-all-dbg, libexpat-dev, python-setuptools (>= 0.6b3)
-XS-Python-Version: >= 2.3, << 2.5
-Standards-Version: 3.7.3
+Build-Depends: debhelper (>= 7.3.5), python-all-dev (>= 2.3.5-11), python-support (>= 0.7), quilt (>= 0.46-7), python-all-dbg, libexpat-dev, python-setuptools (>= 0.6b3)
+Standards-Version: 3.8.2
Homepage: http://effbot.org/zone/celementtree.htm
Vcs-Svn: svn://svn.debian.org/python-modules/packages/celementtree/trunk/
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/celementtree/trunk/
@@ -17,7 +16,6 @@
Replaces: python2.3-celementtree (<< 1.0.5-6), python2.4-celementtree (<< 1.0.5-6)
Conflicts: python2.3-celementtree (<< 1.0.5-6), python2.4-celementtree (<< 1.0.5-6)
Suggests: python-celementtree-dbg
-XB-Python-Version: ${python:Versions}
Description: Light-weight toolkit for XML processing
cElementTree provides a simple but flexible container object,
designed to store hierarchical data structures, such as
Added: packages/celementtree/trunk/debian/patches/series
===================================================================
--- packages/celementtree/trunk/debian/patches/series (rev 0)
+++ packages/celementtree/trunk/debian/patches/series 2009-08-13 15:57:47 UTC (rev 9315)
@@ -0,0 +1 @@
+01_setuppy.patch
Added: packages/celementtree/trunk/debian/python-celementtree-dbg.install
===================================================================
--- packages/celementtree/trunk/debian/python-celementtree-dbg.install (rev 0)
+++ packages/celementtree/trunk/debian/python-celementtree-dbg.install 2009-08-13 15:57:47 UTC (rev 9315)
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python*/*-packages/*_d.so
Modified: packages/celementtree/trunk/debian/python-celementtree.install
===================================================================
--- packages/celementtree/trunk/debian/python-celementtree.install 2009-08-13 13:38:48 UTC (rev 9314)
+++ packages/celementtree/trunk/debian/python-celementtree.install 2009-08-13 15:57:47 UTC (rev 9315)
@@ -1 +1,2 @@
-debian/tmp/usr/lib/python*
+debian/tmp/usr/lib/python*/*-packages/cElementTree.so
+debian/tmp/usr/lib/python*/*-packages/*.egg-info
Added: packages/celementtree/trunk/debian/pyversions
===================================================================
--- packages/celementtree/trunk/debian/pyversions (rev 0)
+++ packages/celementtree/trunk/debian/pyversions 2009-08-13 15:57:47 UTC (rev 9315)
@@ -0,0 +1 @@
+2.3-2.4
Modified: packages/celementtree/trunk/debian/rules
===================================================================
--- packages/celementtree/trunk/debian/rules 2009-08-13 13:38:48 UTC (rev 9314)
+++ packages/celementtree/trunk/debian/rules 2009-08-13 15:57:47 UTC (rev 9315)
@@ -1,34 +1,17 @@
#!/usr/bin/make -f
+#export DH_VERBOSE=1
-DEB_PYTHON_SYSTEM=pycentral
+PACKAGE=python-celementtree
-# Keep the .egg-info in the /usr/lib/python2.X/... directory
-export DH_PYCENTRAL="nomove"
+%:
+ dh --with quilt $@
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+override_dh_installdocs:
+ dh_installdocs
+ rm -rf debian/$(PACKAGE)-dbg/usr/share/doc/$(PACKAGE)-dbg
+ ln -s $(PACKAGE) debian/$(PACKAGE)-dbg/usr/share/doc/$(PACKAGE)-dbg
-DEB_PYTHON_INSTALL_ARGS += --single-version-externally-managed
+override_dh_strip:
+ dh_strip --dbg-package=$(PACKAGE)-dbg
-build/python-celementtree-dbg::
- set -e; \
- for i in $(cdbs_python_build_versions); do \
- python$$i-dbg ./setup.py build; \
- done
-install/python-celementtree-dbg::
- for i in $(cdbs_python_build_versions); do \
- python$$i-dbg ./setup.py install --root $(CURDIR)/debian/python-celementtree-dbg; \
- done
- find debian/python-celementtree-dbg \
- ! -type d ! -name '*_d.so' | xargs rm -f
- find debian/python-celementtree-dbg -depth -empty -exec rmdir {} \;
-
-binary-predeb/python-celementtree-dbg::
- rm -rf debian/python-celementtree-dbg/usr/share/doc/python-celementtree-dbg
- ln -s python-celementtree debian/python-celementtree-dbg/usr/share/doc/python-celementtree-dbg
-
-clean::
-# hack (CDBS bug -- see #300149)
- -rm -rf build cElementTree.egg-info
More information about the Python-modules-commits
mailing list