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.000000000 -0500
+++ python-pyproj-1.8.9/debian/changelog	2013-08-21 01:45:21.000000000 -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.000000000 -0500
+++ python-pyproj-1.8.9/debian/control	2013-08-21 01:24:56.000000000 -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.000000000 -0400
+++ python-pyproj-1.8.9/debian/doc-base	1969-12-31 19:00:00.000000000 -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.000000000 -0400
+++ python-pyproj-1.8.9/debian/docs	1969-12-31 19:00:00.000000000 -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.000000000 -0500
+++ python-pyproj-1.8.9/debian/python3-pyproj.doc-base	2013-08-21 03:55:01.000000000 -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.000000000 -0500
+++ python-pyproj-1.8.9/debian/python3-pyproj.docs	2013-08-21 03:52:23.000000000 -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.000000000 -0500
+++ python-pyproj-1.8.9/debian/python3-pyproj.install	2013-08-21 01:44:37.000000000 -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.000000000 -0500
+++ python-pyproj-1.8.9/debian/python-pyproj.doc-base	2010-08-02 15:28:23.000000000 -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.000000000 -0500
+++ python-pyproj-1.8.9/debian/python-pyproj.docs	2010-08-02 15:28:23.000000000 -0400
@@ -0,0 +1,2 @@
+README
+README.html
diff -Nru python-pyproj-1.8.9/debian/python-pyproj.install python-pyproj-1.8.9/debian/python-pyproj.install
--- python-pyproj-1.8.9/debian/python-pyproj.install	1969-12-31 19:00:00.000000000 -0500
+++ python-pyproj-1.8.9/debian/python-pyproj.install	2013-08-21 01:44:08.000000000 -0400
@@ -0,0 +1 @@
+usr/lib/python2*/dist-packages/*
diff -Nru python-pyproj-1.8.9/debian/rules python-pyproj-1.8.9/debian/rules
--- python-pyproj-1.8.9/debian/rules	2011-03-09 11:38:40.000000000 -0500
+++ python-pyproj-1.8.9/debian/rules	2013-08-21 02:59:51.000000000 -0400
@@ -6,8 +6,9 @@
 
 override_dh_auto_install:
 	dh_auto_install
-	find $(CURDIR)/debian/python-pyproj/ -name "data" -type d | xargs rm -rf
+	find $(CURDIR)/debian/tmp/ -name "data" -type d | xargs rm -rf
+
 
 %:
 	dh $@ \
-		--with python2
+		--with python2,python3 --buildsystem=pybuild
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to