python-emscripten  Check-in [5c748cbd8b]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Upgrade Python 3.8.2 -> 3.8.3
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:5c748cbd8b7c12a6fc5ad4dc37b1f17e8bf683c9d83963604a891ce42b14c50b
User & Date: Beuc 2020-05-22 07:21:41
Context
2020-05-22
11:07
README: show-off Python3 check-in: 3dfbefc1c9 user: Beuc tags: trunk
07:21
Upgrade Python 3.8.2 -> 3.8.3 check-in: 5c748cbd8b user: Beuc tags: trunk
2020-05-08
16:47
webprompt: drop py2 remark check-in: 08c4e36826 user: Beuc tags: trunk
Changes

Changes to 3.8/patches/python3-cross_compile.patch.

1
2
3
4
5
6
7



8
9
10
11
12
13
14
15
16
17
18

19


20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

42
43
44
45
46
47
48
49
Description: Fix build system for Emscripten cross-compilation.
Forwarded: no
Author: Sylvain Beucler <beuc@beuc.net>
Last-Update: 2020-05-08

--- a/config.sub	2020-05-08 12:15:20.097297249 +0200
+++ b/config.sub	2020-05-08 12:17:19.704298501 +0200



@@ -1394,7 +1394,7 @@
 	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
 	      | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
 	      | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \
-	      | -midnightbsd*)
+	      | -midnightbsd* | -emscripten*)
 	# Remember, each alternative MUST END IN *, to match a version number.
 		;;
 	-qnx*)
--- a/configure	2020-02-24 22:36:25.000000000 +0100
+++ b/configure	2020-05-08 12:41:34.048250804 +0200

@@ -3274,6 +3274,9 @@


 	*-*-vxworks*)
 	    ac_sys_system=VxWorks
 	    ;;
+	*-*-emscripten)
+		ac_sys_system=Emscripten
+		;;
 	*)
 		# for now, limit cross builds to known configurations
 		MACHDEP="unknown"
@@ -3324,6 +3327,9 @@
 	*-*-vxworks*)
 		_host_cpu=$host_cpu
 		;;
+	*-*-emscripten)
+		ac_sys_system=Emscripten
+		;;
 	*)
 		# for now, limit cross builds to known configurations
 		MACHDEP="unknown"
diff --git a/config-emscripten.site b/config-emscripten.site
new file mode 100644
index 0000000..c273024

--- /dev/null
+++ b/config-emscripten.site
@@ -0,0 +1,5 @@
+# Required by ./configure
+ac_cv_file__dev_ptmx=no
+ac_cv_file__dev_ptc=no
+# Support dynamic linking
+ac_cv_func_dlopen=yes





|
<
>
>
>
|








|
<
>
|
>
>









|









|
<
<
>

|






1
2
3
4
5
6

7
8
9
10
11
12
13
14
15
16
17
18
19

20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43


44
45
46
47
48
49
50
51
52
Description: Fix build system for Emscripten cross-compilation.
Forwarded: no
Author: Sylvain Beucler <beuc@beuc.net>
Last-Update: 2020-05-08

Index: Python-3.8.3/config.sub

===================================================================
--- Python-3.8.3.orig/config.sub
+++ Python-3.8.3/config.sub
@@ -1394,7 +1394,7 @@ case $os in
 	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
 	      | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
 	      | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \
-	      | -midnightbsd*)
+	      | -midnightbsd* | -emscripten*)
 	# Remember, each alternative MUST END IN *, to match a version number.
 		;;
 	-qnx*)
Index: Python-3.8.3/configure

===================================================================
--- Python-3.8.3.orig/configure
+++ Python-3.8.3/configure
@@ -3278,6 +3278,9 @@ then
 	*-*-vxworks*)
 	    ac_sys_system=VxWorks
 	    ;;
+	*-*-emscripten)
+		ac_sys_system=Emscripten
+		;;
 	*)
 		# for now, limit cross builds to known configurations
 		MACHDEP="unknown"
@@ -3328,6 +3331,9 @@ if test "$cross_compiling" = yes; then
 	*-*-vxworks*)
 		_host_cpu=$host_cpu
 		;;
+	*-*-emscripten)
+		ac_sys_system=Emscripten
+		;;
 	*)
 		# for now, limit cross builds to known configurations
 		MACHDEP="unknown"
Index: Python-3.8.3/config-emscripten.site


===================================================================
--- /dev/null
+++ Python-3.8.3/config-emscripten.site
@@ -0,0 +1,5 @@
+# Required by ./configure
+ac_cv_file__dev_ptmx=no
+ac_cv_file__dev_ptc=no
+# Support dynamic linking
+ac_cv_func_dlopen=yes

Changes to 3.8/python.sh.

5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright (C) 2018, 2019, 2020  Sylvain Beucler

# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.  This file is offered as-is,
# without any warranty.

VERSION=3.8.2
SCRIPTDIR=$(dirname $(readlink -f $0))
DESTDIR=${DESTDIR:-$SCRIPTDIR/destdir}
SETUPLOCAL=${SETUPLOCAL:-'/dev/null'}

CACHEROOT=$SCRIPTDIR
BUILD=$SCRIPTDIR/build
export QUILT_PATCHES=$(dirname $(readlink -f $0))/patches







|







5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright (C) 2018, 2019, 2020  Sylvain Beucler

# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.  This file is offered as-is,
# without any warranty.

VERSION=3.8.3
SCRIPTDIR=$(dirname $(readlink -f $0))
DESTDIR=${DESTDIR:-$SCRIPTDIR/destdir}
SETUPLOCAL=${SETUPLOCAL:-'/dev/null'}

CACHEROOT=$SCRIPTDIR
BUILD=$SCRIPTDIR/build
export QUILT_PATCHES=$(dirname $(readlink -f $0))/patches