fwknop: init script improvements
[feed/packages.git] / lang / python / python-parsley / Makefile
1 #
2 # Copyright (C) 2015, 2017-2018 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=python-parsley
11 PKG_VERSION:=1.3
12 PKG_RELEASE:=4
13
14 PYPI_NAME:=Parsley
15 PKG_HASH:=9444278d47161d5f2be76a767809a3cbe6db4db822f46a4fd7481d4057208d41
16
17 PKG_LICENSE:=MIT
18 PKG_LICENSE_FILES:=LICENSE
19 PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
20
21 include ../pypi.mk
22 include $(INCLUDE_DIR)/package.mk
23 include ../python-package.mk
24 include ../python3-package.mk
25
26 PYTHON_PKG_SETUP_ARGS:=
27 PYTHON3_PKG_SETUP_ARGS:=
28
29 define Package/python-parsley/Default
30 SECTION:=lang
31 CATEGORY:=Languages
32 SUBMENU:=Python
33 TITLE:=Parsing and pattern matching
34 URL:=http://launchpad.net/parsley
35 endef
36
37 define Package/python-parsley
38 $(call Package/python-parsley/Default)
39 DEPENDS:=+PACKAGE_python-parsley:python-light
40 VARIANT:=python
41 endef
42
43 define Package/python3-parsley
44 $(call Package/python-parsley/Default)
45 DEPENDS:=+PACKAGE_python3-parsley:python3-light
46 VARIANT:=python3
47 endef
48
49 define Package/python-parsley/description
50 Parsing and pattern matching made easy.
51 endef
52
53 define Package/python3-parsley/description
54 $(call Package/python-parsley/description)
55 .
56 (Variant for Python3)
57 endef
58
59 $(eval $(call PyPackage,python-parsley))
60 $(eval $(call BuildPackage,python-parsley))
61 $(eval $(call BuildPackage,python-parsley-src))
62
63 $(eval $(call Py3Package,python3-parsley))
64 $(eval $(call BuildPackage,python3-parsley))
65 $(eval $(call BuildPackage,python3-parsley-src))