diff options
author | Peter Wu <peter@lekensteyn.nl> | 2018-10-13 15:56:02 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-11-07 20:46:59 +0000 |
commit | e9f7bb512735aeb91a7a3a5fc05840fb2ee27d9e (patch) | |
tree | 2851b89e07fe3d7308276624ea9b3dde93103ffc /debian/rules | |
parent | 77114b721d6b8dfb085d13c83c9ef63cda4b8ec2 (diff) |
Require Python 3, drop Python 2 support
Python 3 is widely available. All major Linux distributions support it.
RHEL is covered via EPEL (which is already required for cmake3). Drop
support for Python 2 in order to reduce maintenance costs. The main
motivation is being able to simplify the tests.
CMake is updated to search for Python >= 3.4 and will fail if
unavailable (generating dissectors.c requires Python, so it is quite an
important piece to have).
The documentation is updated to reflect the Python 3.7 paths used by
Chocolatey. Tested the git-review installation instructions in Windows 7
x64 without a previous Chocolatey installation.
macOS brew now installs Python 3 (its dependencies are already installed
by python@2 for libxml2). The macOS (non-brew variant) is updated to use
the official 64-bit installer to install Python 3.
Change-Id: I80b1e36957f338e0dad1bfcc173b6418682cddba
Reviewed-on: https://code.wireshark.org/review/30192
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 3943ad9d0b..7162493bda 100755 --- a/debian/rules +++ b/debian/rules @@ -23,7 +23,7 @@ endif VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: \(.*\)-.*/\1/p') export docdir = /usr/share/doc/wireshark-doc %: - dh $@ --with python2 --buildsystem cmake --with quilt --parallel + dh $@ --with python3 --buildsystem cmake --with quilt --parallel override_dh_auto_configure: dh_auto_configure -- -DBUILD_xxx2deb=ON |