pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/py-music21 py-music21: add a test target



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ef22ce1475d2
branches:  trunk
changeset: 386404:ef22ce1475d2
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Fri Oct 07 22:09:31 2022 +0000

description:
py-music21: add a test target

diffstat:

 audio/py-music21/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 9194b5622ada -r ef22ce1475d2 audio/py-music21/Makefile
--- a/audio/py-music21/Makefile Fri Oct 07 20:22:56 2022 +0000
+++ b/audio/py-music21/Makefile Fri Oct 07 22:09:31 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2022/10/07 03:54:06 gutteridge Exp $
+# $NetBSD: Makefile,v 1.21 2022/10/07 22:09:31 gutteridge Exp $
 
 VERSION=       8.1.0
 DISTNAME=      music21-noCorpus-${VERSION}
@@ -32,6 +32,10 @@
 # This package now only supports >= 3.8. (Same with its scipy dependency.)
 PYTHON_VERSIONS_INCOMPATIBLE=  27 37
 
+# NB lilypond must be installed in order to run the full test suite.
+do-test:
+       PYTHONPATH=${WRKSRC} ${PYTHONBIN} -c 'from music21.test.testSingleCoreAll import ciMain as ci; ci()'
+
 .include "options.mk"
 
 .include "../../lang/python/wheel.mk"



Home | Main Index | Thread Index | Old Index