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.

39 lines
1.1 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=drf-nested-routers
  3. PKG_VERSION:=0.91
  4. PKG_RELEASE:=2
  5. PYPI_NAME:=drf-nested-routers
  6. PKG_HASH:=46e5c3abc15c782cafafd7d75028e8f9121bbc6228e3599bbb48a3daa4585034
  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. VARIANT:=python3
  21. endef
  22. define Package/python3-drf-nested-routers/description
  23. Nested resources for the Django Rest Framework
  24. endef
  25. define Py3Package/python3-drf-nested-routers/filespec
  26. +|$(PYTHON3_PKG_DIR)
  27. -|$(PYTHON3_PKG_DIR)/rest_framework_nested/runtests
  28. endef
  29. $(eval $(call Py3Package,python3-drf-nested-routers))
  30. $(eval $(call BuildPackage,python3-drf-nested-routers))
  31. $(eval $(call BuildPackage,python3-drf-nested-routers-src))