1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/audio/py-music21/Makefile
Thierry Thomas 1d44af5898 math/py-matplotlib: chase minimum Python version in dependent ports
Since the previous update changed USES=python from 3.6+ to 3.7+, all
dependent ports must have USES=python:3.7+ as well, otherwise it breaks
the @py36 flavor.

PR:		255347
Reported by:	sunpoet
2021-05-10 22:13:20 +02:00

39 lines
1.2 KiB
Makefile

PORTNAME= music21
DISTVERSION= 6.7.1
CATEGORIES= audio python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Toolkit for computer-aided musical analysis
LICENSE= BSD3CLAUSE LGPL3
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}chardet>0:textproc/py-chardet@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}joblib>0:devel/py-joblib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jsonpickle>0:devel/py-jsonpickle@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}more-itertools>0:devel/py-more-itertools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}webcolors>0:graphics/py-webcolors@${PY_FLAVOR} \
lilypond:print/lilypond \
mscore:audio/musescore \
xdg-open:devel/xdg-utils
USES= python:3.7+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
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
.include <bsd.port.mk>