[Python-modules-commits] r5967 - in packages/pudge/trunk/debian (4 files)
piotr at users.alioth.debian.org
piotr at users.alioth.debian.org
Sat Jul 12 20:30:18 UTC 2008
Date: Saturday, July 12, 2008 @ 20:30:17
Author: piotr
Revision: 5967
* Replace python-setuptools runtime dependency with new python-pkg-resources
(closes: 468711)
* Let python-central do the Egg renaming part
+ python-central required build version bumped to 0.6.1
+ debian/rules updated
* Compress binary package with bzip2
* Debian packaging copyrights match upstream's now
* Rewrite get-orig-source rule (uses revison from debian/changelog now)
* Add "~" to setuptools' required build version (to ease backports)
* Bump Standards-Version to 3.8.0
+ Add Homepage field
* This upload closes: #490486 (package rebuilded)
Modified:
packages/pudge/trunk/debian/changelog
packages/pudge/trunk/debian/control
packages/pudge/trunk/debian/copyright
packages/pudge/trunk/debian/rules
Modified: packages/pudge/trunk/debian/changelog
===================================================================
--- packages/pudge/trunk/debian/changelog 2008-07-12 15:06:04 UTC (rev 5966)
+++ packages/pudge/trunk/debian/changelog 2008-07-12 20:30:17 UTC (rev 5967)
@@ -1,14 +1,25 @@
-pudge (0.1.4~svn137-4) UNRELEASED; urgency=low
+pudge (0.1.4~svn137-4) unstable; urgency=low
[ Piotr Ożarowski ]
- * Homepage field added
+ * Replace python-setuptools runtime dependency with new python-pkg-resources
+ (closes: 468711)
+ * Let python-central do the Egg renaming part
+ + python-central required build version bumped to 0.6.1
+ + debian/rules updated
+ * Compress binary package with bzip2
+ * Debian packaging copyrights match upstream's now
+ * Rewrite get-orig-source rule (uses revison from debian/changelog now)
+ * Add "~" to setuptools' required build version (to ease backports)
* Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now)
+ * Bump Standards-Version to 3.8.0
+ + Add Homepage field
+ * This upload closes: #490486 (package rebuilded)
[ Chris AtLee ]
* Fix debian/watch file to correctly track upstream releases
(Closes: #450123)
- -- Piotr Ożarowski <piotr at debian.org> Sat, 6 Oct 2007 23:46:48 +0200
+ -- Piotr Ożarowski <piotr at debian.org> Sat, 12 Jul 2008 22:19:12 +0200
pudge (0.1.4~svn137-3) unstable; urgency=low
Modified: packages/pudge/trunk/debian/control
===================================================================
--- packages/pudge/trunk/debian/control 2008-07-12 15:06:04 UTC (rev 5966)
+++ packages/pudge/trunk/debian/control 2008-07-12 20:30:17 UTC (rev 5967)
@@ -3,9 +3,9 @@
Uploaders: Piotr Ożarowski <piotr at debian.org>
Section: python
Priority: optional
-Build-Depends: debhelper (>= 5.0.38)
-Build-Depends-Indep: python (>= 2.3.5-11), python-all-dev, python-central (>= 0.5.6), python-setuptools (>= 0.6b3-1)
-Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 5)
+Build-Depends-Indep: python-all-dev (>= 2.3.5-11), python-central (>= 0.6.1), python-setuptools (>= 0.6b3-1~)
+Standards-Version: 3.8.0
Homepage: http://pudge.lesscode.org/
XS-Python-Version: >=2.4
Vcs-Svn: svn://svn.debian.org/python-modules/packages/pudge/trunk/
@@ -13,7 +13,7 @@
Package: python-pudge
Architecture: all
-Depends: ${python:Depends}, python-docutils (>=0.4-4), python-kid (>= 0.9.5), python-setuptools (>= 0.6b3-1), python-paste
+Depends: ${python:Depends}, python-docutils (>= 0.4-4), python-kid (>= 0.9.5), python-pkg-resources, python-paste
Recommends: python-pygments
XB-Python-Version: ${python:Versions}
Description: documentation generator for Python projects
Modified: packages/pudge/trunk/debian/copyright
===================================================================
--- packages/pudge/trunk/debian/copyright 2008-07-12 15:06:04 UTC (rev 5966)
+++ packages/pudge/trunk/debian/copyright 2008-07-12 20:30:17 UTC (rev 5967)
@@ -2,7 +2,6 @@
Sat, 10 Feb 2007 00:39:31 +0100.
It was downloaded from: http://pudge.lesscode.org/
-(`REVISION=137 ./debian/rules get-orig-source`)
Upstream Author: Ryan Tomayko <rtomayko at gmail.com>
@@ -33,8 +32,8 @@
Ilias Lazaridis ("Use and distribute freely. Please preserve header.")
-The Debian packaging is (C) 2007, Piotr Ożarowski <piotr at debian.org> and
-is licensed under the GPL.
+The Debian packaging is (C) 2007-2008, Piotr Ożarowski <piotr at debian.org> and
+is licensed under the same terms as pudge.
On Debian systems, the complete text of the GNU General Public
License, version 2, can be found in /usr/share/common-licenses/GPL-2.
Modified: packages/pudge/trunk/debian/rules
===================================================================
--- packages/pudge/trunk/debian/rules 2008-07-12 15:06:04 UTC (rev 5966)
+++ packages/pudge/trunk/debian/rules 2008-07-12 20:30:17 UTC (rev 5967)
@@ -2,30 +2,25 @@
#export DH_VERBOSE=1
-#DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
-# | sed -rne 's,^Version: ([^-]+).*,\1,p')
-DEB_UPSTREAM_VERSION=0.1.4dev
-
PYVERS=$(shell pyversions -vr)
+REVISION = $(shell dpkg-parsechangelog | sed -rne 's,^Version: .*~svn([^-]+).*,\1,p')
clean:
dh_testdir
dh_testroot
rm -rf build
find . -name '*\.py[co]' -delete
- -rm -rf pudge.egg-info
+ rm -rf pudge.egg-info
dh_clean
build:
install: $(PYVERS:%=install-python%)
+
install-python%:
python$* setup.py install --root $(CURDIR)/debian/python-pudge
# default Python version in hashbang
sed -i -e '1s/python.*/python/' debian/python-pudge/usr/bin/pudge
- # Share Egg dir
- mv debian/python-pudge/usr/lib/python$*/site-packages/pudge-${DEB_UPSTREAM_VERSION}-py$*.egg-info \
- debian/python-pudge/usr/lib/python$*/site-packages/pudge-${DEB_UPSTREAM_VERSION}.egg-info
binary-indep: install
dh_testdir -i
@@ -39,21 +34,16 @@
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
- dh_builddeb -i
+ dh_builddeb -i -- -Z bzip2
binary-arch:
binary: binary-indep binary-arch
get-orig-source:
- @if [ "$$REVISION" = "" ]; then \
- REVISION=`LC_ALL=C svn --non-interactive info svn://lesscode.org/pudge/trunk/ \
- | grep Revision | cut -c 11-`; \
- fi; \
- if [ "$$REVISION" = "" ]; then exit 1; fi; \
- LC_ALL=C svn -q export -r $${REVISION} svn://lesscode.org/pudge/trunk/ pudge-svn$${REVISION}; \
- VERSION=`grep "__version__ = " pudge-svn$${REVISION}/pudge/__init__.py | cut -d '"' -f 2`; \
- tar -zcf ./pudge_$$VERSION~svn$${REVISION}.orig.tar.gz pudge-svn$${REVISION}; \
- rm -rf pudge-svn$${REVISION};
+ svn -q export -r $(REVISION) svn://lesscode.org/pudge/trunk/ pudge-svn$(REVISION) &&\
+ VERSION=`grep "__version__ = " pudge-svn$(REVISION)/pudge/__init__.py | cut -d '"' -f 2` && \
+ tar -zcf ./pudge_$$VERSION~svn$(REVISION).orig.tar.gz pudge-svn$(REVISION)
+ rm -rf pudge-svn$(REVISION)
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: build clean binary-indep binary-arch binary install get-orig-source
More information about the Python-modules-commits
mailing list