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]
This commit is contained in:
Kai Knoblich 2021-10-26 12:08:35 +02:00
parent 831ae8547e
commit 33a4a1d205
2 changed files with 5 additions and 6 deletions

View File

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

View File

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