From 50a5d233d34fb31b8de3fe5b2535ebb546592627 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C3=ADas=20Fonzo?= Date: Thu, 12 Mar 2020 18:51:40 -0300 Subject: [PATCH] recipes: python/python3: Upgraded to version 3.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Matías Fonzo --- recipes/python/python2/recipe | 6 +++--- recipes/python/python3/recipe | 10 +++++----- sources/Python-3.7.4.tgz.sha256 | 1 - sources/Python-3.8.2.tgz.sha256 | 1 + sources/SOURCELIST.txt | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 sources/Python-3.7.4.tgz.sha256 create mode 100644 sources/Python-3.8.2.tgz.sha256 diff --git a/recipes/python/python2/recipe b/recipes/python/python2/recipe index 6a8129c9..1d713645 100644 --- a/recipes/python/python2/recipe +++ b/recipes/python/python2/recipe @@ -1,7 +1,7 @@ # Build recipe for python2. # # Copyright (c) 2017 Mateus P. Rodrigues . -# Copyright (c) 2017-2019 Matias Fonzo, . +# Copyright (c) 2017-2020 Matias Fonzo, . # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ program=Python version=2.7.17 short_version=2.7 -release=1 +release=2 # Set 'outdir' for a nice and well-organized output directory outdir="${outdir}/${arch}/python" @@ -98,7 +98,7 @@ build() ln -sf "${TOOL_DIR}/i18n/pygettext.py" pygettext.py ln -sf "${TOOL_DIR}/pynche/pynche" pynche ) - unset TOOL_DIR + unset short_version TOOL_DIR # Compress and link man pages (if needed) if test -d "${destdir}/$mandir" diff --git a/recipes/python/python3/recipe b/recipes/python/python3/recipe index eea15b0d..5ae38e3e 100644 --- a/recipes/python/python3/recipe +++ b/recipes/python/python3/recipe @@ -1,7 +1,7 @@ # Build recipe for python3. # # Copyright (c) 2017 Mateus P. Rodrigues . -# Copyright (c) 2017-2019 Matias Fonzo, . +# Copyright (c) 2017-2020 Matias Fonzo, . # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,8 +16,8 @@ # limitations under the License. program=Python -version=3.7.4 -short_version=3.7 +version=3.8.2 +short_version="${version%.*}" release=1 # Set 'outdir' for a nice and well-organized output directory @@ -62,7 +62,7 @@ build() # Use system libraries instead of the bundle ones rm -rf Modules/expat Modules/zlib Modules/_ctypes/libffi* - ./configure CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS" OPT="" \ + ./configure CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS" \ $configure_args \ --libdir=/usr/lib${libSuffix} \ --mandir=$mandir \ @@ -99,7 +99,7 @@ build() ln -sf "${TOOL_DIR}/i18n/pygettext.py" pygettext${short_version}.py ln -sf "${TOOL_DIR}/pynche/pynche" pynche${short_version} ) - unset TOOL_DIR + unset short_version TOOL_DIR # Compress and link man pages (if needed) if test -d "${destdir}/$mandir" diff --git a/sources/Python-3.7.4.tgz.sha256 b/sources/Python-3.7.4.tgz.sha256 deleted file mode 100644 index 40efb08e..00000000 --- a/sources/Python-3.7.4.tgz.sha256 +++ /dev/null @@ -1 +0,0 @@ -d63e63e14e6d29e17490abbe6f7d17afb3db182dbd801229f14e55f4157c4ba3 Python-3.7.4.tgz diff --git a/sources/Python-3.8.2.tgz.sha256 b/sources/Python-3.8.2.tgz.sha256 new file mode 100644 index 00000000..678c2b40 --- /dev/null +++ b/sources/Python-3.8.2.tgz.sha256 @@ -0,0 +1 @@ +e634a7a74776c2b89516b2e013dda1728c89c8149b9863b8cea21946daf9d561 Python-3.8.2.tgz diff --git a/sources/SOURCELIST.txt b/sources/SOURCELIST.txt index bc263db0..4972076e 100644 --- a/sources/SOURCELIST.txt +++ b/sources/SOURCELIST.txt @@ -294,7 +294,7 @@ http://www.nasm.us/pub/nasm/releasebuilds/2.14.02/nasm-2.14.02.tar.bz2 http://www.netfilter.org/projects/libmnl/files/libmnl-1.0.4.tar.bz2 http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz http://www.python.org/ftp/python/2.7.17/Python-2.7.17.tgz -http://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz +http://www.python.org/ftp/python/3.8.2/Python-3.8.2.tgz http://www.roestockfox.co.uk/files/isapnptools/isapnptools-1.27.tgz http://www.sudo.ws/dist/sudo-1.8.28.tar.gz http://www.tcpdump.org/release/libpcap-1.9.1.tar.gz -- 2.11.4.GIT