components/python/pylint/patches/02-remove-2.7-deps.patch
changeset 7002 c68461b25ddb
equal deleted inserted replaced
7001:49bc9df236c6 7002:c68461b25ddb
       
     1 Remove the references to backports.functools-lru-cache and configparser
       
     2 in pylint 2.7, until the Python backports.functools-lru-cache module is
       
     3 available in Userland/Solaris.
       
     4 
       
     5 configparser will be automatically handled via the six module.
       
     6 
       
     7 These changes will not be sent upstream (and are only temporary).
       
     8 
       
     9 --- pylint-1.6.4/pylint/__pkginfo__.py.orig	2016-09-29 13:31:06.105631780 +0000
       
    10 +++ pylint-1.6.4/pylint/__pkginfo__.py	2016-09-29 13:31:18.012770831 +0000
       
    11 @@ -23,7 +23,6 @@
       
    12  
       
    13  extras_require = {}
       
    14  extras_require[':sys_platform=="win32"'] = ['colorama']
       
    15 -extras_require[':python_version=="2.7"'] = ['configparser', 'backports.functools_lru_cache']
       
    16  
       
    17  
       
    18  license = 'GPL'
       
    19 --- pylint-1.6.4/pylint.egg-info/requires.txt.orig	2016-09-29 13:31:54.332003719 +0000
       
    20 +++ pylint-1.6.4/pylint.egg-info/requires.txt	2016-09-29 13:32:04.774966160 +0000
       
    21 @@ -2,9 +2,5 @@
       
    22  six
       
    23  isort >= 4.2.5
       
    24  
       
    25 -[:python_version=="2.7"]
       
    26 -configparser
       
    27 -backports.functools_lru_cache
       
    28 -
       
    29  [:sys_platform=="win32"]
       
    30  colorama