git: 7de4645580a5 - main - devel/py-exam: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 06 Jul 2024 16:28:37 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7de4645580a5225e6b432bb56b4a017af594ce36
commit 7de4645580a5225e6b432bb56b4a017af594ce36
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-06 16:11:54 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-06 16:11:54 +0000
devel/py-exam: Convert to USE_PYTHON=pep517
- Add LICENSE
- Add NO_ARCH
- Bump PORTREVISION for package change
---
devel/py-exam/Makefile | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/devel/py-exam/Makefile b/devel/py-exam/Makefile
index f6ae7b8328b2..cc39b3f73be7 100644
--- a/devel/py-exam/Makefile
+++ b/devel/py-exam/Makefile
@@ -1,5 +1,6 @@
PORTNAME= exam
PORTVERSION= 0.10.6
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -8,7 +9,14 @@ MAINTAINER= python@FreeBSD.org
COMMENT= Python toolkit for writing better tests
WWW= https://github.com/fluxx/exam
+LICENSE= MIT
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
USES= python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
.include <bsd.port.mk>