[python-geopandas] 11/12: Don't install naturalearth_cities.README.html, privacy breach issues.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Jun 10 22:54:35 UTC 2016


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

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

commit b2e30aff84790530b216526afd74ab6cd8d4a2b0
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Jun 11 00:32:21 2016 +0200

    Don't install naturalearth_cities.README.html, privacy breach issues.
---
 debian/changelog |  1 +
 debian/rules     | 11 ++++++++---
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b9ed37f..3fb2af0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ python-geopandas (0.2-1) UNRELEASED; urgency=medium
   * Bump Standards-Version to 3.9.8, no changes.
   * Drop patches, applied upstream.
   * Use nosetests instead of pytest.
+  * Don't install naturalearth_cities.README.html, privacy breach issues.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 10 Jun 2016 22:23:19 +0200
 
diff --git a/debian/rules b/debian/rules
index b50d0b7..4403763 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,10 @@ export PYBUILD_NAME=geopandas
 %:
 	dh  $@ --with python2,python3,sphinxdoc --buildsystem pybuild --parallel
 
+override_dh_clean:
+	dh_clean
+	rm -f geopandas/version.py
+
 override_dh_auto_build:
 	dh_auto_build
 	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/source build/html # HTML generator
@@ -16,9 +20,10 @@ override_dh_auto_test:
 	PYBUILD_TEST_ARGS="nosetests -v -e test_geocode.py" dh_auto_test
 	rm -f examples/nybb_*.zip
 
-override_dh_clean:
-	dh_clean
-	rm -f geopandas/version.py
+override_dh_auto_install:
+	dh_auto_install
+	# Remove README with privacy-breach issues
+	$(RM) debian/*/usr/lib/python*/dist-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.README.html
 
 override_dh_python2:
 	dh_python2 -ppython-geopandas

-- 
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