Codebase list libseccomp / 3e16ede
Fix FTCBFS. * Fix FTCBFS: (Closes: #903556) + Multiarchify python Build-Depends. + Annotate cython dependencies with :native for now. + Drop noop dh_auto_build invocations. + Pass a suitable PYTHONPATH for python2. + Pass _PYTHON_SYSCONFIGDATA_NAME for python3. Felix Geyer 5 years ago
3 changed file(s) with 19 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
00 libseccomp (2.3.3-4) UNRELEASED; urgency=medium
11
2 [ Ondřej Nový ]
23 * d/copyright: Change Format URL to correct one
4
5 [ Helmut Grohne ]
6 * Fix FTCBFS: (Closes: #903556)
7 + Multiarchify python Build-Depends.
8 + Annotate cython dependencies with :native for now.
9 + Drop noop dh_auto_build invocations.
10 + Pass a suitable PYTHONPATH for python2.
11 + Pass _PYTHON_SYSCONFIGDATA_NAME for python3.
312
413 -- Ondřej Nový <onovy@debian.org> Mon, 01 Oct 2018 10:01:47 +0200
514
55 Build-Depends: debhelper (>= 10~),
66 linux-libc-dev,
77 dh-python <!nopython>,
8 python-all-dev <!nopython>,
9 python3-all-dev <!nopython>,
10 cython <!nopython>,
11 cython3 <!nopython>
8 python-all-dev:any <!nopython>,
9 libpython-all-dev <!nopython>,
10 python3-all-dev:any <!nopython>,
11 libpython3-all-dev <!nopython>,
12 cython:native <!nopython>,
13 cython3:native <!nopython>
1214 Standards-Version: 3.9.7
1315 Homepage: https://github.com/seccomp/libseccomp
1416 Vcs-Git: https://salsa.debian.org/debian/libseccomp.git
55
66 # Enable verbose build details.
77 export V=1
8
9 include /usr/share/dpkg/architecture.mk
810
911 %:
1012 ifeq ($(filter nopython,$(DEB_BUILD_PROFILES)),)
1820 dh_auto_configure -- --enable-python
1921
2022 override_dh_auto_build:
21 dh_auto_build
22 set -e && for pyver in `py3versions -s`; do \
23 dh_auto_build --sourcedirectory=src/python -- PYTHON=$$pyver; \
24 done
23 PYTHONPATH="/usr/lib/python2.7/plat-${DEB_HOST_GNU_TYPE}$${PYTHONPATH:+:$$PYTHONPATH}" dh_auto_build
2524
2625 override_dh_auto_install:
2726 dh_auto_install
2827 set -e && for pyver in `py3versions -s`; do \
29 dh_auto_install --sourcedirectory=src/python -- PYTHON=$$pyver; \
28 _PYTHON_SYSCONFIGDATA_NAME='_sysconfigdata_m_${DEB_HOST_ARCH_OS}_${DEB_HOST_MULTIARCH}' dh_auto_install --sourcedirectory=src/python -- PYTHON=$$pyver; \
3029 done
3130 endif
3231