flit_core: bump version

This commit is contained in:
Jerome Duval
2023-05-13 13:58:39 +02:00
parent c300cc4e14
commit dc2b4bab47

View File

@@ -4,10 +4,9 @@ The only public interface is the API specified by PEP 517, at ``flit_core.builda
HOMEPAGE="https://pypi.org/project/flit_core/"
COPYRIGHT="2015 Thomas Kluyver and contributors"
LICENSE="BSD (3-clause)"
REVISION="3"
pypiVersion="ad/38/80992c4cb490a05474c886850ec818276d09c0a6722bd5b43bc487818ac7"
SOURCE_URI="https://files.pythonhosted.org/packages/$pypiVersion/flit_core-$portVersion-py3-none-any.whl#noarchive"
CHECKSUM_SHA256="e454fdbf68c7036e1c7435ec7479383f9d9a1650ca5b304feb184eba1efcdcef"
REVISION="1"
SOURCE_URI="https://files.pythonhosted.org/packages/source/f/flit-core/flit_core-$portVersion.tar.gz"
CHECKSUM_SHA256="b305b30c99526df5e63d6022dd2310a0a941a187bd3884f4c8ef0418df6c39f3"
ARCHITECTURES="any"
@@ -35,26 +34,20 @@ REQUIRES_$pythonPackage=\"\
cmd:python$pythonVersion\
\""
BUILD_REQUIRES="$BUILD_REQUIRES
setuptools_$pythonPackage"
build_$pythonPackage
installer_$pythonPackage"
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
installer_$pythonPackage
cmd:python$pythonVersion"
done
INSTALL()
{
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}
python=python${PYTHON_VERSIONS[$i]}
$python -m build --wheel --no-isolation --skip-dependency-check
$python -m installer --prefix=$prefix dist/*.whl
python=python$pythonVersion
installLocation=$prefix/lib/$python/vendor-packages/
export PYTHONPATH=$installLocation:$PYTHONPATH
mkdir -p $installLocation
rm -rf build
$python -m installer -p $prefix flit_core-$portVersion-py3-none-any.whl
packageEntries $pythonPackage \
packageEntries ${PYTHON_PACKAGES[i]} \
$prefix/lib/python*
done
}