diff options
author | Peter Stadler <peter.stadler@student.uibk.ac.at> | 2019-10-27 23:57:27 +0100 |
---|---|---|
committer | Peter Stadler <peter.stadler@student.uibk.ac.at> | 2019-11-01 01:57:31 +0100 |
commit | d5a478bbe88ba1fbb0b045f8a2b76afe730468bd (patch) | |
tree | a7c3e3fb09076424ef135595ab4945befe18920e | |
parent | 5329e65e4697801a05c3725bc78cb8e4691abd98 (diff) |
drf-nested-routers: add python3 package
This is a dependency of the etesync-server and uses the rest framework of django.
Edit: Remove runtests and add dependencies on python3-django and python3-light.
Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
-rw-r--r-- | lang/python/python3-drf-nested-routers/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/lang/python/python3-drf-nested-routers/Makefile b/lang/python/python3-drf-nested-routers/Makefile new file mode 100644 index 000000000..9b7d02ce5 --- /dev/null +++ b/lang/python/python3-drf-nested-routers/Makefile @@ -0,0 +1,39 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=drf-nested-routers +PKG_VERSION:=0.91 +PKG_RELEASE:=1 + +PYPI_NAME:=drf-nested-routers +PKG_HASH:=46e5c3abc15c782cafafd7d75028e8f9121bbc6228e3599bbb48a3daa4585034 + +PKG_LICENSE:=Apache-2.0 +PKG_LICENSE_FILES:=LICENSE +PKG_MAINTAINER:=Peter Stadler <peter.stadler@student.uibk.ac.at> + +include ../pypi.mk +include $(INCLUDE_DIR)/package.mk +include ../python3-package.mk + +define Package/python3-drf-nested-routers + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=Nested resources for the Django Rest Framework + URL:=https://github.com/alanjds/drf-nested-routers + DEPENDS:=+python3-django-restframework +python3-django +python3-light + VARIANT:=python3 +endef + +define Package/python3-drf-nested-routers/description + Nested resources for the Django Rest Framework +endef + +define Py3Package/python3-drf-nested-routers/filespec ++|$(PYTHON3_PKG_DIR) +-|$(PYTHON3_PKG_DIR)/rest_framework_nested/runtests +endef + +$(eval $(call Py3Package,python3-drf-nested-routers)) +$(eval $(call BuildPackage,python3-drf-nested-routers)) +$(eval $(call BuildPackage,python3-drf-nested-routers-src)) |