Browse Source

python: update to 3.8.1

emacs-27
Leonid Plyushch 5 years ago
parent
commit
a0770aebe6
  1. 16
      packages/python/Lib-pathlib.py.patch
  2. 5
      packages/python/build.sh

16
packages/python/Lib-pathlib.py.patch

@ -1,16 +0,0 @@
diff -uNr Python-3.8.0/Lib/pathlib.py Python-3.8.0.mod/Lib/pathlib.py
--- Python-3.8.0/Lib/pathlib.py 2019-10-14 16:34:47.000000000 +0300
+++ Python-3.8.0.mod/Lib/pathlib.py 2019-11-17 23:35:51.224429521 +0200
@@ -412,7 +412,11 @@
unlink = os.unlink
- link_to = os.link
+ if hasattr(os, "link"):
+ link_to = os.link
+ else:
+ def link_to(self, src, dst):
+ NotImplementedError("link() not available on this system")
rmdir = os.rmdir

5
packages/python/build.sh

@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://python.org/
TERMUX_PKG_DESCRIPTION="Python 3 programming language intended to enable clear programs"
TERMUX_PKG_LICENSE="PythonPL"
_MAJOR_VERSION=3.8
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.0
TERMUX_PKG_REVISION=4
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.1
TERMUX_PKG_SRCURL=https://www.python.org/ftp/python/${TERMUX_PKG_VERSION}/Python-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=b356244e13fb5491da890b35b13b2118c3122977c2cd825e3eb6e7d462030d84
TERMUX_PKG_SHA256=75894117f6db7051c1b34f37410168844bbb357c139a8a10a352e9bf8be594e8
TERMUX_PKG_DEPENDS="gdbm, libandroid-support, libbz2, libcrypt, libffi, liblzma, libsqlite, ncurses, ncurses-ui-libs, openssl, readline, zlib"
TERMUX_PKG_SUGGESTS="python-tkinter"

Loading…
Cancel
Save