remove unneeded patches

This commit is contained in:
aviau 2018-09-06 14:57:48 -04:00
parent 4b8777eed0
commit 4bc829b812
No known key found for this signature in database
GPG key ID: 8F2B113C6535C5A7
4 changed files with 1 additions and 35 deletions

1
debian/changelog vendored
View file

@ -1,6 +1,7 @@
python-click (6.7+git20180829-1) UNRELEASED; urgency=medium
* New upstream snapshot.
* Remove unneeded patches.
-- Alexandre Viau <aviau@debian.org> Thu, 06 Sep 2018 14:55:26 -0400

View file

@ -1,2 +0,0 @@
sphinx1-7-support.patch
skip_test_legacy_callbacks.patch

View file

@ -1,17 +0,0 @@
Description: Temporarily skip test_legacy_callbacks
Bug: 868816
Forwarded: https://github.com/pallets/click/issues/823
Author: Alexandre Viau <aviau@debian.org>
Last-Update: 2017-07-19
--- a/tests/test_compat.py
+++ b/tests/test_compat.py
@@ -1,7 +1,7 @@
import click
-if click.__version__ >= '3.0':
+if False:
def test_legacy_callbacks(runner):
def legacy_callback(ctx, value):
return value.upper()

View file

@ -1,16 +0,0 @@
Description: Support Sphinx 1.7+
Origin: https://github.com/pallets/click/pull/991
Author: Randy Daw-Ran Liou
Applied-Upstream: https://github.com/pallets/click/pull/991
--- a/docs/clickdoctools.py
+++ b/docs/clickdoctools.py
@@ -15,7 +15,7 @@
from docutils.statemachine import ViewList
from sphinx.domains import Domain
-from sphinx.util.compat import Directive
+from docutils.parsers.rst import Directive
class EchoingStdin(object):