use secure urls

* follow some redirects
This commit is contained in:
Viktor Szakats
2016-02-22 21:06:36 +01:00
parent 22cc95fcd9
commit 2b119ae43f
115 changed files with 210 additions and 210 deletions

View File

@@ -8,13 +8,13 @@ _pybasever=2.7
pkgdesc="A high-level scripting language"
arch=('i686' 'x86_64')
license=('PSF')
url="http://www.python.org/"
url="https://www.python.org/"
depends=('gdbm' 'libbz2' 'libopenssl' 'zlib' 'libexpat' 'libsqlite' 'libffi' 'ncurses' 'libreadline')
makedepends=('libbz2-devel' 'openssl-devel' 'zlib-devel' 'libexpat-devel' 'libgdbm-devel' 'libsqlite-devel' 'libffi-devel' 'ncurses-devel' 'libreadline-devel')
#optdepends=('tk: for IDLE')
conflicts=('python<3')
options=('!makeflags') # '!strip' 'debug')
source=(http://www.python.org/ftp/python/${pkgver%rc?}/Python-${pkgver}.tar.xz
source=(https://www.python.org/ftp/python/${pkgver%rc?}/Python-${pkgver}.tar.xz
0010-ctypes-util-find_library.patch
0020-tkinter-x11.patch
0030-ssl-threads.patch
@@ -67,7 +67,7 @@ prepare() {
patch -p1 -i ${srcdir}/0260-fix-sys-prefix-when-win-drive-in-argv0.patch
# Temporary workaround for FS#22322
# See http://bugs.python.org/issue10835 for upstream report
# See https://bugs.python.org/issue10835 for upstream report
sed -i "/progname =/s/python/python${_pybasever}/" Python/pythonrun.c
# Enable built-in SQLite module to load extensions (fix FS#22122)