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