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
0 | 0 |
libseccomp (2.3.3-4) UNRELEASED; urgency=medium
|
1 | 1 |
|
|
2 |
[ Ondřej Nový ]
|
2 | 3 |
* 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.
|
3 | 12 |
|
4 | 13 |
-- Ondřej Nový <onovy@debian.org> Mon, 01 Oct 2018 10:01:47 +0200
|
5 | 14 |
|
5 | 5 |
Build-Depends: debhelper (>= 10~),
|
6 | 6 |
linux-libc-dev,
|
7 | 7 |
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>
|
12 | 14 |
Standards-Version: 3.9.7
|
13 | 15 |
Homepage: https://github.com/seccomp/libseccomp
|
14 | 16 |
Vcs-Git: https://salsa.debian.org/debian/libseccomp.git
|
5 | 5 |
|
6 | 6 |
# Enable verbose build details.
|
7 | 7 |
export V=1
|
|
8 |
|
|
9 |
include /usr/share/dpkg/architecture.mk
|
8 | 10 |
|
9 | 11 |
%:
|
10 | 12 |
ifeq ($(filter nopython,$(DEB_BUILD_PROFILES)),)
|
|
18 | 20 |
dh_auto_configure -- --enable-python
|
19 | 21 |
|
20 | 22 |
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
|
25 | 24 |
|
26 | 25 |
override_dh_auto_install:
|
27 | 26 |
dh_auto_install
|
28 | 27 |
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; \
|
30 | 29 |
done
|
31 | 30 |
endif
|
32 | 31 |
|