diff options
| author | Erik Larsson <who+github@cnackers.org> | 2021-02-01 10:38:26 +0100 |
|---|---|---|
| committer | Josef Schlehofer <pepe.schlehofer@gmail.com> | 2021-02-09 03:20:17 +0100 |
| commit | f8e15596fc2acf627748ccea21a40fd78dc295c6 (patch) | |
| tree | a376a0d48bb429de6f06ce4acc6b34a474a83cdc /lang/python/python-ubus | |
| parent | bee40286e99acc7e6bf3386fbb59a0ceaf6595aa (diff) | |
python-ubus: add package
Python bindings for ubus.
Signed-off-by: Erik Larsson <who+github@cnackers.org>
Diffstat (limited to 'lang/python/python-ubus')
| -rw-r--r-- | lang/python/python-ubus/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/lang/python/python-ubus/Makefile b/lang/python/python-ubus/Makefile new file mode 100644 index 000000000..c980399fd --- /dev/null +++ b/lang/python/python-ubus/Makefile @@ -0,0 +1,40 @@ +# +# 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.1 +PKG_RELEASE:=$(AUTORELEASE) + +PYPI_NAME:=ubus +PKG_HASH:=7e57bda989bc35b48c7075d03ec2818226e722bbf1bde138d7e7ea26d462682a + +PKG_MAINTAINER:=Erik Larsson <who+openwrt@cnackers.org> +PKG_LICENSE:=LGPL-2.1-or-later +PKG_LICENSE_FILES:=LICENSE + +include ../pypi.mk +include $(INCLUDE_DIR)/package.mk +include ../python3-package.mk + +define Package/python3-ubus + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=Python3 ubus + 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)) |
