[Python-modules-commits] r4292 - in packages/paste/trunk/debian (changelog control rules)
piotr at users.alioth.debian.org
piotr at users.alioth.debian.org
Sat Jan 5 20:13:24 UTC 2008
Date: Saturday, January 5, 2008 @ 20:13:24
Author: piotr
Revision: 4292
* Uniforming Vcs-Browser field (thunk dir added to the link)
* New upstream release
* Switch to python-support. All paste packages will now depend on
paste-common (>= 1.6-1) to make sure all use pysupport
* Compress binary package with bzip2
* Bump Standards-Version to 3.7.3 (no changes needed)
Modified:
packages/paste/trunk/debian/changelog
packages/paste/trunk/debian/control
packages/paste/trunk/debian/rules
Modified: packages/paste/trunk/debian/changelog
===================================================================
--- packages/paste/trunk/debian/changelog 2008-01-05 19:15:25 UTC (rev 4291)
+++ packages/paste/trunk/debian/changelog 2008-01-05 20:13:24 UTC (rev 4292)
@@ -1,10 +1,17 @@
-paste (1.5.1-2) UNRELEASED; urgency=low
+paste (1.6-1) unstable; urgency=low
- * debian/control
- - uniforming Vcs-Browser field
+ [ Sandro Tosi ]
+ * Uniforming Vcs-Browser field (thunk dir added to the link)
- -- Sandro Tosi <matrixhasu at gmail.com> Thu, 03 Jan 2008 11:49:34 +0100
+ [ Piotr Ożarowski ]
+ * New upstream release
+ * Switch to python-support. All paste packages will now depend on
+ paste-common (>= 1.6-1) to make sure all use pysupport
+ * Compress binary package with bzip2
+ * Bump Standards-Version to 3.7.3 (no changes needed)
+ -- Piotr Ożarowski <piotr at debian.org> Sat, 05 Jan 2008 18:48:35 +0100
+
paste (1.5.1-1) unstable; urgency=low
* New upstream release
Modified: packages/paste/trunk/debian/control
===================================================================
--- packages/paste/trunk/debian/control 2008-01-05 19:15:25 UTC (rev 4291)
+++ packages/paste/trunk/debian/control 2008-01-05 20:13:24 UTC (rev 4292)
@@ -3,10 +3,10 @@
Priority: optional
Maintainer: Piotr Ożarowski <piotr at debian.org>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5.0.38)
-Build-Depends-Indep: python (>= 2.3.5-11), python-all-dev, python-central (>= 0.5.6),
+Build-Depends: debhelper (>= 5)
+Build-Depends-Indep: python (>= 2.3.5-11), python-all, python-support (>= 0.6.4),
python-setuptools (>= 0.6b3-1), python-docutils
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
Homepage: http://pythonpaste.org/
XS-Python-Version: >= 2.4
Vcs-Svn: svn://svn.debian.org/python-modules/packages/paste/trunk/
@@ -14,12 +14,11 @@
Package: python-paste
Architecture: all
-Depends: ${python:Depends}, python-setuptools (>= 0.6b3-1), paste-common,
+Depends: ${python:Depends}, python-setuptools (>= 0.6b3-1), paste-common (>= 1.6-1),
python-formencode (>= 0.5.1-1)
Recommends: python-ctypes, python-openid, python-pyopenssl
Suggests: python-pastedeploy, python-pastescript, python-pastewebkit,
python-pgsql (>= 2.5.1-1), libapache2-mod-python (>= 3.2.8-3)
-XB-Python-Version: ${python:Versions}
Description: Tools for using a Web Server Gateway Interface stack
Python Paste brings consistency to Python web development and web application
installation, providing tools for both developers and system administrators.
@@ -41,8 +40,7 @@
Package: paste-common
Architecture: all
-Depends: python-central (>= 0.5), python (>= 2.3)
-XB-Python-Version: >=2.3
+Depends: ${python:Depends}
Recommends: python-paste, python-pastedeploy
Suggests: python-pastescript, python-pastewebkit
Description: common files for paste modules
Modified: packages/paste/trunk/debian/rules
===================================================================
--- packages/paste/trunk/debian/rules 2008-01-05 19:15:25 UTC (rev 4291)
+++ packages/paste/trunk/debian/rules 2008-01-05 20:13:24 UTC (rev 4292)
@@ -2,28 +2,19 @@
#export DH_VERBOSE=1
-DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
- | sed -rne 's,^Version: ([^-]+).*,\1,p')
+DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
PYVERS=$(shell pyversions -vr)
DOCS=$(shell find docs/ -name "*.txt" -not -path "*/include/*" -printf "%p "| sed "s/.txt//g")
clean:
dh_testdir
dh_testroot
- rm -f build-*
rm -rf dist build
find . -name *\.py[co] -exec rm {} \;
- rm -f docs/reference.txt
- dh_clean
+ dh_clean docs/reference.txt build-docs* $(PYVERS:%=install-python%)
-build: build-indep build-stamp
-build-stamp: $(PYVERS:%=build-python%)
- touch $@
-build-python%:
- python$* setup.py build
- touch $@
-
-build-indep:
+build: build-docs
+build-docs:
dh_installdirs
for NAME in $(DOCS); do \
rst2html --cloak-email-addresses --no-toc-backlinks "$$NAME.txt" \
@@ -35,14 +26,18 @@
rst2html docs/reference.txt > debian/python-paste/usr/share/doc/python-paste/docs/reference.html
touch $@
-install: build $(PYVERS:%=install-python%)
+build-docs-pudge:
+ # this rule will replace build-docs once python-buildutils will enter unstable
+ # TODO: add python-buildutils and python-pudge to Depends-Indep, close #456554
+ dh_installdirs
+ python setup.py pudge --dest debian/python-paste/usr/share/doc/python-paste/
+ touch $@
+
+install: $(PYVERS:%=install-python%)
install-python%:
python$* setup.py install \
--single-version-externally-managed \
--root $(CURDIR)/debian/python-paste
- # share Egg dir (remove versions from dirname)
- mv debian/python-paste/usr/lib/python$*/site-packages/Paste-${DEB_UPSTREAM_VERSION}-py$*.egg-info \
- debian/python-paste/usr/lib/python$*/site-packages/Paste-${DEB_UPSTREAM_VERSION}.egg-info
# pth file is not needed since all paste* packages are installed in same directory
rm -f debian/python-paste/usr/lib/python$*/site-packages/Paste-${DEB_UPSTREAM_VERSION}-py$*-nspkg.pth
# in paste-common package:
@@ -51,22 +46,23 @@
# fix file permissions
#chmod +x debian/python-paste/usr/lib/python$*/site-packages/paste/debug/doctest_webapp.py
chmod +x debian/python-paste/usr/lib/python$*/site-packages/paste/util/scgiserver.py
+ touch $@
binary-indep: build install
dh_testdir -i
dh_testroot -i
dh_installchangelogs -i
dh_installdocs -i
- dh_pycentral -i
+ dh_pysupport -i
dh_compress -i -X.py
dh_fixperms -i
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
- dh_builddeb -i
+ dh_builddeb -- -Z bzip2
binary-arch:
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install build
More information about the Python-modules-commits
mailing list