[Python-modules-commits] r9803 - in packages/python-pytils/trunk/debian (5 files)
dottedmag-guest at users.alioth.debian.org
dottedmag-guest at users.alioth.debian.org
Fri Sep 18 19:48:06 UTC 2009
Date: Friday, September 18, 2009 @ 19:48:05
Author: dottedmag-guest
Revision: 9803
* Use dh(1).
* Switch to debian-support.
* Bump Standards-Version to 3.8.3, no changes needed.
* Update Homepage to current location.
Added:
packages/python-pytils/trunk/debian/python-pytils.preinst
Modified:
packages/python-pytils/trunk/debian/changelog
packages/python-pytils/trunk/debian/compat
packages/python-pytils/trunk/debian/control
packages/python-pytils/trunk/debian/rules
Modified: packages/python-pytils/trunk/debian/changelog
===================================================================
--- packages/python-pytils/trunk/debian/changelog 2009-09-18 11:11:33 UTC (rev 9802)
+++ packages/python-pytils/trunk/debian/changelog 2009-09-18 19:48:05 UTC (rev 9803)
@@ -1,9 +1,16 @@
python-pytils (0.2.3-2) UNRELEASED; urgency=low
+ [ Sandro Tosi ]
* debian/control
- - switch Vcs-Browser field to viewsvn
+ - Switch Vcs-Browser field to viewsvn
+
+ [ Mikhail Gusarov ]
+ * Use dh(1).
+ * Switch to debian-support.
+ * Bump Standards-Version to 3.8.3, no changes needed.
+ * Update Homepage to current location.
- -- Sandro Tosi <morph at debian.org> Mon, 03 Nov 2008 22:15:47 +0100
+ -- Mikhail Gusarov <dottedmag at dottedmag.net> Sat, 19 Sep 2009 02:31:27 +0700
python-pytils (0.2.3-1) unstable; urgency=low
Modified: packages/python-pytils/trunk/debian/compat
===================================================================
--- packages/python-pytils/trunk/debian/compat 2009-09-18 11:11:33 UTC (rev 9802)
+++ packages/python-pytils/trunk/debian/compat 2009-09-18 19:48:05 UTC (rev 9803)
@@ -1 +1 @@
-5
+7
Modified: packages/python-pytils/trunk/debian/control
===================================================================
--- packages/python-pytils/trunk/debian/control 2009-09-18 11:11:33 UTC (rev 9802)
+++ packages/python-pytils/trunk/debian/control 2009-09-18 19:48:05 UTC (rev 9803)
@@ -3,22 +3,19 @@
Priority: optional
Maintainer: Mikhail Gusarov <dottedmag at dottedmag.net>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11)
-Build-Depends-Indep: python-central (>= 0.6)
-Standards-Version: 3.8.0
-XS-Python-Version: all
-Homepage: http://gorod-omsk.ru/blog/pythy/projects/pytils/
+Build-Depends: debhelper (>= 7.0.50~), python-dev (>= 2.3.5-11)
+Build-Depends-Indep: python-support (>= 0.90)
+Standards-Version: 3.8.3
+Homepage: http://pyobject.ru/projects/pytils/
Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-pytils/trunk
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-pytils/trunk/
Package: python-pytils
Architecture: all
-Depends: ${python:Depends}
+Depends: ${python:Depends}, ${misc:Depends}
Suggests: python-django
-XB-Python-Version: ${python:Versions}
Description: Python library for processing strings in Russian
pytils contains several tools for processing strings in Russian:
- .
* choosing plural forms
* in-words numerals representation
* formatting dates in different styles
Added: packages/python-pytils/trunk/debian/python-pytils.preinst
===================================================================
--- packages/python-pytils/trunk/debian/python-pytils.preinst (rev 0)
+++ packages/python-pytils/trunk/debian/python-pytils.preinst 2009-09-18 19:48:05 UTC (rev 9803)
@@ -0,0 +1,11 @@
+#!/bin/sh
+# TODO: remove this file after releasing Squeeze
+set -e
+if [ "$1" = upgrade ]
+then
+ if dpkg --compare-versions "$2" lt 0.2.3-2; then
+ pycentral pkgremove python-pytils
+ fi
+fi
+
+#DEBHELPER#
Modified: packages/python-pytils/trunk/debian/rules
===================================================================
--- packages/python-pytils/trunk/debian/rules 2009-09-18 11:11:33 UTC (rev 9802)
+++ packages/python-pytils/trunk/debian/rules 2009-09-18 19:48:05 UTC (rev 9803)
@@ -1,44 +1,7 @@
#!/usr/bin/make -f
-# -*- makefile -*-
+%:
+ dh $@
-PACKAGE_NAME=python-pytils
-
-build:
-
-clean:
- dh_testdir
- dh_testroot
-
- python setup.py clean
+override_dh_auto_clean:
find . -name '*.py[co]' -delete
- rm -rf build
- rm -f build-stamp
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
-
- python setup.py install --no-compile --root $(CURDIR)/debian/$(PACKAGE_NAME)
- rm -rf debian/$(PACKAGE_NAME)/usr/lib/python*/site-packages/*.egg-info
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs Changelog
- dh_installdocs
- dh_installexamples
- dh_pycentral
- dh_compress -X.py
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary-arch: build install
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+ dh_auto_clean
More information about the Python-modules-commits
mailing list