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
1.0 KiB

  1. #
  2. # Copyright (C) 2007-2017 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-restframework
  9. PKG_VERSION:=3.11.0
  10. PKG_RELEASE:=3
  11. PYPI_NAME:=djangorestframework
  12. PKG_HASH:=e782087823c47a26826ee5b6fa0c542968219263fb3976ec3c31edab23a4001f
  13. PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
  14. PKG_LICENSE:=BSD-3-Clause
  15. PKG_LICENSE_FILES:=LICENSE.md
  16. include ../pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python3-package.mk
  19. define Package/python3-django-restframework
  20. SUBMENU:=Python
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. TITLE:=Web APIs for Django, made easy.
  24. URL:=https://www.django-rest-framework.org
  25. DEPENDS:=+python3 +django
  26. endef
  27. define Package/python3-django-restframework/description
  28. Web APIs for Django, made easy.
  29. endef
  30. $(eval $(call Py3Package,python3-django-restframework))
  31. $(eval $(call BuildPackage,python3-django-restframework))
  32. $(eval $(call BuildPackage,python3-django-restframework-src))