debian/rules: build for python2

This commit is contained in:
Christophe Siraut 2020-05-14 07:23:20 +02:00
parent 1ef2780486
commit 5cee27c77e
3 changed files with 16 additions and 1 deletions

1
debian/changelog vendored
View File

@ -1,6 +1,7 @@
python-jwcrypto (0.6.0-2.1) UNRELEASED; urgency=medium
* keep .egg-info for authentic
* add target python2
-- Christophe Siraut <csiraut@entrouvert.com> Thu, 14 May 2020 07:16:48 +0200

14
debian/control vendored
View File

@ -6,15 +6,29 @@ Priority: optional
Build-Depends:
debhelper (>= 12),
dh-python,
python-all,
python3-all,
python-cryptography,
python3-cryptography,
python-nose,
python3-nose,
python-setuptools,
python3-setuptools,
Standards-Version: 4.4.0
Homepage: https://github.com/latchset/jwcrypto
Vcs-Git: https://salsa.debian.org/freeipa-team/python-jwcrypto.git
Vcs-Browser: https://salsa.debian.org/freeipa-team/python-jwcrypto
Package: python-jwcrypto
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends},
python-cryptography,
Description: Python3 implementation of JOSE Web standards
This python module implements JWK,JWS,JWE specifications using
python-cryptography.
.
This package includes the python3 version.
Package: python3-jwcrypto
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends},

2
debian/rules vendored
View File

@ -4,7 +4,7 @@
# Fri, 02 Oct 2015 09:24:49 +0300
export PYBUILD_NAME=jwcrypto
%:
dh $@ --with python3 --buildsystem=pybuild
dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_auto_install:
dh_auto_install