aboutsummaryrefslogtreecommitdiff
path: root/audio/py-pymad/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/py-pymad/Makefile')
-rw-r--r--audio/py-pymad/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/audio/py-pymad/Makefile b/audio/py-pymad/Makefile
index b1731173ac29..cbdd8bee5e90 100644
--- a/audio/py-pymad/Makefile
+++ b/audio/py-pymad/Makefile
@@ -1,27 +1,25 @@
PORTNAME= pymad
-PORTVERSION= 0.10
-PORTREVISION= 2
+PORTVERSION= 0.11.3
CATEGORIES= audio python
-MASTER_SITES= PYPI
+MASTER_SITES= PYPI \
+ https://github.com/jaqx0r/pymad/releases/download/v${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
-COMMENT= Python wrapper for the MPEG Audio Decoder library
+COMMENT= Wrapper for the MAD (mpeg audio decoder) library
WWW= https://github.com/jaqx0r/pymad
LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools>=45:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
LIB_DEPENDS= libmad.so:audio/libmad
-USES= python
+USES= localbase python
USE_PYTHON= autoplist concurrent pep517
-do-configure:
- @cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} config_unix.py --prefix ${LOCALBASE}
-
post-install:
${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +