This repository was archived by the owner on Apr 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,13 @@ PROJECT_DIR=$(shell pwd)
4
4
BUILD_NUMBER =custom
5
5
6
6
# Version of packages that will be compiled by this meta-package
7
- PYTHON_VERSION =3.10.0
7
+ # PYTHON_VERSION is the full version number (e.g., 3.10.0b3)
8
+ # PYTHON_MICRO_VERSION is the full version number, without any alpha/beta/rc suffix. (e.g., 3.10.0)
9
+ # PYTHON_VER is the major/minor version (e.g., 3.10)
10
+ PYTHON_VERSION =3.11.0b3
11
+ PYTHON_MICRO_VERSION =$(shell echo $(PYTHON_VERSION ) | grep -Po "\d+\.\d+\.\d+")
8
12
PYTHON_VER =$(basename $(PYTHON_VERSION ) )
13
+
9
14
ARCH =$(shell uname -m)
10
15
11
16
all :
17
22
-v $(PROJECT_DIR ) /downloads:/local/downloads \
18
23
-v $(PROJECT_DIR ) /dist:/local/dist \
19
24
-v $(PROJECT_DIR ) /build:/local/build \
20
- beeware/python-linux-$(ARCH ) -support: $( PYTHON_VER )
25
+ beeware/python-linux-$(ARCH ) -support
21
26
22
27
# Clean all builds
23
28
clean :
@@ -39,7 +44,10 @@ downloads: downloads/Python-$(PYTHON_VERSION).tgz dependencies
39
44
# Download original Python source code archive.
40
45
downloads/Python-$(PYTHON_VERSION ) .tgz :
41
46
mkdir -p downloads
42
- if [ ! -e downloads/Python-$( PYTHON_VERSION) .tgz ]; then curl -L https://www.python.org/ftp/python/$( PYTHON_VERSION) /Python-$( PYTHON_VERSION) .tgz > downloads/Python-$( PYTHON_VERSION) .tgz; fi
47
+ if [ ! -e downloads/Python-$( PYTHON_VERSION) .tgz ]; then \
48
+ curl --fail -L https://www.python.org/ftp/python/$(PYTHON_MICRO_VERSION ) /Python-$(PYTHON_VERSION ) .tgz \
49
+ -o downloads/Python-$(PYTHON_VERSION ) .tgz; \
50
+ fi
43
51
44
52
build :
45
53
mkdir build
Original file line number Diff line number Diff line change 1
1
Python Linux Support
2
2
====================
3
3
4
- **This is the development version of the repository. It builds a packaged version of Python 3.10.0 **.
4
+ **This is the development version of the repository. It builds a packaged version of Python 3.11.0b3 **.
5
5
Other Python versions are available by cloning other branches of the main
6
6
repository.
7
7
@@ -35,17 +35,15 @@ This will:
35
35
applications:
36
36
37
37
* ``2to3 ``, ``pip ``, ``pydoc ``, and ``python-configure `` binaries
38
- * include files
39
38
* man pages
40
39
* Testing code
41
40
* ``idle ``
42
41
* ``tkinter ``
43
- * ``curses ``
44
42
* ``turtle ``
45
43
46
44
6. Build a tarball of the installed output.
47
45
48
46
The build products will be in the `build ` directory; the distributable tarball
49
47
will be in the `dist ` directory.
50
48
51
- .. _x86_64 : https://briefcase-support.org/python?version=3.10 &platform=linux&arch=x86_64
49
+ .. _x86_64 : https://briefcase-support.org/python?version=3.11 &platform=linux&arch=x86_64
You can’t perform that action at this time.
0 commit comments