Codebase list broccoli-python / 61a9487
Add Python3 package Hilko Bengen 5 years ago
4 changed file(s) with 22 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
11 Section: python
22 Priority: optional
33 Maintainer: Hilko Bengen <bengen@debian.org>
4 Build-Depends: debhelper (>= 12~), cmake,
4 Build-Depends: debhelper (>= 12~),
55 dh-python,
6 python-dev, python3-dev,
67 libbroccoli-dev,
7 python-dev,
88 swig,
99 Standards-Version: 4.3.0
1010 Homepage: http://www.bro.org/
1414 Package: python-broccoli
1515 Architecture: any
1616 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
17 Description: Python bindings for Broccoli
17 Description: Python 2 bindings for Broccoli
1818 This package provides Python bindings for Broccoli, Bro's client
1919 communication library. In general, the bindings provide the same
2020 functionality as Broccoli's C API.
21
22 Package: python3-broccoli
23 Architecture: any
24 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}
25 Description: Python 3 bindings for Broccoli
26 This package provides Python bindings for Broccoli, Bro's client
27 communication library. In general, the bindings provide the same
28 functionality as Broccoli's C API.
55 include /usr/share/dpkg/default.mk
66
77 %:
8 dh $@ --with python2 --buildsystem cmake
8 dh $@ --with python2 --buildsystem pybuild
99
1010 override_dh_auto_configure:
11 dh_auto_configure -- -DPYTHON_EXECUTABLE=/usr/bin/python -DPY_MOD_INSTALL_DIR=$(shell python -c \
12 "import distutils.sysconfig; print (distutils.sysconfig.get_python_lib(1,0));")
11 swig -python broccoli_intern.i
12 dh_auto_configure
13
14 override_dh_clean:
15 dh_clean broccoli_intern.c
16
17 override_dh_missing:
18 dh_missing --fail-missing