[Python-modules-commits] r33839 - in packages/python-dsv/trunk/debian (changelog control rules)

ucko at users.alioth.debian.org ucko at users.alioth.debian.org
Tue Aug 18 11:54:25 UTC 2015


    Date: Tuesday, August 18, 2015 @ 11:54:24
  Author: ucko
Revision: 33839

Build an (experimental) python3-dsv binary package.

* debian/control:
  - Declare all build depends recommended at
    https://wiki.debian.org/Python/LibraryStyleGuide .
  - Explicitly note that the current binary package is for Python 2.
  - Add a stanza for an (experimental) Python 3 binary package.
* debian/rules:
  - Build with pybuild.
  - Cover Python 3 with the help of 2to3.

Modified:
  packages/python-dsv/trunk/debian/changelog
  packages/python-dsv/trunk/debian/control
  packages/python-dsv/trunk/debian/rules

Modified: packages/python-dsv/trunk/debian/changelog
===================================================================
--- packages/python-dsv/trunk/debian/changelog	2015-08-18 11:48:31 UTC (rev 33838)
+++ packages/python-dsv/trunk/debian/changelog	2015-08-18 11:54:24 UTC (rev 33839)
@@ -1,8 +1,16 @@
 python-dsv (1.4.1-4) UNRELEASED; urgency=medium
 
   * NOT YET RELEASED.
+  * debian/control:
+    - Declare all build depends recommended at
+      https://wiki.debian.org/Python/LibraryStyleGuide .
+    - Explicitly note that the current binary package is for Python 2.
+    - Add a stanza for an (experimental) Python 3 binary package.
+  * debian/rules:
+    - Build with pybuild.
+    - Cover Python 3 with the help of 2to3.
 
- -- Aaron M. Ucko <ucko at debian.org>  Tue, 18 Aug 2015 07:48:28 -0400
+ -- Aaron M. Ucko <ucko at debian.org>  Tue, 18 Aug 2015 07:54:21 -0400
 
 python-dsv (1.4.1-3) unstable; urgency=medium
 

Modified: packages/python-dsv/trunk/debian/control
===================================================================
--- packages/python-dsv/trunk/debian/control	2015-08-18 11:48:31 UTC (rev 33838)
+++ packages/python-dsv/trunk/debian/control	2015-08-18 11:54:24 UTC (rev 33839)
@@ -3,7 +3,12 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Aaron M. Ucko <ucko at debian.org>
-Build-Depends: debhelper (>= 8), python (>= 2.6.6-3~)
+Build-Depends: debhelper (>= 9~),
+               dh-python,
+               python-all (>= 2.6.6-3~),
+               python-setuptools,
+               python3-all,
+               python3-setuptools
 Standards-Version: 3.9.5
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-dsv/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-dsv/trunk/
@@ -14,9 +19,25 @@
 Depends: ${misc:Depends}, ${python:Depends}
 Suggests: python-wxgtk3.0 | python-wxgtk2.8
 Provides: ${python:Provides}
-Description: Python module for delimiter-separated-value files
+Description: Python module for delimiter-separated-value files (Python 2)
  Python-DSV is an alternative to Python's standard csv module, with
  somewhat different usage and optional support for wxWidgets-mediated
  user interaction in the course of format autodetection.  Like the
  standard module, it supports a wide range of delimiters and handles
  both import and export.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-dsv
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Suggests: python3-wxgtk3.0
+Provides: ${python3:Provides}
+Description: Python module for delimiter-separated-value files (Python 3)
+ Python-DSV is an alternative to Python's standard csv module, with
+ somewhat different usage and optional support for wxWidgets-mediated
+ user interaction in the course of format autodetection.  Like the
+ standard module, it supports a wide range of delimiters and handles
+ both import and export.
+ .
+ This package installs the library for Python 3.

Modified: packages/python-dsv/trunk/debian/rules
===================================================================
--- packages/python-dsv/trunk/debian/rules	2015-08-18 11:48:31 UTC (rev 33838)
+++ packages/python-dsv/trunk/debian/rules	2015-08-18 11:54:24 UTC (rev 33839)
@@ -1,3 +1,6 @@
 #!/usr/bin/make -f
+export PYBUILD_NAME = dsv
+export PYBUILD_BEFORE_BUILD_python3 = 2to3 -w DSV/DSV.py
+
 %:
-	dh $@ --with python2
+	dh $@ --with python2,python3 --buildsystem=pybuild




More information about the Python-modules-commits mailing list