git: 2b88f6d332ef - main - devel/py-semver: Update to 3.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 27 Apr 2023 15:53:12 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2b88f6d332eff4103e3f35db9a0860f232f9018c

commit 2b88f6d332eff4103e3f35db9a0860f232f9018c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-27 15:46:17 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-27 15:46:17 +0000

    devel/py-semver: Update to 3.0.0
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/python-semver/python-semver/releases
---
 devel/py-semver/Makefile | 11 ++++++++---
 devel/py-semver/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/devel/py-semver/Makefile b/devel/py-semver/Makefile
index 79b08a6e009f..1d63516a72c8 100644
--- a/devel/py-semver/Makefile
+++ b/devel/py-semver/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	semver
-PORTVERSION=	2.13.0
+PORTVERSION=	3.0.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +11,13 @@ WWW=		https://github.com/python-semver/python-semver
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		python:3.6+
-USE_PYTHON=	autoplist concurrent distutils
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}build>=0:devel/py-build@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/devel/py-semver/distinfo b/devel/py-semver/distinfo
index f1c96fb6639b..294435f29b0d 100644
--- a/devel/py-semver/distinfo
+++ b/devel/py-semver/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1604480746
-SHA256 (semver-2.13.0.tar.gz) = fa0fe2722ee1c3f57eac478820c3a5ae2f624af8264cbdf9000c980ff7f75e3f
-SIZE (semver-2.13.0.tar.gz) = 45816
+TIMESTAMP = 1682354528
+SHA256 (semver-3.0.0.tar.gz) = 94df43924c4521ec7d307fc86da1531db6c2c33d9d5cdc3e64cca0eb68569269
+SIZE (semver-3.0.0.tar.gz) = 204359