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

  1. #
  2. # Copyright (C) 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-toml
  9. PKG_VERSION:=0.10.2
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=toml
  12. PKG_HASH:=b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f
  13. PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
  14. PKG_LICENSE:=MIT
  15. PKG_LICENSE_FILES:=LICENSE
  16. include ../pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python3-package.mk
  19. define Package/python3-toml
  20. SUBMENU:=Python
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. TITLE:=A Python library for parsing and creating TOML
  24. URL:=https://github.com/uiri/toml
  25. DEPENDS:= +python3-light +python3-decimal
  26. endef
  27. define Package/python3-toml/description
  28. Python Library for Tom's Obvious, Minimal Language
  29. endef
  30. $(eval $(call Py3Package,python3-toml))
  31. $(eval $(call BuildPackage,python3-toml))
  32. $(eval $(call BuildPackage,python3-toml-src))