Add Python3 package
Hilko Bengen
5 years ago
1 | 1 |
Section: python
|
2 | 2 |
Priority: optional
|
3 | 3 |
Maintainer: Hilko Bengen <bengen@debian.org>
|
4 | |
Build-Depends: debhelper (>= 12~), cmake,
|
|
4 |
Build-Depends: debhelper (>= 12~),
|
5 | 5 |
dh-python,
|
|
6 |
python-dev, python3-dev,
|
6 | 7 |
libbroccoli-dev,
|
7 | |
python-dev,
|
8 | 8 |
swig,
|
9 | 9 |
Standards-Version: 4.3.0
|
10 | 10 |
Homepage: http://www.bro.org/
|
|
14 | 14 |
Package: python-broccoli
|
15 | 15 |
Architecture: any
|
16 | 16 |
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
|
17 | |
Description: Python bindings for Broccoli
|
|
17 |
Description: Python 2 bindings for Broccoli
|
18 | 18 |
This package provides Python bindings for Broccoli, Bro's client
|
19 | 19 |
communication library. In general, the bindings provide the same
|
20 | 20 |
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.
|
5 | 5 |
include /usr/share/dpkg/default.mk
|
6 | 6 |
|
7 | 7 |
%:
|
8 | |
dh $@ --with python2 --buildsystem cmake
|
|
8 |
dh $@ --with python2 --buildsystem pybuild
|
9 | 9 |
|
10 | 10 |
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
|