[python-geopandas] 02/03: enable tests

Johan Van de Wauw johanvdw-guest at moszumanska.debian.org
Thu Dec 18 08:09:55 UTC 2014


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

johanvdw-guest pushed a commit to branch master
in repository python-geopandas.

commit 2a9e1c84e1aa0bac190522d86f0dc72cb4554350
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date:   Thu Dec 18 08:38:48 2014 +0100

    enable tests
---
 debian/control | 4 ++++
 debian/rules   | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/debian/control b/debian/control
index f1846ff..8a6e5be 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,10 @@ Build-Depends: debhelper (>= 9),
                python-sphinx, 
                python-nose,
                python3-nose,
+               python-descartes,
+               python3-descartes,
+               python-fiona,
+               python3-fiona,
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/cgit/pkg-grass/geopandas.git/
 Vcs-Git: git://anonscm.debian.org/pkg-grass/geopandas.git
diff --git a/debian/rules b/debian/rules
index 675efd3..7ffdba4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,9 @@
 
 export PYBUILD_NAME=geopandas
 export PYBUILD_TEST_NOSE=1
+#Disable tests using geocoding -> does not work offline
+export PYBUILD_BEFORE_TEST=mv {dir}/tests/test_geocode.py {dir}/tests/test_geocode.disabled ||true
+export PYBUILD_AFTER_TEST=mv {dir}/tests/test_geocode.disabled {dir}/tests/test_geocode.py ||true
 
 %:
 	dh  $@ --with python2,python3,sphinxdoc --buildsystem pybuild

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



More information about the Pkg-grass-devel mailing list