Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 export JAVA_HOMEscip-debian debian jpy 2.1.0-2 jpy/rules/JAVA_HOME.=/usr/lib/jvm/default-java
3 export DH_VERBOSEscip-debian debian jpy 2.1.0-2 jpy/rules/DH_VERBOSE.=1
4
5 PY3VERSscip-debian debian jpy 2.1.0-2 jpy/rules/PY3VERS.:=$(shellscip-debian debian jpy 2.1.0-2 jpy/rules/shell. py3versions -r)
6
7 export PYBUILD_NAMEscip-debian debian jpy 2.1.0-2 jpy/rules/PYBUILD_NAME.=jpy
8 %scip-debian debian jpy 2.1.0-2 jpy/rules/`%`().:
9 dh $@ --with python3 --buildsystem=pybuild
10
11 build-python%scip-debian debian jpy 2.1.0-2 jpy/rules/`build-python%`().:
12 python$* setup.py build
13
14 override_dh_auto_buildscip-debian debian jpy 2.1.0-2 jpy/rules/override_dh_auto_build().: $(PYTHON3scip-debian debian jpy 2.1.0-2 jpy/rules/PYTHON3.:%=build-python%)
15 dh_auto_buildscip-debian debian debhelper . dh_auto_build().
16
17 execute_after_dh_cleanscip-debian debian jpy 2.1.0-2 jpy/rules/execute_after_dh_clean().:
18 rm -f setup.out
19
20 override_dh_auto_testscip-debian debian jpy 2.1.0-2 jpy/rules/override_dh_auto_test().:
21 @echo "Tests disabled: pybuild gets paths wrong."
22
23 override_dh_auto_installscip-debian debian jpy 2.1.0-2 jpy/rules/override_dh_auto_install().:
24 for p in $(PY3VERSscip-debian debian jpy 2.1.0-2 jpy/rules/PY3VERS.) ; do \
25 $$p setup.py install --root=$(CURDIRscip-debian debian jpy 2.1.0-2 jpy/rules/CURDIR.)/debian/tmp --install-layout=deb ; \
26 done
27 dh_auto_installscip-debian debian debhelper . dh_auto_install().
28 find . -name '*.so' -exec chrpath -d {} \;
29 # Strip build path; the libs will exist under /usr, not debian/tmp
30 find . -name 'jpyconfig.properties' -exec sed -i -e 's,$(CURDIRscip-debian debian jpy 2.1.0-2 jpy/rules/CURDIR.)/debian/tmp,,g' {} \;