HomePhabricator
Diffusion Scap dd89f026e3ab

Little bit of debian/control cleanup to prep for py3 transition

Authored by demon on Mar 14 2018, 4:40 PM.

Description

Little bit of debian/control cleanup to prep for py3 transition

Summary:
Based on https://gerrit.wikimedia.org/r/#/c/387544/ where conftool supported both python 2 and 3, let's do a little bit of work to cleanup our debian setup.

  • Move X-Python-Version to the top section
  • Denote that this is a python2 version of the package
  • Newlines everywhere for legibility
  • Add ${shlibs:Depends}
  • Breaks and and Provides sections
  • Bump python-all minimum version to 2.7
  • Swap architecture from all to any

Todo:

  • Rename package to python-conftool?
  • Can we use dh_python to handle the dependency list for us rather than duplicating?
  • Can we use entry_points in setup.py and drop bin/scap?

Test Plan: Untested

Reviewers: mmodell, Release-Engineering-Team

Reviewed By: mmodell, Release-Engineering-Team

Tags: Release-Engineering-Team

Differential Revision: https://phabricator.wikimedia.org/D979

Details