From 33a4a1d205bd4323d330b7cc5f39925e5b3e811c Mon Sep 17 00:00:00 2001 From: Kai Knoblich Date: Tue, 26 Oct 2021 12:08:35 +0200 Subject: [PATCH] devel/py-setuptools_scm: Update to 5.0.2 * Use this release as an intermediate step before the port is updated to the 6.x release, because it contains mostly bugfixes and is also required for the 2021Q4 branch. The latter is necessary in order to be able to build certain ports successfully if devel/py-setuptools_scm is already present in the build environment. For instance, devel/py-platformdirs, which can be built without it but if devel/py-setuptools is already installed, it requires the 5.x release of it for build. [1] * Also adjust the description of the TOML option slightly with an appropriate warning to avoid build issues related to parsing "pyproject.toml" files during setup. [2] Changelog since 4.1.2: https://github.com/pypa/setuptools_scm/blob/v5.0.2/CHANGELOG.rst PR: 259381 [2], 259420 (both related) MFH: 2021Q4 (after 1 week) [1] --- devel/py-setuptools_scm/Makefile | 5 ++--- devel/py-setuptools_scm/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/devel/py-setuptools_scm/Makefile b/devel/py-setuptools_scm/Makefile index c3a15793cfb0..df64a57ba8ba 100644 --- a/devel/py-setuptools_scm/Makefile +++ b/devel/py-setuptools_scm/Makefile @@ -1,6 +1,5 @@ PORTNAME= setuptools_scm -PORTVERSION= 4.1.2 -PORTREVISION= 3 +PORTVERSION= 5.0.2 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -28,7 +27,7 @@ NO_ARCH= yes OPTIONS_DEFINE= TOML OPTIONS_DEFAULT= TOML -TOML_DESC= Support for parsing pyproject.toml files [PEP 517/518] +TOML_DESC= Support PEP 517/518 (Keep this enabled to avoid build errors) TOML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}toml>0:textproc/py-toml@${PY_FLAVOR} do-test: diff --git a/devel/py-setuptools_scm/distinfo b/devel/py-setuptools_scm/distinfo index 040c71318b49..715ab4cad441 100644 --- a/devel/py-setuptools_scm/distinfo +++ b/devel/py-setuptools_scm/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1598788012 -SHA256 (setuptools_scm-4.1.2.tar.gz) = a8994582e716ec690f33fec70cca0f85bd23ec974e3f783233e4879090a7faa8 -SIZE (setuptools_scm-4.1.2.tar.gz) = 48784 +TIMESTAMP = 1634646880 +SHA256 (setuptools_scm-5.0.2.tar.gz) = 83a0cedd3449e3946307811a4c7b9d89c4b5fd464a2fb5eeccd0a5bb158ae5c8 +SIZE (setuptools_scm-5.0.2.tar.gz) = 52273