| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.20 2022/10/07 03:54:06 gutteridge Exp $ | | 1 | # $NetBSD: Makefile,v 1.21 2022/10/07 22:09:31 gutteridge Exp $ |
2 | | | 2 | |
3 | VERSION= 8.1.0 | | 3 | VERSION= 8.1.0 |
4 | DISTNAME= music21-noCorpus-${VERSION} | | 4 | DISTNAME= music21-noCorpus-${VERSION} |
5 | PKGNAME= ${PYPKGPREFIX}-music21-${VERSION} | | 5 | PKGNAME= ${PYPKGPREFIX}-music21-${VERSION} |
6 | CATEGORIES= audio python | | 6 | CATEGORIES= audio python |
7 | MASTER_SITES= ${MASTER_SITE_GITHUB:=cuthbertLab/} | | 7 | MASTER_SITES= ${MASTER_SITE_GITHUB:=cuthbertLab/} |
8 | GITHUB_PROJECT= music21 | | 8 | GITHUB_PROJECT= music21 |
9 | GITHUB_RELEASE= v${VERSION} | | 9 | GITHUB_RELEASE= v${VERSION} |
10 | | | 10 | |
11 | MAINTAINER= gutteridge@NetBSD.org | | 11 | MAINTAINER= gutteridge@NetBSD.org |
12 | HOMEPAGE= https://github.com/cuthbertLab/music21 | | 12 | HOMEPAGE= https://github.com/cuthbertLab/music21 |
13 | COMMENT= Python toolkit for computer-aided musical analysis | | 13 | COMMENT= Python toolkit for computer-aided musical analysis |
14 | LICENSE= modified-bsd | | 14 | LICENSE= modified-bsd |
| @@ -22,18 +22,22 @@ DEPENDS+= ${PYPKGPREFIX}-scipy-[0-9]*:.. | | | @@ -22,18 +22,22 @@ DEPENDS+= ${PYPKGPREFIX}-scipy-[0-9]*:.. |
22 | DEPENDS+= ${PYPKGPREFIX}-Levenshtein-[0-9]*:../../textproc/py-Levenshtein | | 22 | DEPENDS+= ${PYPKGPREFIX}-Levenshtein-[0-9]*:../../textproc/py-Levenshtein |
23 | DEPENDS+= ${PYPKGPREFIX}-jsonpickle-[0-9]*:../../textproc/py-jsonpickle | | 23 | DEPENDS+= ${PYPKGPREFIX}-jsonpickle-[0-9]*:../../textproc/py-jsonpickle |
24 | DEPENDS+= ${PYPKGPREFIX}-webcolors>=1.11:../../www/py-webcolors | | 24 | DEPENDS+= ${PYPKGPREFIX}-webcolors>=1.11:../../www/py-webcolors |
25 | | | 25 | |
26 | # Many tests will fail because they depend on the score files that | | 26 | # Many tests will fail because they depend on the score files that |
27 | # are part of the full music21 distribution. | | 27 | # are part of the full music21 distribution. |
28 | TEST_DEPENDS+= ${PYPKGPREFIX}-guppy3-[0-9]*:../../devel/py-guppy3 | | 28 | TEST_DEPENDS+= ${PYPKGPREFIX}-guppy3-[0-9]*:../../devel/py-guppy3 |
29 | | | 29 | |
30 | USE_LANGUAGES= # none | | 30 | USE_LANGUAGES= # none |
31 | | | 31 | |
32 | # This package now only supports >= 3.8. (Same with its scipy dependency.) | | 32 | # This package now only supports >= 3.8. (Same with its scipy dependency.) |
33 | PYTHON_VERSIONS_INCOMPATIBLE= 27 37 | | 33 | PYTHON_VERSIONS_INCOMPATIBLE= 27 37 |
34 | | | 34 | |
| | | 35 | # NB lilypond must be installed in order to run the full test suite. |
| | | 36 | do-test: |
| | | 37 | PYTHONPATH=${WRKSRC} ${PYTHONBIN} -c 'from music21.test.testSingleCoreAll import ciMain as ci; ci()' |
| | | 38 | |
35 | .include "options.mk" | | 39 | .include "options.mk" |
36 | | | 40 | |
37 | .include "../../lang/python/wheel.mk" | | 41 | .include "../../lang/python/wheel.mk" |
38 | .include "../../math/py-numpy/buildlink3.mk" | | 42 | .include "../../math/py-numpy/buildlink3.mk" |
39 | .include "../../mk/bsd.pkg.mk" | | 43 | .include "../../mk/bsd.pkg.mk" |