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.

43 lines
1.1 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-restframework39
  9. PKG_VERSION:=3.9.4
  10. PKG_RELEASE:=2
  11. PYPI_NAME:=djangorestframework
  12. PKG_HASH:=c12869cfd83c33d579b17b3cb28a2ae7322a53c3ce85580c2a2ebe4e3f56c4fb
  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-restframework39
  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:= \
  26. +python3 \
  27. +python3-django1
  28. CONFLICTS:=python3-django-restframework
  29. endef
  30. define Package/python3-django-restframework39/description
  31. Web APIs for Django, made easy. (3.9 series)
  32. endef
  33. $(eval $(call Py3Package,python3-django-restframework39))
  34. $(eval $(call BuildPackage,python3-django-restframework39))
  35. $(eval $(call BuildPackage,python3-django-restframework39-src))