[Python-modules-commits] r792 - in /packages/routes/trunk/debian:
changelog control patches/ postinst prerm rules
pox-guest at users.alioth.debian.org
pox-guest at users.alioth.debian.org
Tue Jun 13 22:20:34 UTC 2006
Author: pox-guest
Date: Tue Jun 13 22:20:29 2006
New Revision: 792
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=792
Log:
updated to latest python policy
Removed:
packages/routes/trunk/debian/patches/
packages/routes/trunk/debian/postinst
packages/routes/trunk/debian/prerm
Modified:
packages/routes/trunk/debian/changelog
packages/routes/trunk/debian/control
packages/routes/trunk/debian/rules
Modified: packages/routes/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/routes/trunk/debian/changelog?rev=792&op=diff
==============================================================================
--- packages/routes/trunk/debian/changelog (original)
+++ packages/routes/trunk/debian/changelog Tue Jun 13 22:20:29 2006
@@ -1,3 +1,11 @@
+routes (1.3.2-3) unstable; urgency=low
+
+ * Updated to latest python policy
+ * Converted to python-central
+ * Removed setuptools_default_version patch
+
+ -- Piotr Ozarowski <ozarow at gmail.com> Tue, 13 Jun 2006 23:58:48 +0200
+
routes (1.3.2-2) unstable; urgency=low
* Egg directory name fixed
Modified: packages/routes/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/routes/trunk/debian/control?rev=792&op=diff
==============================================================================
--- packages/routes/trunk/debian/control (original)
+++ packages/routes/trunk/debian/control Tue Jun 13 22:20:29 2006
@@ -3,13 +3,15 @@
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-routes
Architecture: all
-Depends: python (>= 2.3), python-support (>= 0.2.2)
+Depends: ${python:Depends}
+XB-Python-Version: ${python:Versions}
Description: Routing Recognition and Generation Tools
Routes is a Python re-implementation of the Rails routes system for mapping
URL's to Controllers/Actions and generating URL's. Routes makes it easy to
Modified: packages/routes/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/routes/trunk/debian/rules?rev=792&op=diff
==============================================================================
--- packages/routes/trunk/debian/rules (original)
+++ packages/routes/trunk/debian/rules Tue Jun 13 22:20:29 2006
@@ -1,20 +1,53 @@
#!/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
-include /usr/share/cdbs/1/rules/simple-patchsys.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/routes
-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)
-clean::
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-*
+ rm -rf dist build
+ find . -name *\.py[co] -exec rm {} \;
find . -name "\._*" -exec rm -f {} \;
+ dh_clean
-install/python-routes::
- echo "2.3-" >debian/python-routes/usr/share/python-support/routes/.version
- mv debian/python-routes/usr/share/python-support/routes/Routes-${DEB_UPSTREAM_VERSION}{-py${PYVER}.egg-info,.egg-info}
+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-routes
+ # share Egg dir (remove versions from dirname)
+ mv debian/python-routes/usr/lib/python$*/site-packages/Routes{-${DEB_UPSTREAM_VERSION}-py$*,}.egg-info
+
+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