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.13.1
  10. PKG_RELEASE:=$(AUTORELEASE)
  11. PYPI_NAME:=djangorestframework
  12. PKG_HASH:=0c33407ce23acc68eca2a6e46424b008c9c02eceb8cf18581921d0092bc1f2ee
  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))