[pysal] 12/17: Add Python 3 package.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat Jun 11 20:44:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository pysal.

commit a182aee3f803c96cc2f2969270823d810f357980
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Jun 11 17:33:22 2016 +0200

    Add Python 3 package.
---
 debian/control | 56 ++++++++++++++++++++++++++++++++++++++++++++++----------
 debian/rules   | 10 +++++++---
 2 files changed, 53 insertions(+), 13 deletions(-)

diff --git a/debian/control b/debian/control
index ded7d7f..67b7d3c 100644
--- a/debian/control
+++ b/debian/control
@@ -6,10 +6,15 @@ Priority: optional
 Build-Depends: debhelper (>= 9),
                dh-python,
                python-all,
+               python3-all,
                python-nose-exclude,
+               python3-nose-exclude,
                python-numpy,
+               python3-numpy,
                python-scipy,
-               python-setuptools
+               python3-scipy,
+               python-setuptools,
+               python3-setuptools
 Standards-Version: 3.9.6
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-grass/pysal.git
 Vcs-Git: https://anonscm.debian.org/git/pkg-grass/pysal.git
@@ -21,9 +26,9 @@ Architecture: all
 Depends: python-lxml,
          ${python:Depends},
          ${misc:Depends}
-Description: Python Spatial Analysis Library
- PySAL is an open source library of spatial analysis functions written in 
- Python intended to support the development of high level applications. 
+Description: Python Spatial Analysis Library - Python 2
+ PySAL is an open source library of spatial analysis functions written in
+ Python intended to support the development of high level applications.
  .
  It is important to underscore what PySAL is, and is not, designed to do. First
  and foremost, PySAL is a library in the fullest sense of the word. Developers
@@ -33,11 +38,42 @@ Description: Python Spatial Analysis Library
  extensive simulation analysis, or those seeking to advance the state of the art
  in spatial analysis should also find PySAL to be a useful foundation for their
  work.
- . 
+ .
  End users looking for a user friendly graphical user interface for spatial
- analysis should not turn to PySAL directly. Instead, we would direct them to
+ analysis should not turn to PySAL directly. Instead, they should consider
  projects like STARS and the GeoDaX suite of software products which wrap PySAL
- functionality in GUIs. At the same time, we expect that with developments such
- as the Python based plug-in architectures for QGIS, GRASS, and the toolbox
- extensions for ArcGIS, that end user access to PySAL functionality will be
- widening in the near future.
+ functionality in GUIs. At the same time, it's expected that with developments
+ such as the Python based plug-in architectures for QGIS, GRASS, and the
+ toolbox extensions for ArcGIS, that end user access to PySAL functionality
+ will be widening in the near future.
+ .
+ This package contains the pysal library for Python 2.
+
+Package: python3-pysal
+Architecture: all
+Depends: python3-lxml,
+         ${python3:Depends},
+         ${misc:Depends}
+Description: Python Spatial Analysis Library - Python 3
+ PySAL is an open source library of spatial analysis functions written in
+ Python intended to support the development of high level applications.
+ .
+ It is important to underscore what PySAL is, and is not, designed to do. First
+ and foremost, PySAL is a library in the fullest sense of the word. Developers
+ looking for a suite of spatial analytical methods that they can incorporate
+ into application development should feel at home using PySAL. Spatial analysts
+ who may be carrying out research projects requiring customized scripting,
+ extensive simulation analysis, or those seeking to advance the state of the art
+ in spatial analysis should also find PySAL to be a useful foundation for their
+ work.
+ .
+ End users looking for a user friendly graphical user interface for spatial
+ analysis should not turn to PySAL directly. Instead, they should consider
+ projects like STARS and the GeoDaX suite of software products which wrap PySAL
+ functionality in GUIs. At the same time, it's expected that with developments
+ such as the Python based plug-in architectures for QGIS, GRASS, and the
+ toolbox extensions for ArcGIS, that end user access to PySAL functionality
+ will be widening in the near future.
+ .
+ This package contains the pysal library for Python 3.
+
diff --git a/debian/rules b/debian/rules
index 6f5442b..4f02776 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,9 +6,13 @@ export PYBUILD_TEST_NOSE=1
 export PYBUILD_TEST_ARGS=--exclude test_DistanceBand_arc  --exclude-dir=pysal/contrib --exclude-dir pysal/network
 
 %:
-	dh  $@ --with python2 --buildsystem pybuild
+	dh  $@ --with python2,python3 --buildsystem pybuild
 
 override_dh_python2:
-	dh_python2
-	dh_numpy
+	dh_python2 -ppython-pysal
+	dh_numpy -ppython-pysal
+
+override_dh_python3:
+	dh_python3 -ppython3-pysal
+	dh_numpy3 -ppython3-pysal
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pysal.git



More information about the Pkg-grass-devel mailing list