[pycoast] 08/10: New package for Python 3

Antonio Valentino a_valentino-guest at moszumanska.debian.org
Fri Aug 18 17:12:31 UTC 2017


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

a_valentino-guest pushed a commit to branch master
in repository pycoast.

commit 4763844c3976dd892dc8afee360a3a517c041e9d
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Fri Aug 18 16:40:25 2017 +0000

    New package for Python 3
---
 debian/changelog |  1 +
 debian/control   | 31 ++++++++++++++++++++++++++++++-
 debian/rules     |  8 +++++++-
 3 files changed, 38 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d819557..af6458c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 pycoast (1.0.0+dfsg-1) UNRELEASED; urgency=medium
 
   * New upstream release
+  * New package for Python 3
   * debian/control
     - standard version bumped to 4.0.0 (no change)
     - add python-six to dependencies
diff --git a/debian/control b/debian/control
index 52f5666..a4fbe5b 100644
--- a/debian/control
+++ b/debian/control
@@ -6,13 +6,20 @@ Priority: optional
 Build-Depends: debhelper (>= 9.0.0),
                dh-python,
                python-setuptools,
+               python3-setuptools,
                python-all,
+               python3-all,
                python-numpy,
+               python3-numpy,
                python-pil,
+               python3-pil,
                python-pyshp,
+               python3-pyshp,
                python-pyproj,
+               python3-pyproj,
                python-six,
-               python-sphinx
+               python3-six,
+               python3-sphinx
 Standards-Version: 4.0.0
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-grass/pycoast.git
 Vcs-Git: https://anonscm.debian.org/git/pkg-grass/pycoast.git
@@ -34,3 +41,25 @@ Description: Draw coastlines, borders and rivers on images
  and WDBII datasets.
  .
  This package is part of the PyTroll toolset.
+ .
+ This package contains pycoast for Python 2.
+
+Package: python3-pycoast
+Architecture: all
+Depends: ${shlibs:Depends},
+         ${python3:Depends},
+         ${misc:Depends},
+         python3-numpy,
+         python3-pil,
+         python3-pyshp,
+         python3-pyproj,
+         python3-six
+Description: Draw coastlines, borders and rivers on images (for Python 3)
+ Pycoast is a Python package to add coastlines, borders and rivers to
+ raster images using data from the GSHHG (previously known as GSHHS)
+ and WDBII datasets.
+ .
+ This package is part of the PyTroll toolset.
+ .
+ This package contains pycoast for Python 3.
+
diff --git a/debian/rules b/debian/rules
index e6f8a9a..94e6f0d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ export PYBUILD_NAME=pycoast
 
 
 %:
-	dh $@ --parallel --with python2,sphinxdoc --buildsystem=pybuild
+	dh $@ --parallel --with python2,python3,sphinxdoc --buildsystem=pybuild
 
 
 override_dh_auto_build:
@@ -27,3 +27,9 @@ override_dh_auto_clean:
 override_dh_python2:
 	dh_python2
 	dh_numpy
+
+
+override_dh_python3:
+	dh_python3
+	dh_numpy3
+

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



More information about the Pkg-grass-devel mailing list