Merge pull request #7426 from neheb/pyc
python-pycparser: Update to 2.19
This commit is contained in:
commit
2a7cdd265f
2 changed files with 8 additions and 15 deletions
|
@ -8,13 +8,12 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=python-pycparser
|
PKG_NAME:=python-pycparser
|
||||||
PKG_VERSION:=2.18
|
PKG_VERSION:=2.19
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=pycparser-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=pycparser-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://pypi.python.org/packages/8c/2d/aad7f16146f4197a11f8e91fb81df177adcc2073d36a17b1491fd09df6ed
|
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/p/pycparser
|
||||||
PKG_HASH:=99a8ca03e29851d96616ad0404b4aad7d9ee16f25c9f9708a11faf2810f7b226
|
PKG_HASH:=a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-pycparser-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-pycparser-$(PKG_VERSION)
|
||||||
|
|
||||||
PKG_LICENSE:=BSD-3-Clause
|
PKG_LICENSE:=BSD-3-Clause
|
||||||
|
|
|
@ -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
|
--- a/pycparser/c_lexer.py
|
||||||
+++ b/pycparser/c_lexer.py
|
+++ b/pycparser/c_lexer.py
|
||||||
@@ -9,8 +9,8 @@
|
@@ -9,8 +9,8 @@
|
||||||
|
@ -13,8 +11,6 @@ index cbb9d26..cbd7742 100644
|
||||||
|
|
||||||
|
|
||||||
class CLexer(object):
|
class CLexer(object):
|
||||||
diff --git a/pycparser/c_parser.py b/pycparser/c_parser.py
|
|
||||||
index f4f7453..5c0ca88 100644
|
|
||||||
--- a/pycparser/c_parser.py
|
--- a/pycparser/c_parser.py
|
||||||
+++ b/pycparser/c_parser.py
|
+++ b/pycparser/c_parser.py
|
||||||
@@ -8,7 +8,7 @@
|
@@ -8,7 +8,7 @@
|
||||||
|
@ -26,14 +22,12 @@ index f4f7453..5c0ca88 100644
|
||||||
|
|
||||||
from . import c_ast
|
from . import c_ast
|
||||||
from .c_lexer import CLexer
|
from .c_lexer import CLexer
|
||||||
diff --git a/setup.py b/setup.py
|
|
||||||
index fdccbb3..036a10b 100644
|
|
||||||
--- a/setup.py
|
--- a/setup.py
|
||||||
+++ b/setup.py
|
+++ b/setup.py
|
||||||
@@ -49,7 +49,7 @@ setup(
|
@@ -60,7 +60,7 @@ setup(
|
||||||
classifiers = [
|
'Programming Language :: Python :: 3.6',
|
||||||
'Programming Language :: Python :: 2',
|
],
|
||||||
'Programming Language :: Python :: 3',],
|
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
|
||||||
- packages=['pycparser', 'pycparser.ply'],
|
- packages=['pycparser', 'pycparser.ply'],
|
||||||
+ packages=['pycparser'],
|
+ packages=['pycparser'],
|
||||||
package_data={'pycparser': ['*.cfg']},
|
package_data={'pycparser': ['*.cfg']},
|
||||||
|
|
Loading…
Reference in a new issue