summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Siraut <csiraut@entrouvert.com>2020-05-14 05:23:20 (GMT)
committerChristophe Siraut <csiraut@entrouvert.com>2020-05-14 05:23:20 (GMT)
commit5cee27c77e0fa5f10741618eccd7cb975f253d03 (patch)
treee0f34762e6c6e5ca77b6ad1c864fa25eac8522e0
parent1ef27804867268dbcc1e4a7ec6acc4e7b6441a59 (diff)
downloadpython-jwcrypto-5cee27c77e0fa5f10741618eccd7cb975f253d03.zip
python-jwcrypto-5cee27c77e0fa5f10741618eccd7cb975f253d03.tar.gz
python-jwcrypto-5cee27c77e0fa5f10741618eccd7cb975f253d03.tar.bz2
debian/rules: build for python2
-rw-r--r--debian/changelog1
-rw-r--r--debian/control14
-rwxr-xr-xdebian/rules2
3 files changed, 16 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 365f92d..4cb6c92 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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
diff --git a/debian/control b/debian/control
index c7990de..5267724 100644
--- a/debian/control
+++ b/debian/control
@@ -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},
diff --git a/debian/rules b/debian/rules
index ca4109d..e0895eb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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