blob: 1e7e50ae379b9595f3fefb25f2dd633794d318e4 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001include $(TOPDIR)/rules.mk
2
3PKG_NAME:=drf-nested-routers
4PKG_VERSION:=0.93.4
5PKG_RELEASE:=2
6
7PYPI_NAME:=drf-nested-routers
8PKG_HASH:=01aa556b8c08608bb74fb34f6ca065a5183f2cda4dc0478192cc17a2581d71b0
9
10PKG_MAINTAINER:=Peter Stadler <peter.stadler@student.uibk.ac.at>
11PKG_LICENSE:=Apache-2.0
12PKG_LICENSE_FILES:=LICENSE
13
14include ../pypi.mk
15include $(INCLUDE_DIR)/package.mk
16include ../python3-package.mk
17
18define 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
25endef
26
27define Package/python3-drf-nested-routers/description
28 Nested resources for the Django Rest Framework
29endef
30
31define Py3Package/python3-drf-nested-routers/filespec
32+|$(PYTHON3_PKG_DIR)
33-|$(PYTHON3_PKG_DIR)/rest_framework_nested/runtests
34endef
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))