From 756d1153a6310c528ee07d84b90eade1aed65104 Mon Sep 17 00:00:00 2001 From: OscarL Date: Wed, 30 Aug 2023 16:12:58 -0300 Subject: [PATCH] setuptools: update to version 68.1.2 (#9307) Drop support for Python 3.8, add it for 3.11. --- ...ptools-67.8.0.patchset => setuptools-68.1.2.patchset} | 0 ...setuptools-67.8.0.recipe => setuptools-68.1.2.recipe} | 9 ++++++--- 2 files changed, 6 insertions(+), 3 deletions(-) rename dev-python/setuptools/patches/{setuptools-67.8.0.patchset => setuptools-68.1.2.patchset} (100%) rename dev-python/setuptools/{setuptools-67.8.0.recipe => setuptools-68.1.2.recipe} (90%) diff --git a/dev-python/setuptools/patches/setuptools-67.8.0.patchset b/dev-python/setuptools/patches/setuptools-68.1.2.patchset similarity index 100% rename from dev-python/setuptools/patches/setuptools-67.8.0.patchset rename to dev-python/setuptools/patches/setuptools-68.1.2.patchset diff --git a/dev-python/setuptools/setuptools-67.8.0.recipe b/dev-python/setuptools/setuptools-68.1.2.recipe similarity index 90% rename from dev-python/setuptools/setuptools-67.8.0.recipe rename to dev-python/setuptools/setuptools-68.1.2.recipe index c6890f792..e14f009a5 100644 --- a/dev-python/setuptools/setuptools-67.8.0.recipe +++ b/dev-python/setuptools/setuptools-68.1.2.recipe @@ -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