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.93.4
  4. PKG_RELEASE:=$(AUTORELEASE)
  5. PYPI_NAME:=drf-nested-routers
  6. PKG_HASH:=01aa556b8c08608bb74fb34f6ca065a5183f2cda4dc0478192cc17a2581d71b0
  7. PKG_MAINTAINER:=Peter Stadler <peter.stadler@student.uibk.ac.at>
  8. PKG_LICENSE:=Apache-2.0
  9. PKG_LICENSE_FILES:=LICENSE
  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))