python3 3.8.1
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
<PartOf>programming.language</PartOf>
|
||||
<Summary>Next generation of the python high-level scripting language</Summary>
|
||||
<Description>Next generation of the python high-level scripting language</Description>
|
||||
<Archive sha1sum="7720e0384558c598107cf046c48165fd7e1f5b2c" type="tarxz">https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz</Archive>
|
||||
<Archive sha1sum="a48fd28a037c0bcd7b7fc4d914c023f584e910ed" type="tarxz">https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tar.xz</Archive>
|
||||
<Archive sha1sum="bf7badf7e248e0ecf465d33c2f5aeec774209227" type="targz" target="Python-3.8.1">https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<!-- <Dependency>valgrind</Dependency> -->
|
||||
<Dependency>bzip2</Dependency>
|
||||
@@ -123,6 +124,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="8">
|
||||
<Date>2019-12-23</Date>
|
||||
<Version>3.8.1</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Idris Kalp</Name>
|
||||
<Email>idriskalp@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2019-12-10</Date>
|
||||
<Version>3.8.0</Version>
|
||||
|
||||
Reference in New Issue
Block a user