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.

36 lines
1016 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.1
  7. PKG_RELEASE:=1
  8. PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz>
  9. PKG_SOURCE_URL:=https://codeload.github.com/keleshev/schema/tar.gz/v$(PKG_VERSION)?
  10. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  11. PKG_HASH:=0edc47b343450c116dd67267b6951b43916b2e6893e896da1eefb7a69ef7c83d
  12. PKG_BUILD_DIR:=$(BUILD_DIR)/schema-$(PKG_VERSION)
  13. include $(INCLUDE_DIR)/package.mk
  14. include ../python3-package.mk
  15. define Package/python3-schema
  16. SECTION:=lang
  17. CATEGORY:=Languages
  18. SUBMENU:=Python
  19. URL:=https://github.com/keleshev/schema
  20. TITLE:=python3-schema
  21. DEPENDS:=+python3-light +python3-contextlib2
  22. VARIANT:=python3
  23. endef
  24. define Package/python3-schema/description
  25. Schema validation just got Pythonic
  26. endef
  27. $(eval $(call Py3Package,python3-schema))
  28. $(eval $(call BuildPackage,python3-schema))
  29. $(eval $(call BuildPackage,python3-schema-src))