Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 # See debhelper(7) (uncomment to enable).
4 # Output every command that modifies files on the build system.
5 #export DH_VERBOSE = 1
6
7 export PYBUILD_NAMEscip-debian debian custodian 2025.12.14-1 custodian/rules/PYBUILD_NAME.=custodian
8
9 %scip-debian debian custodian 2025.12.14-1 custodian/rules/`%`().:
10 dh $@ --with sphinxdoc --buildsystem=pybuild
11
12 # don't delete test .orig files
13 override_dh_cleanscip-debian debian custodian 2025.12.14-1 custodian/rules/override_dh_clean().:
14 dh_cleanscip-debian debian debhelper . dh_clean(). --exclude=tests/files
15
16 override_dh_auto_testscip-debian debian custodian 2025.12.14-1 custodian/rules/override_dh_auto_test().:
17 rm -rf .pybuild/tests
18 cp -r tests .pybuild
19 # pymatgen is needed for tests but
20 CUSTODIAN_TEST_DIR=$(CURDIRscip-debian debian custodian 2025.12.14-1 custodian/rules/CURDIR.)/.pybuild/tests pybuild --test --test-pytest \
21 --test-args='-k "not (test_fileman_cpscf_nseg_error or test_gdm_neg_precon_error or test_OptFF or test_first_step)"'
22
23 execute_after_dh_auto_build-indepscip-debian debian custodian 2025.12.14-1 custodian/rules/execute_after_dh_auto_build-indep().: export http_proxy=127.0.0.1:9
24 execute_after_dh_auto_build-indepscip-debian debian custodian 2025.12.14-1 custodian/rules/execute_after_dh_auto_build-indep().: export https_proxy=127.0.0.1:9
25 execute_after_dh_auto_build-indepscip-debian debian custodian 2025.12.14-1 custodian/rules/execute_after_dh_auto_build-indep().:
26 PYTHONPATH=$(shell pybuild --pyver `py3versions --default -v` --print {build_dir}) python3 -m sphinx -N -bhtml \
27 docs/ .pybuild/docs/html # HTML generator
28
29 execute_after_dh_installdocsscip-debian debian custodian 2025.12.14-1 custodian/rules/execute_after_dh_installdocs().:
30 for f in `find debian/python-custodian-doc/usr/share/doc/python-custodian-doc/html -name *.html`; do \
31 sed "s|.google-analytics.com/ga.js|privacy/ga.js|g" -i $$f; \
32 done