blob: 41d9973c25c2cfa4b4d655f3a6261df059b789ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#
# Copyright (C) 2018-2020 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=python-ubus
PKG_VERSION:=0.1.3
PKG_RELEASE:=1
PYPI_NAME:=ubus
PKG_HASH:=e737ae171b38836c26bc3e50e9c468afd47d9cc8bc01f33a5b569a05e1d8567f
PKG_MAINTAINER:=Erik Larsson <who+openwrt@cnackers.org>
PKG_LICENSE:=LGPL-2.1-or-later
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=python-setuptools/host
PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-ubus
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
TITLE:=libubus bindings
URL:=https://gitlab.nic.cz/turris/python-ubus/
DEPENDS:=+libubus +libblobmsg-json +python3-light
endef
define Package/python3-ubus/description
Python bindings for ubus.
endef
$(eval $(call Py3Package,python3-ubus))
$(eval $(call BuildPackage,python3-ubus))
$(eval $(call BuildPackage,python3-ubus-src))
|