installer: bump version

This commit is contained in:
Jerome Duval
2023-05-13 11:03:58 +02:00
parent 7e158a2da6
commit 5281899768

View File

@@ -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
}