[Python-modules-commits] r27721 - in packages/python-pytils/trunk/debian (7 files)
dottedmag at users.alioth.debian.org
dottedmag at users.alioth.debian.org
Sun Feb 16 22:47:51 UTC 2014
Date: Sunday, February 16, 2014 @ 22:47:50
Author: dottedmag
Revision: 27721
Switch to dh-python
Added:
packages/python-pytils/trunk/debian/python-pytils-doc.docs
packages/python-pytils/trunk/debian/python-pytils-doc.examples
Modified:
packages/python-pytils/trunk/debian/changelog
packages/python-pytils/trunk/debian/control
packages/python-pytils/trunk/debian/rules
Deleted:
packages/python-pytils/trunk/debian/docs
packages/python-pytils/trunk/debian/examples
Modified: packages/python-pytils/trunk/debian/changelog
===================================================================
--- packages/python-pytils/trunk/debian/changelog 2014-02-16 21:38:22 UTC (rev 27720)
+++ packages/python-pytils/trunk/debian/changelog 2014-02-16 22:47:50 UTC (rev 27721)
@@ -5,6 +5,11 @@
[ Mikhail Gusarov ]
* New upstream release.
+ * Switch to dh-python:
+ - debian/control: Update Build-Depends.
+ - debian/control: Add python3-pytils, python-pytils-doc binary packages.
+ - debian/rules: Use dh-python.
+ - debian/{docs,examples}: Move files to python-pytils-doc.
* debian/control:
- Update my e-mail address
- Update homepage
Modified: packages/python-pytils/trunk/debian/control
===================================================================
--- packages/python-pytils/trunk/debian/control 2014-02-16 21:38:22 UTC (rev 27720)
+++ packages/python-pytils/trunk/debian/control 2014-02-16 22:47:50 UTC (rev 27721)
@@ -3,20 +3,50 @@
Priority: optional
Maintainer: Mikhail Gusarov <dottedmag at debian.org>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7.0.50~), python-dev (>= 2.3.5-11)
-Build-Depends-Indep: python-support (>= 0.90)
+Build-Depends: debhelper (>= 7.0.50~), python-all, python3-all, dh-python,
+ python-setuptools, python3-setuptools
Standards-Version: 3.9.5
Homepage: https://github.com/j2a/pytils
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-pytils/trunk/
Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-pytils/trunk/
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
Package: python-pytils
Architecture: all
Depends: ${python:Depends}, ${misc:Depends}
-Suggests: python-django
-Description: Python library for processing strings in Russian
+Suggests: python-django, python-pytils-doc
+Description: Python library for processing strings in Russian (Python 2)
pytils contains several tools for processing strings in Russian:
* choosing plural forms
* in-words numerals representation
* formatting dates in different styles
* transliteration
+ .
+ This is the Python 2 version of the package.
+
+Package: python3-pytils
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: python-pytils-doc
+Description: Python library for processing strings in Russian (Python 3)
+ pytils contains several tools for processing strings in Russian:
+ * choosing plural forms
+ * in-words numerals representation
+ * formatting dates in different styles
+ * transliteration
+ .
+ This is the Python 3 version of the package.
+
+Package: python-pytils-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: Python library for processing strings in Russian (documentation)
+ pytils contains several tools for processing strings in Russian:
+ * choosing plural forms
+ * in-words numerals representation
+ * formatting dates in different styles
+ * transliteration
+ .
+ This package contains the documentation.
Deleted: packages/python-pytils/trunk/debian/docs
===================================================================
--- packages/python-pytils/trunk/debian/docs 2014-02-16 21:38:22 UTC (rev 27720)
+++ packages/python-pytils/trunk/debian/docs 2014-02-16 22:47:50 UTC (rev 27721)
@@ -1,3 +0,0 @@
-TODO
-doc/README.rus.txt
-doc/WEBFRAMEWORKS.rus.txt
Deleted: packages/python-pytils/trunk/debian/examples
===================================================================
--- packages/python-pytils/trunk/debian/examples 2014-02-16 21:38:22 UTC (rev 27720)
+++ packages/python-pytils/trunk/debian/examples 2014-02-16 22:47:50 UTC (rev 27721)
@@ -1,2 +0,0 @@
-doc/examples/*
-doc/examples-django
Added: packages/python-pytils/trunk/debian/python-pytils-doc.docs
===================================================================
--- packages/python-pytils/trunk/debian/python-pytils-doc.docs (rev 0)
+++ packages/python-pytils/trunk/debian/python-pytils-doc.docs 2014-02-16 22:47:50 UTC (rev 27721)
@@ -0,0 +1,3 @@
+TODO
+doc/README.rus.txt
+doc/WEBFRAMEWORKS.rus.txt
Added: packages/python-pytils/trunk/debian/python-pytils-doc.examples
===================================================================
--- packages/python-pytils/trunk/debian/python-pytils-doc.examples (rev 0)
+++ packages/python-pytils/trunk/debian/python-pytils-doc.examples 2014-02-16 22:47:50 UTC (rev 27721)
@@ -0,0 +1,2 @@
+doc/examples/*
+doc/examples-django
Modified: packages/python-pytils/trunk/debian/rules
===================================================================
--- packages/python-pytils/trunk/debian/rules 2014-02-16 21:38:22 UTC (rev 27720)
+++ packages/python-pytils/trunk/debian/rules 2014-02-16 22:47:50 UTC (rev 27721)
@@ -1,7 +1,4 @@
#!/usr/bin/make -f
+export PYBUILD_NAME=pytils
%:
- dh $@
-
-override_dh_auto_clean:
- find . -name '*.py[co]' -delete
- dh_auto_clean
+ dh --with python2,python3 $@ --buildsystem=pybuild
More information about the Python-modules-commits
mailing list