Merge pull request #14690 from neheb/p
[feed/packages.git] / lang / python / python-ubus / Makefile
1 #
2 # Copyright (C) 2018-2020 CZ.NIC, z. s. p. o. (https://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 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=python-ubus
11 PKG_VERSION:=0.1.1
12 PKG_RELEASE:=$(AUTORELEASE)
13
14 PYPI_NAME:=ubus
15 PKG_HASH:=7e57bda989bc35b48c7075d03ec2818226e722bbf1bde138d7e7ea26d462682a
16
17 PKG_MAINTAINER:=Erik Larsson <who+openwrt@cnackers.org>
18 PKG_LICENSE:=LGPL-2.1-or-later
19 PKG_LICENSE_FILES:=LICENSE
20
21 include ../pypi.mk
22 include $(INCLUDE_DIR)/package.mk
23 include ../python3-package.mk
24
25 define Package/python3-ubus
26 SUBMENU:=Python
27 SECTION:=lang
28 CATEGORY:=Languages
29 TITLE:=Python3 ubus
30 URL:=https://gitlab.nic.cz/turris/python-ubus/
31 DEPENDS:=+libubus +libblobmsg-json +python3-light
32 endef
33
34 define Package/python3-ubus/description
35 Python bindings for ubus.
36 endef
37
38 $(eval $(call Py3Package,python3-ubus))
39 $(eval $(call BuildPackage,python3-ubus))
40 $(eval $(call BuildPackage,python3-ubus-src))