summaryrefslogtreecommitdiff
path: root/www/py-cherrypy/files/patch-setup.py
blob: d06d636f7de745dbbac41507d64f207ccb51c507 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Remove contextlib2 and use contextlib from the standard library.

* Contextlib has been in the Python standard library since Python 3.2.
* Contextlib2 is a backport to Python 2 (and is supported through Python 3.7).

Obtained from: https://github.com/cherrypy/cherrypy/commit/2fc78dc9af3e

--- setup.py.orig	2021-04-22 13:05:31 UTC
+++ setup.py
@@ -66,7 +66,6 @@ params = dict(
         'portend>=2.1.1',
         'more_itertools',
         'zc.lockfile',
-        'contextlib2',
     ],
     extras_require={
         'docs': [