From 52818997681fe92a50d054cb40b7334a94c3aaf0 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sat, 13 May 2023 11:03:58 +0200 Subject: [PATCH] installer: bump version --- ...er-0.5.1.recipe => installer-0.7.0.recipe} | 25 +++++++------------ 1 file changed, 9 insertions(+), 16 deletions(-) rename dev-python/installer/{installer-0.5.1.recipe => installer-0.7.0.recipe} (63%) diff --git a/dev-python/installer/installer-0.5.1.recipe b/dev-python/installer/installer-0.7.0.recipe similarity index 63% rename from dev-python/installer/installer-0.5.1.recipe rename to dev-python/installer/installer-0.7.0.recipe index f31b5466b..9335a8b9f 100644 --- a/dev-python/installer/installer-0.5.1.recipe +++ b/dev-python/installer/installer-0.7.0.recipe @@ -10,11 +10,10 @@ wheels. HOMEPAGE="https://pypi.org/project/installer/" COPYRIGHT="2020 Pradyun Gedam" LICENSE="MIT" -REVISION="2" -pypiVersion="74/b7/9187323cd732840f1cddd6a9f05961406636b50c799eef37c920b63110c0" -SOURCE_URI="https://files.pythonhosted.org/packages/$pypiVersion/installer-$portVersion.tar.gz" -CHECKSUM_SHA256="f970995ec2bb815e2fdaf7977b26b2091e1e386f0f42eafd5ac811953dc5d445" -PATCHES="1a3a7d208fd48446de3d35e5c640378dc1dfd437.patch" +REVISION="1" +SOURCE_URI="https://pypi.io/packages/source/i/installer/installer-$portVersion.tar.gz" +CHECKSUM_SHA256="a26d3e3116289bb08216e0d0f7d925fcef0b0194eedfa0c944bcaaa106c4b631" +PATCHES="installer-$portVersion.patchset" ARCHITECTURES="any" @@ -42,7 +41,7 @@ REQUIRES_$pythonPackage=\"\ cmd:python$pythonVersion\ \"" BUILD_REQUIRES="$BUILD_REQUIRES - setuptools_$pythonPackage" + build_$pythonPackage" BUILD_PREREQUIRES="$BUILD_PREREQUIRES cmd:python$pythonVersion" done @@ -50,18 +49,12 @@ done INSTALL() { for i in "${!PYTHON_PACKAGES[@]}"; do - pythonPackage=${PYTHON_PACKAGES[i]} - pythonVersion=${PYTHON_VERSIONS[$i]} + python=python${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 --skip-dependency-check + PYTHONPATH=src $python -m installer --prefix=$prefix dist/*.whl - packageEntries $pythonPackage \ + packageEntries ${PYTHON_PACKAGES[i]} \ $prefix/lib/python* done }