#!/usr/bin/make -f # See debhelper(7) (uncomment to enable). # Output every command that modifies files on the build system. #export DH_VERBOSE = 1 export PYBUILD_NAME=librosa %: dh $@ --with python3 --buildsystem=pybuild override_dh_auto_test: : #currently `import numba` fails with python3.14, so : # tests are run with python 3.13 only PYTHONPATH=. python3.13 -m pytest override_dh_auto_clean: rm -f coverage.xml docs/sg_execution_times.rst rm -rf docs/generated/ docs/auto_examples/ dh_auto_clean ########################################################## # currently sphinx doc cannot be built with debian package # as of 2026-03-04, here is the error message: ########################################################## # Traceback # ========= # # File "/usr/lib/python3/dist-packages/docutils/nodes.py", line 2769, in unknown_departure # raise NotImplementedError( # '%s departing unknown node type: %s' # % (self.__class__, node.__class__.__name__)) # NotImplementedError: departing unknown node type: imgsgnode ########################################################## # execute_after_dh_auto_build-indep: export http_proxy=127.0.0.1:9 # execute_after_dh_auto_build-indep: export https_proxy=127.0.0.1:9 # execute_after_dh_auto_build-indep: # PYTHONPATH=. python3 -m sphinx -N -bhtml \ # docs/ build/html # HTML generator # PYTHONPATH=. python3 -m sphinx -N -bman \ # docs/ build/man # Manpage generator