aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Yegor Yefremov <yegorslists@googlemail.com>2016-01-05 08:17:23 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-03 22:31:36 +0100
commit60093650c84d9b758a5919f663797fdb72fde323 (patch)
tree1481b63d4f665e136d02e04d2e2e8a26879c9a08
parentf41091176bb3e8da6cf78760b69f188e9868a259 (diff)
downloadbuildroot-60093650c84d9b758a5919f663797fdb72fde323.tar.gz
buildroot-60093650c84d9b758a5919f663797fdb72fde323.tar.bz2
python-pycparser: new package
pycparser requires C preprocessor in order to parse C related files, hence available only as host package. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/python-pycparser/python-pycparser.hash3
-rw-r--r--package/python-pycparser/python-pycparser.mk14
2 files changed, 17 insertions, 0 deletions
diff --git a/package/python-pycparser/python-pycparser.hash b/package/python-pycparser/python-pycparser.hash
new file mode 100644
index 0000000000..a87bfd44c7
--- /dev/null
+++ b/package/python-pycparser/python-pycparser.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=a2bc8d28c923b4fe2b2c3b4b51a4f935, sha256 locally computed
+md5 a2bc8d28c923b4fe2b2c3b4b51a4f935 pycparser-2.14.tar.gz
+sha256 7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73 pycparser-2.14.tar.gz
diff --git a/package/python-pycparser/python-pycparser.mk b/package/python-pycparser/python-pycparser.mk
new file mode 100644
index 0000000000..328bc8a13c
--- /dev/null
+++ b/package/python-pycparser/python-pycparser.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pycparser
+#
+################################################################################
+
+PYTHON_PYCPARSER_VERSION = 2.14
+PYTHON_PYCPARSER_SOURCE = pycparser-$(PYTHON_PYCPARSER_VERSION).tar.gz
+PYTHON_PYCPARSER_SITE = https://pypi.python.org/packages/source/p/pycparser
+PYTHON_PYCPARSER_SETUP_TYPE = setuptools
+PYTHON_PYCPARSER_LICENSE = BSD-3c
+PYTHON_PYCPARSER_LICENSE_FILES = LICENSE
+
+$(eval $(host-python-package))