[python3] Add a warning message for installing autoconf automake and autoconf-archive (#35548)

* [python3] Add a warning message for installing autoconf automake and autoconf-archive

* Apply suggestion
This commit is contained in:
Cheney Wang 2023-12-12 17:51:55 +08:00 committed by GitHub
parent 8308c141fd
commit 0da40a8b53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 2 deletions

View File

@ -3,6 +3,21 @@ if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic AND VCPKG_CRT_LINKAGE STREQUAL static
set(VCPKG_LIBRARY_LINKAGE static)
endif()
if(NOT VCPKG_HOST_IS_WINDOWS)
message(WARNING "${PORT} currently requires the following programs from the system package manager:
autoconf automake autoconf-archive
On Debian and Ubuntu derivatives:
sudo apt-get install autoconf automake autoconf-archive
On recent Red Hat and Fedora derivatives:
sudo dnf install autoconf automake autoconf-archive
On Arch Linux and derivatives:
sudo pacman -S autoconf automake autoconf-archive
On Alpine:
apk add autoconf automake autoconf-archive
On macOS:
brew install autoconf automake autoconf-archive\n")
endif()
string(REGEX MATCH "^([0-9]+)\\.([0-9]+)\\.([0-9]+)" PYTHON_VERSION "${VERSION}")
set(PYTHON_VERSION_MAJOR "${CMAKE_MATCH_1}")
set(PYTHON_VERSION_MINOR "${CMAKE_MATCH_2}")

View File

@ -1,7 +1,7 @@
{
"name": "python3",
"version": "3.11.5",
"port-version": 2,
"port-version": 3,
"description": "The Python programming language",
"homepage": "https://github.com/python/cpython",
"license": "Python-2.0",

View File

@ -6862,7 +6862,7 @@
},
"python3": {
"baseline": "3.11.5",
"port-version": 2
"port-version": 3
},
"qca": {
"baseline": "2.3.7",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "e6acf202b9752a04a0b9557d1ea9e4fa2f427e8d",
"version": "3.11.5",
"port-version": 3
},
{
"git-tree": "f51d67945e156a17ca72a743f04455a368e73272",
"version": "3.11.5",