mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-14 15:50:07 +02:00
setuptools: update to version 68.1.2 (#9307)
Drop support for Python 3.8, add it for 3.11.
This commit is contained in:
@@ -9,7 +9,7 @@ LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-$portVersion.tar.gz"
|
||||
SOURCE_FILENAME="setuptools-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="62642358adc77ffa87233bc4d2354c4b2682d214048f500964dbe760ccedf102"
|
||||
CHECKSUM_SHA256="3d4dfa6d95f1b101d695a6160a7626e15583af71a5f52176efa5d39a054d475d"
|
||||
PATCHES="setuptools-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
@@ -27,8 +27,8 @@ BUILD_REQUIRES="
|
||||
BUILD_PREREQUIRES="
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python38 python39 python310)
|
||||
PYTHON_VERSIONS=(3.8 3.9 3.10)
|
||||
PYTHON_PACKAGES=(python39 python310 python311)
|
||||
PYTHON_VERSIONS=(3.9 3.10 3.11)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
@@ -53,9 +53,12 @@ INSTALL()
|
||||
python=python$pythonVersion
|
||||
installLocation=$prefix/lib/$python/vendor-packages/
|
||||
export PYTHONPATH=$installLocation:$PYTHONPATH
|
||||
|
||||
mkdir -p $installLocation
|
||||
rm -rf build
|
||||
|
||||
export SETUPTOOLS_USE_DISTUTILS=local
|
||||
|
||||
$python setup.py build install \
|
||||
--root=/ --prefix=$prefix
|
||||
|
||||
Reference in New Issue
Block a user