diff options
Diffstat (limited to 'lang/python/python-pycparser/patches')
| -rw-r--r-- | lang/python/python-pycparser/patches/001-use-external-ply.patch | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/lang/python/python-pycparser/patches/001-use-external-ply.patch b/lang/python/python-pycparser/patches/001-use-external-ply.patch index 96b1d0343..23c43d280 100644 --- a/lang/python/python-pycparser/patches/001-use-external-ply.patch +++ b/lang/python/python-pycparser/patches/001-use-external-ply.patch @@ -1,5 +1,3 @@ -diff --git a/pycparser/c_lexer.py b/pycparser/c_lexer.py -index cbb9d26..cbd7742 100644 --- a/pycparser/c_lexer.py +++ b/pycparser/c_lexer.py @@ -9,8 +9,8 @@ @@ -13,8 +11,6 @@ index cbb9d26..cbd7742 100644 class CLexer(object): -diff --git a/pycparser/c_parser.py b/pycparser/c_parser.py -index f4f7453..5c0ca88 100644 --- a/pycparser/c_parser.py +++ b/pycparser/c_parser.py @@ -8,7 +8,7 @@ @@ -26,14 +22,12 @@ index f4f7453..5c0ca88 100644 from . import c_ast from .c_lexer import CLexer -diff --git a/setup.py b/setup.py -index fdccbb3..036a10b 100644 --- a/setup.py +++ b/setup.py -@@ -49,7 +49,7 @@ setup( - classifiers = [ - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 3',], +@@ -60,7 +60,7 @@ setup( + 'Programming Language :: Python :: 3.6', + ], + python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", - packages=['pycparser', 'pycparser.ply'], + packages=['pycparser'], package_data={'pycparser': ['*.cfg']}, |
