setuptools(_scm), bump version (#8758)

This commit is contained in:
Schrijvers Luc
2023-06-01 22:37:31 +02:00
committed by GitHub
parent 14c211fd8a
commit ef2abdb5fb
5 changed files with 79 additions and 243 deletions

View File

@@ -3,11 +3,11 @@ DESCRIPTION="setuptools_scm handles managing your Python package versions \
in SCM metadata instead of declaring them as the version argument \
or in a SCM managed file."
HOMEPAGE="https://github.com/pypa/setuptools_scm"
COPYRIGHT="2015-2020 Ronny Pfannschmidt"
COPYRIGHT="2015-2022 Ronny Pfannschmidt"
LICENSE="MIT"
REVISION="4"
REVISION="1"
SOURCE_URI="https://pypi.io/packages/source/s/setuptools_scm/setuptools_scm-$portVersion.tar.gz"
CHECKSUM_SHA256="83a0cedd3449e3946307811a4c7b9d89c4b5fd464a2fb5eeccd0a5bb158ae5c8"
CHECKSUM_SHA256="6c508345a771aad7d56ebff0e70628bf2b0ec7573762be9960214730de278f27"
ARCHITECTURES="any"
@@ -25,27 +25,30 @@ BUILD_REQUIRES="
PYTHON_PACKAGES=(python38 python39 python310)
PYTHON_VERSIONS=(3.8 3.9 3.10)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}
eval "PROVIDES_${pythonPackage}=\"\
${portName}_$pythonPackage = $portVersion\n\
\"; \
REQUIRES_$pythonPackage=\"\
haiku\n\
setuptools_$pythonPackage\n\
toml_$pythonPackage\n\
cmd:git\n\
cmd:python$pythonVersion\n\
\""
BUILD_REQUIRES="$BUILD_REQUIRES
setuptools_$pythonPackage"
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
cmd:python$pythonVersion"
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}
eval "PROVIDES_${pythonPackage}=\"
${portName}_$pythonPackage = $portVersion
\""
eval "REQUIRES_$pythonPackage=\"
haiku
setuptools_$pythonPackage
toml_$pythonPackage
cmd:git
cmd:python$pythonVersion
\""
BUILD_REQUIRES="$BUILD_REQUIRES
packaging_$pythonPackage
setuptools_$pythonPackage
"
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
cmd:python$pythonVersion
"
done
INSTALL()
{
export SETUPTOOLS_SCM_PRETEND_VERSION="$portVersion"
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}