aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2021-10-26 10:08:35 +0000
committerKai Knoblich <kai@FreeBSD.org>2021-11-02 11:53:57 +0000
commit5bfd0738fbe861b2a371801dbe7f12daf5d93f33 (patch)
treed0a234b9fe0c9c94a32531b0c38717f03fd81f80
parent53d9b1720e8f92aaa1ba0bc693f148ffe33ccc02 (diff)
downloadports-5bfd0738fbe861b2a371801dbe7f12daf5d93f33.tar.gz
ports-5bfd0738fbe861b2a371801dbe7f12daf5d93f33.zip
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] (cherry picked from commit 33a4a1d205bd4323d330b7cc5f39925e5b3e811c)
-rw-r--r--devel/py-setuptools_scm/Makefile5
-rw-r--r--devel/py-setuptools_scm/distinfo6
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