| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
export PYBUILD_NAMEscip-debian debian lmfit-py 1.3.4-1 lmfit-py/rules/PYBUILD_NAME.=lmfit |
| 8 |
|
| 9 |
export PYBUILD_BEFORE_TESTscip-debian debian lmfit-py 1.3.4-1 lmfit-py/rules/PYBUILD_BEFORE_TEST.=cp -r NIST_STRD examples {build_dir} |
| 10 |
export PYBUILD_AFTER_TESTscip-debian debian lmfit-py 1.3.4-1 lmfit-py/rules/PYBUILD_AFTER_TEST.=rm -fr {build_dir}/NIST_STRD {build_dir}/examples; find {build_dir} -name "*.sav" -delete |
| 11 |
|
| 12 |
export MPLCONFIGDIRscip-debian debian lmfit-py 1.3.4-1 lmfit-py/rules/MPLCONFIGDIR.=/var/tmp |
| 13 |
|
| 14 |
%scip-debian debian lmfit-py 1.3.4-1 lmfit-py/rules/`%`().: |
| 15 |
dh $@ --buildsystem=pybuild |
| 16 |
|
| 17 |
override_dh_cleanscip-debian debian lmfit-py 1.3.4-1 lmfit-py/rules/override_dh_clean().: |
| 18 |
find . -name "*.pickle" -delete |
| 19 |
rm -rf doc/examples |
| 20 |
dh_cleanscip-debian debian debhelper . dh_clean(). |
| 21 |
|
| 22 |
override_dh_installdocs-indepscip-debian debian lmfit-py 1.3.4-1 lmfit-py/rules/override_dh_installdocs-indep().: |
| 23 |
mv examples/example_emcee_Model_interface.py examples/nodoc_example_emcee_Model_interface.py |
| 24 |
cp doc/sphinx/ext_mathjax.py doc/extensions.py |
| 25 |
PYTHONPATH=. http_proxy='localhost' python3 -m sphinx -N -bhtml -D mathjax_path="/usr/share/javascript/mathjax/MathJax.js" doc/ .pybuild/html # HTML generator |
| 26 |
rm doc/extensions.py |
| 27 |
mv examples/nodoc_example_emcee_Model_interface.py examples/example_emcee_Model_interface.py |
| 28 |
dh_installdocsscip-debian debian debhelper . dh_installdocs(). -i |
| 29 |
dh_installdocsscip-debian debian debhelper . dh_installdocs(). .pybuild/html -p python-lmfit-doc --doc-main-package=python3-lmfit |
| 30 |
|
| 31 |
execute_before_dh_python3scip-debian debian lmfit-py 1.3.4-1 lmfit-py/rules/execute_before_dh_python3().: |
| 32 |
rm -rf debian/python3-lmfit/usr/lib/python3*/dist-packages/htmlcov debian/python3-lmfit/usr/lib/python3*/dist-packages/.coverage |