2018-11-01 05:08:53 +00:00
|
|
|
PORTNAME= music21
|
2021-02-25 23:44:26 +00:00
|
|
|
DISTVERSION= 6.7.1
|
2018-11-01 05:08:53 +00:00
|
|
|
CATEGORIES= audio python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Toolkit for computer-aided musical analysis
|
|
|
|
|
2019-07-27 06:41:00 +00:00
|
|
|
LICENSE= BSD3CLAUSE LGPL3
|
2018-11-01 05:08:53 +00:00
|
|
|
LICENSE_COMB= multi
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${PYNUMPY} \
|
2020-09-13 19:23:53 +00:00
|
|
|
${PYTHON_PKGNAMEPREFIX}chardet>0:textproc/py-chardet@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}joblib>0:devel/py-joblib@${PY_FLAVOR} \
|
2021-02-15 04:58:54 +00:00
|
|
|
${PYTHON_PKGNAMEPREFIX}jsonpickle>0:devel/py-jsonpickle@${PY_FLAVOR} \
|
2019-07-27 06:41:00 +00:00
|
|
|
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
|
2020-09-13 19:23:53 +00:00
|
|
|
${PYTHON_PKGNAMEPREFIX}more-itertools>0:devel/py-more-itertools@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
|
2021-02-25 23:44:26 +00:00
|
|
|
${PYTHON_PKGNAMEPREFIX}webcolors>0:graphics/py-webcolors@${PY_FLAVOR} \
|
|
|
|
lilypond:print/lilypond \
|
|
|
|
mscore:audio/musescore \
|
|
|
|
xdg-open:devel/xdg-utils
|
2018-11-01 05:08:53 +00:00
|
|
|
|
2021-05-10 20:06:35 +00:00
|
|
|
USES= python:3.7+
|
2018-11-01 05:08:53 +00:00
|
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
|
2020-09-13 19:23:53 +00:00
|
|
|
NO_ARCH= yes
|
|
|
|
|
2021-02-25 23:44:26 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e " \
|
|
|
|
s|/usr/bin/lilypond|${LOCALBASE}/bin/lilypond|; \
|
|
|
|
s|/usr/bin/mscore3|${LOCALBASE}/bin/mscore|; \
|
|
|
|
s|/usr/bin/xdg-open|${LOCALBASE}/bin/xdg-open|" \
|
|
|
|
${WRKSRC}/music21/environment.py
|
|
|
|
|
2018-11-01 05:08:53 +00:00
|
|
|
.include <bsd.port.mk>
|