Bug#720379: python-pyproj: Please add python3 support

2013-08-28 Thread Scott Kitterman
Since this is blocking fixing pygrib and it appears the team is someone limited 
on manpower, I'm going to go ahead and upload this as an NMU.  It'll sit in 
NEW for awhile, so if that turns out to be not what someone wanted, let me 
know and I'll reject it.

Scott K

signature.asc
Description: This is a digitally signed message part.
___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Bug#720379: python-pyproj: Please add python3 support

2013-08-21 Thread Scott Kitterman
Package: python-pyproj
Version: 1.8.9-1
Severity: normal
Tags: patch

python-pyproj supports python3 upstream, but it's not packaged for Debian.
Please see the attached patch.  This would, I believe python3 support to be
added to pygrib too.  I can upload this as an NMU if you're prefer.

Scott K
diff -Nru python-pyproj-1.8.9/debian/changelog python-pyproj-1.8.9/debian/changelog
--- python-pyproj-1.8.9/debian/changelog	2011-03-09 11:39:26.0 -0500
+++ python-pyproj-1.8.9/debian/changelog	2013-08-21 01:45:21.0 -0400
@@ -1,3 +1,15 @@
+python-pyproj (1.8.9-2) UNRELEASED; urgency=low
+
+  * Add support for python3
+- Add python3-pyroj to debian/control
+- Add dh-python and python3-all-dev to build depends
+- Build with python3 and buildstysem=pybuild
+- Add debian/python-pyproj.install debian/python3-pyproj.install for
+  multi-binary package
+  * Drop obsolete build-dep on pysupport
+
+ -- Scott Kitterman sc...@kitterman.com  Wed, 21 Aug 2013 01:26:12 -0400
+
 python-pyproj (1.8.9-1) unstable; urgency=low
 
   * New upstream version
diff -Nru python-pyproj-1.8.9/debian/control python-pyproj-1.8.9/debian/control
--- python-pyproj-1.8.9/debian/control	2011-03-09 11:39:12.0 -0500
+++ python-pyproj-1.8.9/debian/control	2013-08-21 01:24:56.0 -0400
@@ -5,8 +5,9 @@
 Uploaders: David Paleino da...@debian.org
 Build-Depends:
  debhelper (= 7.0.50~)
- , python-support
+ , dh-python
  , python-all-dev
+ , python3-all-dev
 Standards-Version: 3.9.1
 Homepage: http://code.google.com/p/pyproj/
 Vcs-Git: git://git.debian.org/git/pkg-grass/python-pyproj.git
@@ -28,3 +29,19 @@
  This is a Python binding to PROJ.4, it can receive coordinates as numpy
  arrays, Python arrays, lists or scalars. This module is optimized for
  numpy arrays.
+
+Package: python3-pyproj
+Architecture: any
+Depends:
+ ${python3:Depends}
+ , ${shlibs:Depends}
+ , ${misc:Depends}
+ , proj-data
+Description: Python 3 interface to PROJ.4 library
+ PROJ.4 performs cartographic transformations between geographic (lat/lon)
+ and map projection (x/y) coordinates. It can also transform directly
+ from one map projection coordinate system to another.
+ .
+ This is a Python 3 binding to PROJ.4, it can receive coordinates as numpy
+ arrays, Python arrays, lists or scalars. This module is optimized for
+ numpy arrays.
diff -Nru python-pyproj-1.8.9/debian/doc-base python-pyproj-1.8.9/debian/doc-base
--- python-pyproj-1.8.9/debian/doc-base	2010-08-02 15:28:23.0 -0400
+++ python-pyproj-1.8.9/debian/doc-base	1969-12-31 19:00:00.0 -0500
@@ -1,7 +0,0 @@
-Document: python-pyproj
-Title: pyproj API reference
-Section: Programming/Python
-
-Format: HTML
-Index: /usr/share/doc/python-pyproj/README.html
-Files: /usr/share/doc/python-pyproj/README.html
diff -Nru python-pyproj-1.8.9/debian/docs python-pyproj-1.8.9/debian/docs
--- python-pyproj-1.8.9/debian/docs	2010-08-02 15:28:23.0 -0400
+++ python-pyproj-1.8.9/debian/docs	1969-12-31 19:00:00.0 -0500
@@ -1,2 +0,0 @@
-README
-README.html
diff -Nru python-pyproj-1.8.9/debian/python3-pyproj.doc-base python-pyproj-1.8.9/debian/python3-pyproj.doc-base
--- python-pyproj-1.8.9/debian/python3-pyproj.doc-base	1969-12-31 19:00:00.0 -0500
+++ python-pyproj-1.8.9/debian/python3-pyproj.doc-base	2013-08-21 03:55:01.0 -0400
@@ -0,0 +1,7 @@
+Document: python3-pyproj
+Title: pyproj API reference
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python3-pyproj/README.html
+Files: /usr/share/doc/python3-pyproj/README.html
diff -Nru python-pyproj-1.8.9/debian/python3-pyproj.docs python-pyproj-1.8.9/debian/python3-pyproj.docs
--- python-pyproj-1.8.9/debian/python3-pyproj.docs	1969-12-31 19:00:00.0 -0500
+++ python-pyproj-1.8.9/debian/python3-pyproj.docs	2013-08-21 03:52:23.0 -0400
@@ -0,0 +1,2 @@
+README
+README.html
diff -Nru python-pyproj-1.8.9/debian/python3-pyproj.install python-pyproj-1.8.9/debian/python3-pyproj.install
--- python-pyproj-1.8.9/debian/python3-pyproj.install	1969-12-31 19:00:00.0 -0500
+++ python-pyproj-1.8.9/debian/python3-pyproj.install	2013-08-21 01:44:37.0 -0400
@@ -0,0 +1 @@
+usr/lib/python3*/dist-packages/*
diff -Nru python-pyproj-1.8.9/debian/python-pyproj.doc-base python-pyproj-1.8.9/debian/python-pyproj.doc-base
--- python-pyproj-1.8.9/debian/python-pyproj.doc-base	1969-12-31 19:00:00.0 -0500
+++ python-pyproj-1.8.9/debian/python-pyproj.doc-base	2010-08-02 15:28:23.0 -0400
@@ -0,0 +1,7 @@
+Document: python-pyproj
+Title: pyproj API reference
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-pyproj/README.html
+Files: /usr/share/doc/python-pyproj/README.html
diff -Nru python-pyproj-1.8.9/debian/python-pyproj.docs python-pyproj-1.8.9/debian/python-pyproj.docs
--- python-pyproj-1.8.9/debian/python-pyproj.docs	1969-12-31 19:00:00.0 -0500
+++ python-pyproj-1.8.9/debian/python-pyproj.docs	2010-08-02 15:28:23.0 -0400
@@