blob: 807eedaf31d715014aa41638c99f2d91315c163b (
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
27
28
29
30
31
32
|
PORTNAME= simpleaudio
DISTVERSION= 1.0.4
PORTREVISION= 1
CATEGORIES= audio
#MASTER_SITES= PYPI # no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Simple, asynchronous audio playback for Python 3
WWW= https://github.com/hamiltron/py-simple-audio
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libasound.so:audio/alsa-lib
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyaudio>0:audio/py-pyaudio@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
USES= localbase python:3.3+
USE_PYTHON= distutils autoplist pytest
USE_GITHUB= yes
GH_ACCOUNT= hamiltron
GH_PROJECT= py-simple-audio
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_WRKSRC= ${WRKSRC}/tests
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/simpleaudio/_simpleaudio${PYTHON_EXT_SUFFIX}.so
.include <bsd.port.mk>
|