You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
993 B

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=python-ubus
  9. PKG_VERSION:=0.1.1
  10. PKG_RELEASE:=$(AUTORELEASE)
  11. PYPI_NAME:=ubus
  12. PKG_HASH:=7e57bda989bc35b48c7075d03ec2818226e722bbf1bde138d7e7ea26d462682a
  13. PKG_MAINTAINER:=Erik Larsson <who+openwrt@cnackers.org>
  14. PKG_LICENSE:=LGPL-2.1-or-later
  15. PKG_LICENSE_FILES:=LICENSE
  16. include ../pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python3-package.mk
  19. define Package/python3-ubus
  20. SUBMENU:=Python
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. TITLE:=Python3 ubus
  24. URL:=https://gitlab.nic.cz/turris/python-ubus/
  25. DEPENDS:=+libubus +libblobmsg-json +python3-light
  26. endef
  27. define Package/python3-ubus/description
  28. Python bindings for ubus.
  29. endef
  30. $(eval $(call Py3Package,python3-ubus))
  31. $(eval $(call BuildPackage,python3-ubus))
  32. $(eval $(call BuildPackage,python3-ubus-src))