Drop python2 support; Closes: #937648

This commit is contained in:
Sandro Tosi 2020-01-02 22:56:07 -05:00
parent d2af317efe
commit 3ade057230
3 changed files with 7 additions and 23 deletions

6
debian/changelog vendored
View file

@ -1,9 +1,13 @@
python-click (7.0-3) UNRELEASED; urgency=medium
[ Ondřej Nový ]
* Use debhelper-compat instead of debian/compat.
* Bump Standards-Version to 4.4.1.
-- Ondřej Nový <onovy@debian.org> Fri, 18 Oct 2019 16:34:51 +0200
[ Sandro Tosi ]
* Drop python2 support; Closes: #937648
-- Sandro Tosi <morph@debian.org> Thu, 02 Jan 2020 22:55:21 -0500
python-click (7.0-2) unstable; urgency=medium

22
debian/control vendored
View file

@ -5,17 +5,12 @@ Maintainer: Sandro Tosi <morph@debian.org>
Uploaders: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Build-Depends: debhelper-compat (= 9),
dh-python,
python-all,
python-setuptools,
python3-all,
python3-setuptools,
python3-sphinx,
python3-docutils,
python3-pallets-sphinx-themes,
Build-Depends-Indep: python-requests,
python-pytest,
python-colorama,
python3-requests,
Build-Depends-Indep: python3-requests,
python3-pytest,
python3-colorama
Standards-Version: 4.4.1
@ -24,21 +19,6 @@ Vcs-Git: https://salsa.debian.org/python-team/modules/python-click.git
Homepage: https://github.com/pallets/click
Testsuite: autopkgtest-pkg-python
Package: python-click
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}, python-colorama
Description: Wrapper around optparse for command line utilities - Python 2.7
Click is a Python package for creating beautiful command line interfaces
in a composable way with as little code as necessary. It's the "Command
Line Interface Creation Kit". It's highly configurable but comes with
sensible defaults out of the box.
.
It aims to make the process of writing command line tools quick and fun
while also preventing any frustration caused by the inability to implement
an intended CLI API.
.
This is the Python 2 compatible package.
Package: python3-click
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}, python3-colorama

2
debian/rules vendored
View file

@ -10,7 +10,7 @@ export PYBUILD_TEST_ARGS={dir}/tests/
export SOURCE = $(CURDIR)/debian/
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
override_dh_sphinxdoc:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))