2015-11-16 09:09:14 +00:00
|
|
|
#
|
2018-01-10 16:00:57 +00:00
|
|
|
# Copyright (C) 2015-2018 OpenWrt.org
|
2015-11-16 09:09:14 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2017-07-04 19:39:22 +00:00
|
|
|
PKG_NAME:=python-pycparser
|
2020-03-16 14:46:25 +00:00
|
|
|
PKG_VERSION:=2.20
|
2020-08-30 22:29:44 +00:00
|
|
|
PKG_RELEASE:=5
|
2015-11-16 09:09:14 +00:00
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
PYPI_NAME:=pycparser
|
2020-03-16 14:46:25 +00:00
|
|
|
PKG_HASH:=2d475327684562c3a96cc71adf7dc8c4f0565175cf86b6d7a404ff4c771f15f0
|
2019-02-20 07:19:26 +00:00
|
|
|
|
2015-11-16 09:09:14 +00:00
|
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
|
|
|
|
|
2020-08-15 06:33:30 +00:00
|
|
|
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=ply # ply==3.10
|
2018-01-10 16:00:57 +00:00
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
include ../pypi.mk
|
2015-11-16 09:09:14 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2018-01-10 07:56:52 +00:00
|
|
|
include ../python3-package.mk
|
2017-01-31 16:02:23 +00:00
|
|
|
|
2020-04-21 17:27:50 +00:00
|
|
|
define Package/python3-pycparser
|
2017-01-31 16:02:23 +00:00
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
SUBMENU:=Python
|
2019-02-20 07:19:26 +00:00
|
|
|
TITLE:=C parser in Python
|
2017-01-31 16:02:23 +00:00
|
|
|
URL:=https://github.com/eliben/pycparser
|
2019-02-20 07:19:26 +00:00
|
|
|
DEPENDS:= \
|
2020-04-21 17:27:50 +00:00
|
|
|
+python3-light \
|
|
|
|
+python3-ply
|
2015-11-16 09:09:14 +00:00
|
|
|
endef
|
|
|
|
|
2020-04-01 14:21:16 +00:00
|
|
|
define Package/python3-pycparser/description
|
2015-11-16 09:09:14 +00:00
|
|
|
pycparser is a parser for the C language, written in pure Python. It is a
|
|
|
|
module designed to be easily integrated into applications that need to parse
|
|
|
|
C source code.
|
|
|
|
endef
|
|
|
|
|
2017-01-31 16:02:23 +00:00
|
|
|
$(eval $(call Py3Package,python3-pycparser))
|
|
|
|
$(eval $(call BuildPackage,python3-pycparser))
|
2018-01-14 14:38:54 +00:00
|
|
|
$(eval $(call BuildPackage,python3-pycparser-src))
|