Browse Source

Merge pull request #7426 from neheb/pyc

python-pycparser: Update to 2.19
lilik-openwrt-22.03
Hannu Nyman 6 years ago
committed by GitHub
parent
commit
2a7cdd265f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 15 deletions
  1. +4
    -5
      lang/python/python-pycparser/Makefile
  2. +4
    -10
      lang/python/python-pycparser/patches/001-use-external-ply.patch

+ 4
- 5
lang/python/python-pycparser/Makefile View File

@ -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_RELEASE:=2
PKG_VERSION:=2.19
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_HASH:=99a8ca03e29851d96616ad0404b4aad7d9ee16f25c9f9708a11faf2810f7b226
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/p/pycparser
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


+ 4
- 10
lang/python/python-pycparser/patches/001-use-external-ply.patch View File

@ -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(
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', 'pycparser.ply'],
+ packages=['pycparser'], + packages=['pycparser'],
package_data={'pycparser': ['*.cfg']}, package_data={'pycparser': ['*.cfg']},


Loading…
Cancel
Save