File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,15 @@ BUILD_NUMBER=custom
33
33
MACOSX_DEPLOYMENT_TARGET =10.8
34
34
35
35
# Version of packages that will be compiled by this meta-package
36
+ # PYTHON_VERSION is the full version number (e.g., 3.10.0b3)
37
+ # PYTHON_MICRO_VERSION is the full version number, without any alpha/beta/rc suffix. (e.g., 3.10.0)
38
+ # PYTHON_VER is the major/minor version (e.g., 3.10)
36
39
PYTHON_VERSION =3.9.4
40
+ PYTHON_MICRO_VERSION =$(shell echo $(PYTHON_VERSION ) | grep -Eo "\d+\.\d+\.\d+")
37
41
PYTHON_VER =$(basename $(PYTHON_VERSION ) )
38
42
39
43
OPENSSL_VERSION_NUMBER =1.1.1
40
- OPENSSL_REVISION =i
44
+ OPENSSL_REVISION =j
41
45
OPENSSL_VERSION =$(OPENSSL_VERSION_NUMBER )$(OPENSSL_REVISION )
42
46
43
47
BZIP2_VERSION =1.0.8
@@ -175,7 +179,7 @@ clean-Python:
175
179
# Download original Python source code archive.
176
180
downloads/Python-$(PYTHON_VERSION ) .tgz :
177
181
mkdir -p downloads
178
- 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
182
+ if [ ! -e downloads/Python-$( PYTHON_VERSION) .tgz ]; then curl -L https://www.python.org/ftp/python/$( PYTHON_MICRO_VERSION ) /Python-$( PYTHON_VERSION) .tgz > downloads/Python-$( PYTHON_VERSION) .tgz; fi
179
183
180
184
# Some Python targets needed to identify the host build
181
185
PYTHON_DIR-macOS =build/macOS/Python-$(PYTHON_VERSION ) -macOS
You can’t perform that action at this time.
0 commit comments