debian: build a python3 module
This commit is contained in:
parent
d853bca95d
commit
795635bb51
|
@ -2,9 +2,8 @@ Source: python-authentic2-gnm
|
|||
Maintainer: Frédéric Péters <fpeters@entrouvert.com>
|
||||
Section: python
|
||||
Priority: optional
|
||||
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.7), debhelper (>= 7.4.3)
|
||||
Build-Depends: python-setuptools, python3-setuptools, python-all, python3-all, debhelper (>= 9), dh-python
|
||||
Standards-Version: 3.9.1
|
||||
X-Python-Version: >= 2.7
|
||||
|
||||
Package: python-authentic2-gnm
|
||||
Architecture: all
|
||||
|
@ -12,3 +11,10 @@ Depends: ${misc:Depends}, python-authentic2
|
|||
Description: GNM plugin for Authentic
|
||||
Extension module for authentic with various developments that are
|
||||
at the moment at least specific to the GNM project.
|
||||
|
||||
Package: python3-authentic2-gnm
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, python3-authentic2
|
||||
Description: GNM plugin for Authentic (Python 3)
|
||||
Extension module for authentic with various developments that are
|
||||
at the moment at least specific to the GNM project.
|
||||
|
|
|
@ -1,4 +1,13 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
export PYBUILD_NAME=authentic2-gnm
|
||||
|
||||
%:
|
||||
dh $@ --with python2 --buildsystem=python_distutils
|
||||
dh $@ --with python2,python3 --buildsystem=pybuild
|
||||
|
||||
override_dh_auto_test:
|
||||
|
||||
override_dh_install:
|
||||
dh_install
|
||||
-mkdir -p $(CURDIR)/debian/python3-authentic2-gnm/etc/authentic2-multitenant/settings.d/
|
||||
cp $(CURDIR)/debian/50gnm.py $(CURDIR)/debian/python3-authentic2-gnm/etc/authentic2-multitenant/settings.d/50gnm_3.py
|
||||
|
|
Reference in New Issue