From 2d0f9b07ec53940fcb200492de6a78b06a3a4a64 Mon Sep 17 00:00:00 2001 From: idriskalp Date: Mon, 23 Dec 2019 18:44:30 +0300 Subject: [PATCH] python3 3.8.1 --- system/base/python3/actions.py | 12 +++++++++++- system/base/python3/pspec.xml | 10 +++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/system/base/python3/actions.py b/system/base/python3/actions.py index 0ecf005d..36c42ec9 100644 --- a/system/base/python3/actions.py +++ b/system/base/python3/actions.py @@ -9,6 +9,13 @@ from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools def setup(): + shelltools.system("echo -e '\033[0;36mBuilding Bzip2\033[0m' ") + shelltools.makedirs("%s/temp/lib" %get.workDIR()) + shelltools.cd("bzip2-1.0.8") + autotools.make('CC=%s AR=%s RANLIB=%s CFLAGS="%s -D_FILE_OFFSET_BITS=64 -fPIC" libbz2.a' % (get.CC(), get.AR(), get.RANLIB(), get.CFLAGS())) + shelltools.system("cp libbz2.a %s/temp/lib/libbz2.a" % get.workDIR()) + shelltools.cd("..") + pisitools.flags.add("-fwrapv") pisitools.dosed("Lib/cgi.py","^#.* /usr/local/bin/python","#!/usr/bin/python") @@ -20,7 +27,10 @@ def setup(): #shelltools.unlinkDir("Modules/_ctypes/libffi_msvc") shelltools.unlinkDir("Modules/_ctypes/libffi_osx") #shelltools.unlinkDir("Modules/_decimal/libmpdec") - + + shelltools.export("CFLAGS", "-I%s/temp/include -O3" %get.workDIR()) + shelltools.export("LDFLAGS", "-L%s/temp/lib -lbz2 -lpthread -ldl" %get.workDIR()) + autotools.rawConfigure("\ --prefix=/usr \ --enable-shared \ diff --git a/system/base/python3/pspec.xml b/system/base/python3/pspec.xml index b7210985..b98d505a 100644 --- a/system/base/python3/pspec.xml +++ b/system/base/python3/pspec.xml @@ -12,7 +12,8 @@ programming.language Next generation of the python high-level scripting language Next generation of the python high-level scripting language - https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz + https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tar.xz + https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz bzip2 @@ -123,6 +124,13 @@ + + 2019-12-23 + 3.8.1 + Version bump + Idris Kalp + idriskalp@gmail.com + 2019-12-10 3.8.0