diff options
author | Rob Austein <sra@hactrn.net> | 2020-07-12 18:25:56 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2020-07-12 18:25:56 -0400 |
commit | 9e6b0d1117e21f2e6d092e337c5c522726016467 (patch) | |
tree | cc4eb37125fc6f1c3a173d5e17a0ec14ab58555f /scripts/build-debian-control-files.py | |
parent | 37329250395aa3ac724fca99bbd2de01efea10e1 (diff) |
Attempt to go Python3-only
Ubuntu 20.04 no longer really supports Python 2, so we'd have to fork
the packaging code if we wanted to keep support for Python 2
elsewhere. Given that Python 3 has been around for a more than a
decade and that Python 2 was formally EOLed more than six months ago
as of this writing, this seems like an unnecessary complication.
The biggest change is rewriting the Homebrew formula for Python 3.
Diffstat (limited to 'scripts/build-debian-control-files.py')
-rwxr-xr-x | scripts/build-debian-control-files.py | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/scripts/build-debian-control-files.py b/scripts/build-debian-control-files.py index c06055d..46958ea 100755 --- a/scripts/build-debian-control-files.py +++ b/scripts/build-debian-control-files.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import subprocess import argparse @@ -25,23 +25,18 @@ Priority: optional Standards-Version: 3.9.6 Build-Depends: debhelper (>= 9), dh-python, - python (>= 2.7), - python-yaml, + python3-yaml, python3 Homepage: http://trac.cryptech.is/wiki Package: {args.package} Architecture: any -Depends: python, - python-serial (>= 3.0), - python-tornado (>= 4.0), - python-crypto, - python3, +Depends: python3, python3-serial (>= 3.0), python3-tornado (>= 4.0), python3-crypto, ${{misc:Depends}}, - ${{python:Depends}}, + ${{python3:Depends}}, ${{shlibs:Depends}} {conflicts}\ Description: Cryptech Project open-source cryptographic software and firmware. |