[tor-commits] [tor-browser-build/master] Bug 29868: Fix installation of python-future package

gk at torproject.org gk at torproject.org
Tue Mar 26 17:16:47 UTC 2019


commit f2e272082fc484f211e0539dc177b1948c4b5d68
Author: Nicolas Vigier <boklm at torproject.org>
Date:   Tue Mar 26 12:01:18 2019 +0100

    Bug 29868: Fix installation of python-future package
    
    The jessie-backports suite has been removed from ftp.debian.org, so we
    now download and install the package using snapshot.debian.org.
---
 projects/tor-browser/config | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/projects/tor-browser/config b/projects/tor-browser/config
index 22d99c6..0a82092 100644
--- a/projects/tor-browser/config
+++ b/projects/tor-browser/config
@@ -32,12 +32,15 @@ targets:
         - genisoimage
         - faketime
   windows:
+    pre: |
+      # Bug 29868: jessie-backports don't exist anymore, so we download the
+      # package we need from snapshot.debian.org
+      # We can remove this when we switch to Stretch (bug 29307)
+      DEBIAN_FRONTEND=noninteractive dpkg -i python-future_*_all.deb
     var:
       arch_deps:
-        - python-future
-      pre_pkginst: |
-        # enable jessie-backports for python-future
-        echo 'deb http://ftp.debian.org/debian jessie-backports main' >> /etc/apt/sources.list
+        # python-configparser is required by python-future
+        - python-configparser
   windows-i686:
     var:
       mar_osname: win32
@@ -116,6 +119,13 @@ input_files:
     URL: https://files.pythonhosted.org/packages/7e/9b/f99171190f04cd23768547dd34533b4016bd582842f53cd9fe9585a74c74/pefile-2017.11.5.tar.gz
     sha256sum: 675c35ee0e1677db9e80d2f48d8a7ff2cf38e6207e8cd5e2a2c6d126db025854
     enable: '[% c("var/windows") %]'
+  # Bug 29868: jessie-backports don't exist anymore, so we download the
+  # package we need from snapshot.debian.org
+  # We can remove this when we switch to Stretch (bug 29307)
+  - name: python-future
+    URL: https://snapshot.debian.org/archive/debian/20190104T031048Z/pool/main/p/python-future/python-future_0.15.2-4%7Ebpo8%2B1_all.deb
+    sha256sum: da39bbc41a6143f68eb7b8d774aad8fe2483947c4e567c9b27f6a8455981450d
+    enable: '[% c("var/windows") %]'
   # To generate a new keystore, see how-to-generate-keystore.txt
   - filename: android-qa.keystore
     enable: '[% c("var/android") %]'



More information about the tor-commits mailing list