summaryrefslogtreecommitdiff
path: root/audio/py-SoundFile/Makefile
blob: d4ea1cccd4fa8eec535aca5195877f878448f534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
PORTNAME=	SoundFile
DISTVERSION=	0.12.1
PORTREVISION=	2
CATEGORIES=	audio python
MASTER_SITES=	PYPI
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	${PORTNAME:tl}-${PORTVERSION}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Audio library based on libsndfile, CFFI and NumPy
WWW=		https://github.com/bastibe/PySoundFile

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.0:devel/py-cffi@${PY_FLAVOR}
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.0:devel/py-cffi@${PY_FLAVOR} \
		${PYNUMPY} \
		${PREFIX}/lib/libsndfile.so:audio/libsndfile

USES=		python
USE_PYTHON=	distutils autoplist pytest # pkg-plist has files that are missing in autoplist

NO_ARCH=	yes

.include <bsd.port.mk>