[Python-modules-commits] r868 - in
/packages/pastedeploy/trunk/debian: changelog control postinst
prerm rules
pox-guest at users.alioth.debian.org
pox-guest at users.alioth.debian.org
Fri Jun 16 00:59:49 UTC 2006
Author: pox-guest
Date: Fri Jun 16 00:59:48 2006
New Revision: 868
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=868
Log:
updated for new Python policy
Removed:
packages/pastedeploy/trunk/debian/postinst
packages/pastedeploy/trunk/debian/prerm
Modified:
packages/pastedeploy/trunk/debian/changelog
packages/pastedeploy/trunk/debian/control
packages/pastedeploy/trunk/debian/rules
Modified: packages/pastedeploy/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pastedeploy/trunk/debian/changelog?rev=868&op=diff
==============================================================================
--- packages/pastedeploy/trunk/debian/changelog (original)
+++ packages/pastedeploy/trunk/debian/changelog Fri Jun 16 00:59:48 2006
@@ -1,3 +1,10 @@
+pastedeploy (0.5-4) unstable; urgency=low
+
+ * Update for the new python policy (closes: #373473)
+ * Convert to python-central
+
+ -- Piotr Ozarowski <ozarow at gmail.com> Fri, 16 Jun 2006 00:19:46 +0200
+
pastedeploy (0.5-3) unstable; urgency=low
* Common paste* modules file moved to paste-common package
Modified: packages/pastedeploy/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pastedeploy/trunk/debian/control?rev=868&op=diff
==============================================================================
--- packages/pastedeploy/trunk/debian/control (original)
+++ packages/pastedeploy/trunk/debian/control Fri Jun 16 00:59:48 2006
@@ -3,14 +3,16 @@
Priority: optional
Maintainer: Piotr Ozarowski <ozarow at gmail.com>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>=5), cdbs (>=0.4.39)
-Build-Depends-Indep: python-dev, python-setuptools (>= 0.6a9-1)
+Build-Depends: debhelper (>= 5.0.37.1)
+Build-Depends-Indep: python (>= 2.3.5-7), python-all-dev, python-central (>= 0.4.10), python-setuptools (>= 0.6b3-1)
Standards-Version: 3.7.2
+XS-Python-Version: all
Package: python-pastedeploy
Architecture: all
-Depends: python (>= 2.3), python-support (>= 0.2.2), python-setuptools (>= 0.6a9-1), paste-common
-Recommends: python-paste
+Depends: ${python:Depends}, paste-common, python-setuptools (>= 0.6b3-1)
+XB-Python-Version: ${python:Versions}
+Enhances: python-paste
Description: Load, configure, and compose WSGI applications and servers
Paste Deployment is a system for finding and configuring WSGI applications and
servers. For WSGI application consumers it provides a single, simple function
Modified: packages/pastedeploy/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pastedeploy/trunk/debian/rules?rev=868&op=diff
==============================================================================
--- packages/pastedeploy/trunk/debian/rules (original)
+++ packages/pastedeploy/trunk/debian/rules Fri Jun 16 00:59:48 2006
@@ -1,17 +1,56 @@
#!/usr/bin/make -f
-# -*- mode: makefile; coding: utf-8 -*-
-# 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
+#export DH_VERBOSE=1
-DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
-DEB_PYTHON_INSTALL_ARGS_ALL += --install-lib usr/share/python-support/pastedeploy
-DEB_COMPRESS_EXCLUDE := .py
+DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
+ | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
-PYVER=$(shell python -V 2>&1 | cut -d ' ' -f 2 | cut -d . -f 1-2)
+PYVERS=$(shell pyversions -vr debian/control)
-install/python-pastedeploy::
- echo "2.3-" >debian/python-pastedeploy/usr/share/python-support/pastedeploy/.version
- mv debian/python-pastedeploy/usr/share/python-support/pastedeploy/PasteDeploy-${DEB_UPSTREAM_VERSION}{-py${PYVER}.egg-info,.egg-info}
- rm -f debian/python-pastedeploy/usr/share/python-support/pastedeploy/paste/__init__.py
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-*
+ rm -rf dist build
+ find . -name *\.py[co] -exec rm {} \;
+ dh_clean
+
+build: $(PYVERS:%=build-python%)
+ touch $@
+build-python%:
+ python$* setup.py build
+ touch $@
+install: build $(PYVERS:%=install-python%)
+install-python%:
+ python$* setup.py install \
+ --single-version-externally-managed \
+ --root $(CURDIR)/debian/python-pastedeploy
+ # share Egg dir (remove versions from dirname)
+ mv debian/python-pastedeploy/usr/lib/python$*/site-packages/PasteDeploy-${DEB_UPSTREAM_VERSION}{-py$*,}.egg-info
+ # pth file is not needed since all paste* packages are installed in same directory
+ rm -f debian/python-pastedeploy/usr/lib/python$*/site-packages/PasteDeploy-${DEB_UPSTREAM_VERSION}-py$*-nspkg.pth
+ # in paste-common package:
+ rm -f debian/python-pastedeploy/usr/lib/python$*/site-packages/pastedeploy/paste/__init__.py
+
+binary-indep: build install
+ dh_testdir -i
+ dh_testroot -i
+ dh_installchangelogs -i
+ dh_installdocs -i
+ dh_installexamples -i
+ dh_pycentral -i
+ dh_python -i
+ dh_strip -i
+ dh_compress -i -X.py
+ dh_fixperms -i
+ dh_installdeb -i
+ dh_shlibdeps -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+binary-arch:
+
+binary: binary-indep binary-arch
+
+.PHONY: build clean binary-indep binary-arch binary install configure
More information about the Python-modules-commits
mailing list