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.

38 lines
1.1 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=drf-nested-routers
  3. PKG_VERSION:=0.92.1
  4. PKG_RELEASE:=1
  5. PYPI_NAME:=drf-nested-routers
  6. PKG_HASH:=e043fc937f94ac462a92d2d9fc9a7e55710a67164b558442adfe9634fc519c3b
  7. PKG_LICENSE:=Apache-2.0
  8. PKG_LICENSE_FILES:=LICENSE
  9. PKG_MAINTAINER:=Peter Stadler <peter.stadler@student.uibk.ac.at>
  10. include ../pypi.mk
  11. include $(INCLUDE_DIR)/package.mk
  12. include ../python3-package.mk
  13. define Package/python3-drf-nested-routers
  14. SUBMENU:=Python
  15. SECTION:=lang
  16. CATEGORY:=Languages
  17. TITLE:=Nested resources for the Django Rest Framework
  18. URL:=https://github.com/alanjds/drf-nested-routers
  19. DEPENDS:=+python3-django-restframework +django +python3-light
  20. endef
  21. define Package/python3-drf-nested-routers/description
  22. Nested resources for the Django Rest Framework
  23. endef
  24. define Py3Package/python3-drf-nested-routers/filespec
  25. +|$(PYTHON3_PKG_DIR)
  26. -|$(PYTHON3_PKG_DIR)/rest_framework_nested/runtests
  27. endef
  28. $(eval $(call Py3Package,python3-drf-nested-routers))
  29. $(eval $(call BuildPackage,python3-drf-nested-routers))
  30. $(eval $(call BuildPackage,python3-drf-nested-routers-src))