diff --git a/dev-python/packaging/packaging-21.3.recipe b/dev-python/packaging/packaging-23.0.recipe similarity index 73% rename from dev-python/packaging/packaging-21.3.recipe rename to dev-python/packaging/packaging-23.0.recipe index 38cbc4a86..82f9ecce9 100644 --- a/dev-python/packaging/packaging-21.3.recipe +++ b/dev-python/packaging/packaging-23.0.recipe @@ -4,9 +4,9 @@ version handling, specifiers, markers, requirements, tags, utilities." HOMEPAGE="https://pypi.python.org/pypi/packaging" COPYRIGHT="2014-2021 Donald Stufft and individual contributors" LICENSE="Apache v2" -REVISION="3" +REVISION="1" SOURCE_URI="https://pypi.io/packages/source/${portName:0:1}/$portName/$portName-$portVersion.tar.gz" -CHECKSUM_SHA256="dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb" +CHECKSUM_SHA256="b6ad297f8907de0fa2fe1ccbd26fdaf387f5f47c7275fedf8cce89f99446cf97" ARCHITECTURES="any" @@ -32,11 +32,11 @@ eval "PROVIDES_${pythonPackage}=\"\ REQUIRES_$pythonPackage=\"\ haiku\n\ cmd:python$pythonVersion\n\ - pyparsing_$pythonPackage\n\ - six_$pythonPackage\ \"" BUILD_REQUIRES="$BUILD_REQUIRES - setuptools_$pythonPackage" + build_$pythonPackage + flit_core_$pythonPackage + installer_$pythonPackage" BUILD_PREREQUIRES="$BUILD_PREREQUIRES cmd:python$pythonVersion" done @@ -48,14 +48,10 @@ INSTALL() pythonVersion=${PYTHON_VERSIONS[$i]} python=python$pythonVersion - installLocation=$prefix/lib/$python/vendor-packages/ - export PYTHONPATH=$installLocation:$PYTHONPATH - mkdir -p $installLocation - rm -rf build - $python setup.py build install \ - --root=/ --prefix=$prefix + $python -m build -wn + $python -m installer --prefix=$prefix dist/*.whl - packageEntries $pythonPackage \ + packageEntries ${PYTHON_PACKAGES[i]} \ $prefix/lib/python* done }