[python-astropy] 01/04: Disable astropy helper download. Closes: #761055

Ole Streicher olebole at moszumanska.debian.org
Sun Sep 14 14:10:47 UTC 2014


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

olebole pushed a commit to branch debian
in repository python-astropy.

commit 9e5bb800d026da8045866c0d95604274aba41d45
Author: Ole Streicher <olebole at debian.org>
Date:   Sun Sep 14 13:52:12 2014 +0200

    Disable astropy helper download. Closes: #761055
---
 debian/changelog                             |  6 ++++++
 debian/patches/disable_helper_download.patch | 19 +++++++++++++++++++
 debian/patches/series                        |  1 +
 3 files changed, 26 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 4855e6d..93f5c79 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-astropy (0.4.1+dfsg-2) UNRELEASED; urgency=low
+
+  * Disable astropy helper download. Closes: #761055
+
+ -- Ole Streicher <olebole at debian.org>  Sun, 14 Sep 2014 13:50:29 +0200
+
 python-astropy (0.4.1+dfsg-1) unstable; urgency=low
 
   * New upstream version
diff --git a/debian/patches/disable_helper_download.patch b/debian/patches/disable_helper_download.patch
new file mode 100644
index 0000000..9ef35d3
--- /dev/null
+++ b/debian/patches/disable_helper_download.patch
@@ -0,0 +1,19 @@
+Author: Sergio Gelato <Sergio.Gelato at astro.su.se>
+Description: Disable update attempt of astropy-helpers
+ astropy_helpers (included in the source distribution) tries by default to
+ update itself over the network. This can have a negative impact on the
+ reproducibility of the build, to say nothing of privacy and security
+ concerns. (Licensing would also be an issue if this were a GPL package.)
+ .
+ This patch turns off the downloading and automatic upgrade features.
+ If bug fixes are needed they should be incorporated explicitly by the
+ package maintainer.
+Bug: https://bugs.debian.org/761055
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -23,3 +23,5 @@
+ 
+ [ah_bootstrap]
+ auto_use = True
++auto_upgrade = False
++download_if_needed = False
diff --git a/debian/patches/series b/debian/patches/series
index a0afe8e..e95a3aa 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 mark_known_failures.patch
 use_extern_ply.patch
+disable_helper_download.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/python-astropy.git



More information about the debian-science-commits mailing list