git: 82df1dd37d2f - main - devel/py-cbor2: Modernize with pep517 build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Oct 2024 06:02:59 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=82df1dd37d2f8b841c4c0c121aa28d51fdc4f582
commit 82df1dd37d2f8b841c4c0c121aa28d51fdc4f582
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-10-11 05:54:10 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-10-11 05:54:10 +0000
devel/py-cbor2: Modernize with pep517 build
- Adopt port as I have consumers
---
devel/py-cbor2/Makefile | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/devel/py-cbor2/Makefile b/devel/py-cbor2/Makefile
index c994dcb868d3..c89971825a6f 100644
--- a/devel/py-cbor2/Makefile
+++ b/devel/py-cbor2/Makefile
@@ -1,23 +1,26 @@
PORTNAME= cbor2
-PORTVERSION= 5.6.5
+DISTVERSION= 5.6.5
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= bofh@FreeBSD.org
COMMENT= Pure Python CBOR (de)serializer with extensive tag support
WWW= https://pypi.org/project/cbor2/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.4:devel/py-setuptools-scm@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.4:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cbor>0:devel/py-cbor@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}objgraph>0:devel/py-objgraph@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs