blob: 68502935784f4647399584eabb8dca9711958fd2 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
2# Copyright (C) 2019-2020 CZ.NIC z.s.p.o. (http://www.nic.cz/)
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7#
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=python-pyparsing
12PKG_VERSION:=3.1.1
13PKG_RELEASE:=1
14
15PYPI_NAME:=pyparsing
16PKG_HASH:=ede28a1a32462f5a9705e07aea48001a08f7cf81a021585011deba701581a0db
17
18PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
19PKG_LICENSE:=MIT
20PKG_LICENSE_FILES:=LICENSE
21
22PKG_BUILD_DEPENDS:=python-flit-core/host
23
24include ../pypi.mk
25include $(INCLUDE_DIR)/package.mk
26include ../python3-package.mk
27
28define Package/python3-pyparsing
29 SECTION:=lang
30 CATEGORY:=Languages
31 SUBMENU:=Python
32 TITLE:=Define and execute parsing grammars
33 URL:=https://github.com/pyparsing/pyparsing/
34 DEPENDS:=+python3-light
35endef
36
37define Package/python3-pyparsing/description
38 The pyparsing module is an alternative approach to creating
39 and executing simple grammars, vs. the traditional lex/yacc
40 approach, or the use of regular expressions.
41 The pyparsing module provides a library of classes that
42 client code uses to construct the grammar directly in Python code.
43endef
44
45$(eval $(call Py3Package,python3-pyparsing))
46$(eval $(call BuildPackage,python3-pyparsing))
47$(eval $(call BuildPackage,python3-pyparsing-src))