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
1001 B

  1. #
  2. # Copyright (C) 2018-2022 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-uci
  9. PKG_VERSION:=0.9.0
  10. PKG_RELEASE:=$(AUTORELEASE)
  11. PYPI_NAME:=pyuci
  12. PKG_HASH:=865a45d48fb5d363f1230e94fa2c5b01ae6487f02f2180b0a6f78193a70166e2
  13. PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
  14. PKG_LICENSE:=GPL-3.0-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-uci
  20. SECTION:=lang
  21. CATEGORY:=Languages
  22. SUBMENU:=Python
  23. TITLE:=Python UCI bindings
  24. URL:=https://gitlab.nic.cz/turris/pyuci/
  25. DEPENDS:=+python3-light +libuci
  26. endef
  27. define Package/python3-uci/description
  28. Python3 bindings for Unified Configuration Interface.
  29. endef
  30. $(eval $(call Py3Package,python3-uci))
  31. $(eval $(call BuildPackage,python3-uci))
  32. $(eval $(call BuildPackage,python3-uci-src))