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.

34 lines
854 B

  1. # This is free software, licensed under the GNU General Public License v2.
  2. # See /LICENSE for more information.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=python-schema
  6. PKG_VERSION:=0.7.2
  7. PKG_RELEASE:=1
  8. PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz>
  9. PYPI_NAME:=schema
  10. PKG_HASH:=b536f2375b49fdf56f36279addae98bd86a8afbd58b3c32ce363c464bed5fc1c
  11. include ../pypi.mk
  12. include $(INCLUDE_DIR)/package.mk
  13. include ../python3-package.mk
  14. define Package/python3-schema
  15. SECTION:=lang
  16. CATEGORY:=Languages
  17. SUBMENU:=Python
  18. URL:=https://github.com/keleshev/schema
  19. TITLE:=python3-schema
  20. DEPENDS:=+python3-light +python3-contextlib2
  21. endef
  22. define Package/python3-schema/description
  23. Schema validation just got Pythonic
  24. endef
  25. $(eval $(call Py3Package,python3-schema))
  26. $(eval $(call BuildPackage,python3-schema))
  27. $(eval $(call BuildPackage,python3-schema-src))