Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # Should be include-links, but that somehow fails.
3 export DEBVERscip-debian debian python-apt 3.1.0 python-apt/rules/DEBVER.=$(shellscip-debian debian python-apt 3.1.0 python-apt/rules/shell. dpkg-parsechangelog | sed -n -e 's/^Version: //p')
4 export DATETIMEscip-debian debian python-apt 3.1.0 python-apt/rules/DATETIME.:=$(shellscip-debian debian python-apt 3.1.0 python-apt/rules/shell. dpkg-parsechangelog | sed -n -e 's/^Date: //p')
5 export DATE_CMDscip-debian debian python-apt 3.1.0 python-apt/rules/DATE_CMD.:=env TZ=UTC LC_ALL=C.UTF-8 date
6 export DATEscip-debian debian python-apt 3.1.0 python-apt/rules/DATE.:=$(shellscip-debian debian python-apt 3.1.0 python-apt/rules/shell. $(DATE_CMDscip-debian debian python-apt 3.1.0 python-apt/rules/DATE_CMD.) --date="$(DATETIME)" "+%b %_d %Y")
7 export TIMEscip-debian debian python-apt 3.1.0 python-apt/rules/TIME.:=$(shellscip-debian debian python-apt 3.1.0 python-apt/rules/shell. $(DATE_CMDscip-debian debian python-apt 3.1.0 python-apt/rules/DATE_CMD.) --date="$(DATETIME)" "+%H:%M:%S")
8 export DEB_CFLAGS_MAINT_APPENDscip-debian debian python-apt 3.1.0 python-apt/rules/DEB_CFLAGS_MAINT_APPEND.=-Wno-write-strings \
9 -DDATE=\""$(DATEscip-debian debian python-apt 3.1.0 python-apt/rules/DATE.)"\" \
10 -DTIME=\""$(TIMEscip-debian debian python-apt 3.1.0 python-apt/rules/TIME.)"\"
11 export DEB_BUILD_MAINT_OPTIONSscip-debian debian python-apt 3.1.0 python-apt/rules/DEB_BUILD_MAINT_OPTIONS.=hardening=+all
12 export PYBUILD_NAMEscip-debian debian python-apt 3.1.0 python-apt/rules/PYBUILD_NAME.=apt
13
14 BUILDDIR3scip-debian debian python-apt 3.1.0 python-apt/rules/BUILDDIR3. := $(shellscip-debian debian python-apt 3.1.0 python-apt/rules/shell. pybuild --print build_dir --interpreter python3)
15
16 %scip-debian debian python-apt 3.1.0 python-apt/rules/`%`().:
17 dh $@ --with python3,sphinxdoc --buildsystem=pybuild
18
19 override_dh_auto_buildscip-debian debian python-apt 3.1.0 python-apt/rules/override_dh_auto_build().:
20 dh_auto_buildscip-debian debian debhelper . dh_auto_build().
21 PYTHONPATH=$(BUILDDIR3scip-debian debian python-apt 3.1.0 python-apt/rules/BUILDDIR3.) sphinx-build doc/source build/sphinx/html
22
23 # this is nasty. instead of installing the files to one dir, overriding
24 # common ones, and then us picking out the files we want, we have to move some
25 # files from python3-apt to python-apt-common and then delete it from other
26 # packages.
27 override_dh_auto_installscip-debian debian python-apt 3.1.0 python-apt/rules/override_dh_auto_install().:
28 dh_auto_installscip-debian debian debhelper . dh_auto_install().
29 mkdir -p debian/python-apt-common/usr/share/
30 mv debian/python3-apt/usr/share/locale debian/python-apt-common/usr/share/
31 mv debian/python3-apt/usr/share/python-apt debian/python-apt-common/usr/share/
32 rmdir debian/python3-apt/usr/share
33
34 override_dh_installdocsscip-debian debian python-apt 3.1.0 python-apt/rules/override_dh_installdocs().:
35 dh_installdocsscip-debian debian debhelper . dh_installdocs(). -p python3-apt --link-doc=python3-apt
36 dh_installdocsscip-debian debian debhelper . dh_installdocs(). --remaining-packages
37
38 override_dh_stripscip-debian debian python-apt 3.1.0 python-apt/rules/override_dh_strip().:
39 dh_stripscip-debian debian debhelper . dh_strip(). -p python3-apt
40
41 override_dh_compressscip-debian debian python-apt 3.1.0 python-apt/rules/override_dh_compress().:
42 dh_compressscip-debian debian debhelper . dh_compress(). -X.js -X_static/* -X _sources/* -X_sources/*/* -X.inv
43
44 # We ignore failures on hurd, since its locking is broken
45 override_dh_auto_testscip-debian debian python-apt 3.1.0 python-apt/rules/override_dh_auto_test().: export PYBUILD_SYSTEM=custom
46 override_dh_auto_testscip-debian debian python-apt 3.1.0 python-apt/rules/override_dh_auto_test().: export PYBUILD_TEST_ARGS=env PYTHONPATH={build_dir} {interpreter} tests/test_all.py
47 override_dh_auto_testscip-debian debian python-apt 3.1.0 python-apt/rules/override_dh_auto_test().:
48 dh_auto_testscip-debian debian debhelper . dh_auto_test(). || [ "$(DEB_BUILD_ARCH_OSscip-debian debian python-apt 3.1.0 python-apt/rules/DEB_BUILD_ARCH_OS.)" = "hurd" ];