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.

44 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2007-2016 OpenWrt.org
  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:=django-jsonfield
  9. PKG_VERSION:=2.1.1
  10. PKG_RELEASE:=2
  11. PYPI_NAME:=jsonfield
  12. PKG_HASH:=ed7c5e1829e9453e24a8bebef1e702ffe402e6def6b326f0e0b88764c59a6dc7
  13. PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
  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-django-jsonfield
  20. SUBMENU:=Python
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. TITLE:=A reusable Django field to store validated JSON in models
  24. URL:=https://github.com/rpkilby/jsonfield
  25. DEPENDS:= \
  26. +python3 \
  27. +python3-django1 \
  28. +python3-six
  29. endef
  30. define Package/python3-django-jsonfield/description
  31. jsonfield is a reusable model field that allows you to store validated
  32. JSON, automatically handling serialization to and from the database.
  33. endef
  34. $(eval $(call Py3Package,python3-django-jsonfield))
  35. $(eval $(call BuildPackage,python3-django-jsonfield))
  36. $(eval $(call BuildPackage,python3-django-jsonfield-src))