git: 39c2b49e0166 - main - devel/py-bitstring: update to 4.1.0

From: Sofian Brabez <sbz_at_FreeBSD.org>
Date: Mon, 24 Jun 2024 22:13:10 UTC
The branch main has been updated by sbz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=39c2b49e01661695765ea5f5d1853cf4a9c85f4f

commit 39c2b49e01661695765ea5f5d1853cf4a9c85f4f
Author:     Sofian Brabez <sbz@FreeBSD.org>
AuthorDate: 2024-06-24 21:25:46 +0000
Commit:     Sofian Brabez <sbz@FreeBSD.org>
CommitDate: 2024-06-24 22:13:05 +0000

    devel/py-bitstring: update to 4.1.0
---
 devel/py-bitstring/Makefile | 12 ++++++++----
 devel/py-bitstring/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/devel/py-bitstring/Makefile b/devel/py-bitstring/Makefile
index 88003ba79441..7d540e84f69a 100644
--- a/devel/py-bitstring/Makefile
+++ b/devel/py-bitstring/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	bitstring
-PORTVERSION=	3.1.9
+PORTVERSION=	4.1.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +12,14 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
-PORTDOCS=	PKG-INFO README.rst release_notes.txt
+PORTDOCS=	PKG-INFO README.md release_notes.txt
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}bitarray>=0:devel/py-bitarray@${PY_FLAVOR}
 
 OPTIONS_DEFINE=	DOCS
 NO_ARCH=	yes
@@ -25,6 +29,6 @@ post-install-DOCS-on:
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 do-test:
-	@(cd ${WRKSRC}/test && ${PYTHON_CMD} -c 'import unittest, test_${PORTNAME}; unittest.main(test_${PORTNAME})')
+	@(cd ${WRKSRC}/tests && ${PYTHON_CMD} -c 'import unittest, test_${PORTNAME}; unittest.main(test_${PORTNAME})')
 
 .include <bsd.port.mk>
diff --git a/devel/py-bitstring/distinfo b/devel/py-bitstring/distinfo
index 79956c79c8ab..53f8c39efe40 100644
--- a/devel/py-bitstring/distinfo
+++ b/devel/py-bitstring/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1633119537
-SHA256 (bitstring-3.1.9.tar.gz) = a5848a3f63111785224dca8bb4c0a75b62ecdef56a042c8d6be74b16f7e860e7
-SIZE (bitstring-3.1.9.tar.gz) = 198509
+TIMESTAMP = 1719264861
+SHA256 (bitstring-4.1.0.tar.gz) = b1672fb31721dbb6c809e76a3a19ac76a608e1f8fcacce9349ae2b72b1917b20
+SIZE (bitstring-4.1.0.tar.gz) = 227045