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.

50 lines
1.3 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:=1
  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/django-restframework39/Default
  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. endef
  26. define Package/python3-django-restframework39
  27. $(call Package/django-restframework39/Default)
  28. DEPENDS:= \
  29. +PACKAGE_python3-django-restframework39:python3 \
  30. +PACKAGE_python3-django-restframework39:python3-django1
  31. CONFLICTS:=python3-django-restframework
  32. VARIANT:=python3
  33. endef
  34. define Package/python3-django-restframework39/description
  35. Web APIs for Django, made easy. (3.9 series)
  36. .
  37. (Variant for Python3)
  38. endef
  39. $(eval $(call Py3Package,python3-django-restframework39))
  40. $(eval $(call BuildPackage,python3-django-restframework39))
  41. $(eval $(call BuildPackage,python3-django-restframework39-src))