git: 9146c8d55cdf - main - audio/py-pyacoustid: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Mar 2024 14:59:45 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9146c8d55cdfd6dcd78e6506b3e858ec905596fb
commit 9146c8d55cdfd6dcd78e6506b3e858ec905596fb
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:20:32 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:31:02 +0000
audio/py-pyacoustid: Convert to USE_PYTHON=pep517
- Add LICENSE_FILE
- Bump PORTREVISION for package change
---
audio/py-pyacoustid/Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/audio/py-pyacoustid/Makefile b/audio/py-pyacoustid/Makefile
index 94c0eebdbf44..d0785a3973a3 100644
--- a/audio/py-pyacoustid/Makefile
+++ b/audio/py-pyacoustid/Makefile
@@ -1,5 +1,6 @@
PORTNAME= pyacoustid
PORTVERSION= 1.3.0
+PORTREVISION= 1
CATEGORIES= audio python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -9,13 +10,16 @@ COMMENT= Bindings for Chromaprint acoustic fingerprinting and the Acoustid API
WWW= https://github.com/beetbox/pyacoustid
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
LIB_DEPENDS= libchromaprint.so:audio/chromaprint
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}audioread>=0:audio/py-audioread@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes