git: 3867da03caf7 - main - devel/py-msgpack: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Apr 2023 13:41:03 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3867da03caf7539a51ec4615cb94631048e48ab9

commit 3867da03caf7539a51ec4615cb94631048e48ab9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-09 13:31:18 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-09 13:36:50 +0000

    devel/py-msgpack: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 devel/py-msgpack/Makefile | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/devel/py-msgpack/Makefile b/devel/py-msgpack/Makefile
index 2871c9284208..935a9d6a5e85 100644
--- a/devel/py-msgpack/Makefile
+++ b/devel/py-msgpack/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	msgpack
-PORTVERSION=	1.0.5 # WARNING: archivers/py-borgbackup pins the full version
-# so if upgrading msgpack, archivers/py-borgbackup will break. We need to
-# coordinate updates.
+PORTVERSION=	1.0.5
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,8 +13,12 @@ WWW=		https://msgpack.org/ \
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		python
-USE_PYTHON=	autoplist concurrent cython distutils
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cython>=0.29.30<0.30:lang/cython@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=35.0.2:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent cython pep517
 
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +