git: a6df04704b76 - main - audio/py-pymad: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Mar 2024 14:59:48 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a6df04704b76f5f452174d298bfdfe43d7af7cfc
commit a6df04704b76f5f452174d298bfdfe43d7af7cfc
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:20:34 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:31:02 +0000
audio/py-pymad: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
---
audio/py-pymad/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/audio/py-pymad/Makefile b/audio/py-pymad/Makefile
index 6524083f6d30..b1731173ac29 100644
--- a/audio/py-pymad/Makefile
+++ b/audio/py-pymad/Makefile
@@ -1,6 +1,6 @@
PORTNAME= pymad
PORTVERSION= 0.10
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +12,12 @@ WWW= https://github.com/jaqx0r/pymad
LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/COPYING
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
LIB_DEPENDS= libmad.so:audio/libmad
USES= python
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
do-configure:
@cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} config_unix.py --prefix ${LOCALBASE}