git: 49540e2bf14b - main - devel/py-setuptools_scm: Update to 6.3.2 [1]

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Fri, 12 Nov 2021 11:28:36 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=49540e2bf14bd4553e050ca2663e06c2a50c80aa

commit 49540e2bf14bd4553e050ca2663e06c2a50c80aa
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2021-11-12 11:16:32 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2021-11-12 11:16:32 +0000

    devel/py-setuptools_scm: Update to 6.3.2 [1]
    
    * Sort variables and use WRKSRC instead TEST_WRKSRC as the latter should
      be only used if it differs from WRKSRC. [1]
    
    * Exclude some tests that require a more recent version of
      devel/py-virtualenv for now.
    
    Changelog since 5.0.2:
    
    https://github.com/pypa/setuptools_scm/blob/v6.3.2/CHANGELOG.rst
    
    PR:             259445
    Reported by:    sunpoet [1]
    MFH:            No (feature release with new dependencies)
---
 devel/py-setuptools_scm/Makefile | 19 ++++++++++++-------
 devel/py-setuptools_scm/distinfo |  6 +++---
 2 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/devel/py-setuptools_scm/Makefile b/devel/py-setuptools_scm/Makefile
index df64a57ba8ba..597e30454b64 100644
--- a/devel/py-setuptools_scm/Makefile
+++ b/devel/py-setuptools_scm/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	setuptools_scm
-PORTVERSION=	5.0.2
+PORTVERSION=	6.3.2
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,10 +10,11 @@ COMMENT=	Setuptools plugin to manage your versions by scm tags
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \
-		git:devel/git \
-		${PY_MERCURIAL}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}packaging>=20.0:devel/py-packaging@${PY_FLAVOR}
+TEST_DEPENDS=	git:devel/git \
+		${PY_MERCURIAL} \
+		${PYTHON_PKGNAMEPREFIX}pip>=0:devel/py-pip@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
 
 USES=		python:3.6+
 USE_PYTHON=	autoplist distutils
@@ -28,9 +29,13 @@ OPTIONS_DEFINE=		TOML
 OPTIONS_DEFAULT=	TOML
 
 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}
+TOML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tomli>=1.0.0:textproc/py-tomli@${PY_FLAVOR}
+
+# Skip integration tests that require a more recent version of py-virtualenv
+post-extract:
+	@${MV} ${WRKSRC}/testing/test_setuptools_support.py ${WRKSRC}/testing/test_setuptools_support.py.dist
 
 do-test:
-	@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
+	@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
 
 .include <bsd.port.mk>
diff --git a/devel/py-setuptools_scm/distinfo b/devel/py-setuptools_scm/distinfo
index 715ab4cad441..ebca578164e8 100644
--- a/devel/py-setuptools_scm/distinfo
+++ b/devel/py-setuptools_scm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1634646880
-SHA256 (setuptools_scm-5.0.2.tar.gz) = 83a0cedd3449e3946307811a4c7b9d89c4b5fd464a2fb5eeccd0a5bb158ae5c8
-SIZE (setuptools_scm-5.0.2.tar.gz) = 52273
+TIMESTAMP = 1631813313
+SHA256 (setuptools_scm-6.3.2.tar.gz) = a49aa8081eeb3514eb9728fa5040f2eaa962d6c6f4ec9c32f6c1fba88f88a0f2
+SIZE (setuptools_scm-6.3.2.tar.gz) = 57207