Codebase list libseccomp / a1f32dd
Build python bindings. Closes: #810712 Felix Geyer 6 years ago
5 changed file(s) with 40 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
44 * Refresh parisc patch.
55 * Move libseccomp2 back to /usr/lib. (Closes: #894988)
66 * Make test failures cause the build to fail. (Closes: 877901)
7 * Build python bindings. (Closes: #810712)
78
89 -- Felix Geyer <fgeyer@debian.org> Wed, 18 Apr 2018 19:13:12 +0200
910
22 Priority: optional
33 Maintainer: Kees Cook <kees@debian.org>
44 Uploaders: Luca Bruno <lucab@debian.org>
5 Build-Depends: debhelper (>= 9), dh-autoreconf, linux-libc-dev
5 Build-Depends: debhelper (>= 9), dh-autoreconf, linux-libc-dev, dh-python, python-all-dev, python3-all-dev, cython, cython3
66 Standards-Version: 3.9.7
77 Homepage: https://github.com/seccomp/libseccomp
88 Vcs-Git: https://anonscm.debian.org/git/collab-maint/libseccomp.git
4141 Provides helper tools for interacting with libseccomp. Currently, only
4242 a single tool exists, providing a way to easily enumerate syscalls across
4343 the supported architectures.
44
45 Package: python-seccomp
46 Architecture: linux-any
47 Multi-Arch: same
48 Section: python
49 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
50 Description: high level interface to Linux seccomp filter (Python 2 bindings)
51 This library provides a high level interface to constructing, analyzing
52 and installing seccomp filters via a BPF passed to the Linux Kernel's
53 prctl() syscall.
54
55 Package: python3-seccomp
56 Architecture: linux-any
57 Multi-Arch: same
58 Section: python
59 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}
60 Description: high level interface to Linux seccomp filter (Python 3 bindings)
61 This library provides a high level interface to constructing, analyzing
62 and installing seccomp filters via a BPF passed to the Linux Kernel's
63 prctl() syscall.
0 usr/lib/python2.*/site-packages/seccomp.so
0 usr/lib/python3.*/site-packages/seccomp.cpython-*.so
88 export V=1
99
1010 %:
11 dh $@ --parallel --with autoreconf
11 dh $@ --parallel --with autoreconf,python2,python3
12
13 override_dh_auto_configure:
14 dh_auto_configure -- --enable-python
15
16 override_dh_auto_build:
17 dh_auto_build
18 set -e && for pyver in `py3versions -s`; do \
19 dh_auto_build --sourcedirectory=src/python -- PYTHON=$$pyver; \
20 done
21
22 override_dh_auto_install:
23 dh_auto_install
24 set -e && for pyver in `py3versions -s`; do \
25 dh_auto_install --sourcedirectory=src/python -- PYTHON=$$pyver; \
26 done
1227
1328 override_dh_auto_clean:
1429 dh_auto_clean