2019-10-27 23:57:27 +01:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=drf-nested-routers
|
2021-10-27 12:18:49 +02:00
|
|
|
PKG_VERSION:=0.93.4
|
treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 18:32:27 +02:00
|
|
|
PKG_RELEASE:=2
|
2019-10-27 23:57:27 +01:00
|
|
|
|
|
|
|
PYPI_NAME:=drf-nested-routers
|
2021-10-27 12:18:49 +02:00
|
|
|
PKG_HASH:=01aa556b8c08608bb74fb34f6ca065a5183f2cda4dc0478192cc17a2581d71b0
|
2019-10-27 23:57:27 +01:00
|
|
|
|
2021-10-27 12:18:49 +02:00
|
|
|
PKG_MAINTAINER:=Peter Stadler <peter.stadler@student.uibk.ac.at>
|
2019-10-27 23:57:27 +01:00
|
|
|
PKG_LICENSE:=Apache-2.0
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
|
|
|
|
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
|
2020-02-05 12:13:45 +01:00
|
|
|
DEPENDS:=+python3-django-restframework +django +python3-light
|
2019-10-27 23:57:27 +01:00
|
|
|
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))
|