diff debian/control @ 4913:cac7e750422f stable

debian: also build with python3 We build with Python 3 along with Python 2. The binary package will contain the extension for both python version. This is to ease transition until the mercurial package in Debian uses Python 3. The documentation is still built with Python 2 because it needs Mercurial (which is currently Python 2).
author Denis Laxalde <denis.laxalde@logilab.fr>
date Fri, 11 Oct 2019 16:53:52 +0200
parents 43e9bb4de6b5
children d605cc18549d
line wrap: on
line diff
--- a/debian/control	Fri Oct 18 10:17:53 2019 +0200
+++ b/debian/control	Fri Oct 11 16:53:52 2019 +0200
@@ -9,6 +9,7 @@
 Build-Depends:
  mercurial (>= 4.5),
  python,
+ python3,
  debhelper (>= 10),
  dh-python,
  python-sphinx (>= 1.0.8),
@@ -17,12 +18,14 @@
  wget,
  sphinx-common,
 X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.6
 Homepage: https://www.mercurial-scm.org/doc/evolution/
 
 Package: mercurial-evolve
 Architecture: all
 Depends:
  ${python:Depends},
+ ${python3:Depends},
  ${misc:Depends},
  ${sphinxdoc:Depends},
  mercurial (>= 4.5),