$(call Package/$(PKG_NAME)/Default)
DEPENDS:= \
+PACKAGE_python-$(PKG_NAME):python \
- +PACKAGE_python-$(PKG_NAME):python-django
+ python-django
VARIANT:=python
+ MDEPENDS:=python-django
endef
define Package/python-$(PKG_NAME)/description
$(call Package/$(PKG_NAME)/Default)
DEPENDS:= \
+PACKAGE_python3-$(PKG_NAME):python3 \
- +PACKAGE_python3-$(PKG_NAME):python3-django
+ python3-django
VARIANT:=python3
+ MDEPENDS:=python3-django
endef
define Package/python3-$(PKG_NAME)/description
$(call Package/$(PKG_NAME)/Default)
DEPENDS:= \
+PACKAGE_python-$(PKG_NAME):python \
- +PACKAGE_python-$(PKG_NAME):python-django \
+ python-django \
+PACKAGE_python-$(PKG_NAME):python-django-appconf \
+PACKAGE_python-$(PKG_NAME):python-rcssmin
VARIANT:=python
+ MDEPENDS:=python-django
endef
define Package/python-$(PKG_NAME)/description
$(call Package/$(PKG_NAME)/Default)
DEPENDS:= \
+PACKAGE_python3-$(PKG_NAME):python3 \
- +PACKAGE_python3-$(PKG_NAME):python3-django \
+ python3-django \
+PACKAGE_python3-$(PKG_NAME):python3-django-appconf \
+PACKAGE_python3-$(PKG_NAME):python3-rcssmin
VARIANT:=python3
+ MDEPENDS:=python3-django
endef
define Package/python3-$(PKG_NAME)/description
$(call Package/python-django-constance/Default)
DEPENDS:= \
+PACKAGE_python-django-constance:python \
- +PACKAGE_python-django-constance:python-django
+ python-django
VARIANT:=python
+ MDEPENDS:=python-django
endef
define Package/python-django-constance/description
$(call Package/python-django-constance/Default)
DEPENDS:= \
+PACKAGE_python3-django-constance:python3 \
- +PACKAGE_python3-django-constance:python3-django
+ python3-django
VARIANT:=python3
+ MDEPENDS:=python3-django
endef
define Package/python3-django-constance/description
$(call Package/$(PKG_NAME)/Default)
DEPENDS:= \
+PACKAGE_python-$(PKG_NAME):python \
- +PACKAGE_python-$(PKG_NAME):python-django
+ python-django
VARIANT:=python
+ MDEPENDS:=python-django
endef
define Package/python-$(PKG_NAME)/description
$(call Package/$(PKG_NAME)/Default)
DEPENDS:= \
+PACKAGE_python3-$(PKG_NAME):python3 \
- +PACKAGE_python3-$(PKG_NAME):python3-django
+ python3-django
VARIANT:=python3
+ MDEPENDS:=python3-django
endef
define Package/python3-$(PKG_NAME)/description
$(call Package/$(PKG_NAME)/Default)
DEPENDS:= \
+PACKAGE_python-$(PKG_NAME):python \
- +PACKAGE_python-$(PKG_NAME):python-django
+ python-django
VARIANT:=python
+ MDEPENDS:=python-django
endef
define Package/python-$(PKG_NAME)/description
$(call Package/$(PKG_NAME)/Default)
DEPENDS:= \
+PACKAGE_python3-$(PKG_NAME):python3 \
- +PACKAGE_python3-$(PKG_NAME):python3-django
+ python3-django
VARIANT:=python3
+ MDEPENDS:=python3-django
endef
define Package/python3-$(PKG_NAME)/description
$(call Package/$(PKG_NAME)/Default)
DEPENDS:= \
+PACKAGE_python-$(PKG_NAME):python \
- +PACKAGE_python-$(PKG_NAME):python-django
+ python-django
VARIANT:=python
+ MDEPENDS:=python-django
endef
define Package/python-$(PKG_NAME)/description
$(call Package/$(PKG_NAME)/Default)
DEPENDS:= \
+PACKAGE_python3-$(PKG_NAME):python3 \
- +PACKAGE_python3-$(PKG_NAME):python3-django
+ python3-django
VARIANT:=python3
+ MDEPENDS:=python3-django
endef
define Package/python3-$(PKG_NAME)/description
$(call Package/$(PKG_NAME)/Default)
DEPENDS:= \
+PACKAGE_python-$(PKG_NAME):python \
- +PACKAGE_python-$(PKG_NAME):python-django \
+ python-django \
+PACKAGE_python-$(PKG_NAME):python-django-jsonfield
VARIANT:=python
+ MDEPENDS:=python-django
endef
define Package/python-$(PKG_NAME)/description
$(call Package/$(PKG_NAME)/Default)
DEPENDS:= \
+PACKAGE_python3-$(PKG_NAME):python3 \
- +PACKAGE_python3-$(PKG_NAME):python3-django \
+ python3-django \
+PACKAGE_python3-$(PKG_NAME):python3-django-jsonfield
VARIANT:=python3
+ MDEPENDS:=python3-django
endef
define Package/python3-$(PKG_NAME)/description
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
+include ../python3-package.mk
define Package/django-ranged-response
SUBMENU:=Python
CATEGORY:=Languages
TITLE:=Add Content-Range: to FileResponse
URL:=https://github.com/wearespindle/django-ranged-fileresponse
- DEPENDS:=+python +python-django
+endef
+
+define Package/python-$(PKG_NAME)
+$(call Package/$(PKG_NAME)/Default)
+ DEPENDS:= \
+ +PACKAGE_python-$(PKG_NAME):python \
+ python-django
VARIANT:=python
+ MDEPENDS:=python-django
endef
define Package/django-ranged-response/description
Modified Django FileResponse that adds Content-Range headers.
endef
-$(eval $(call PyPackage,django-ranged-response))
-$(eval $(call BuildPackage,django-ranged-response))
-$(eval $(call BuildPackage,django-ranged-response-src))
+define Package/python3-$(PKG_NAME)
+$(call Package/$(PKG_NAME)/Default)
+ DEPENDS:= \
+ +PACKAGE_python3-$(PKG_NAME):python3 \
+ python3-django
+ VARIANT:=python3
+ MDEPENDS:=python3-django
+
+define Package/python3-$(PKG_NAME)/description
+$(call define Package/python-$(PKG_NAME)/description)
+.
+(Variant for Python3)
+endef
+
+$(eval $(call PyPackage,python-$(PKG_NAME)))
+$(eval $(call BuildPackage,python-$(PKG_NAME)))
+$(eval $(call BuildPackage,python-$(PKG_NAME)-src))
+
+$(eval $(call Py3Package,python3-$(PKG_NAME)))
+$(eval $(call BuildPackage,python3-$(PKG_NAME)))
+$(eval $(call BuildPackage,python3-$(PKG_NAME)-src))
$(call Package/$(PKG_NAME)/Default)
DEPENDS:= \
+PACKAGE_python-$(PKG_NAME):python \
- +PACKAGE_python-$(PKG_NAME):python-django
+ python-django
VARIANT:=python
+ MDEPENDS:=python-django
endef
define Package/python-$(PKG_NAME)/description
$(call Package/$(PKG_NAME)/Default)
DEPENDS:= \
+PACKAGE_python3-$(PKG_NAME):python3 \
- +PACKAGE_python3-$(PKG_NAME):python3-django
+ python3-django
VARIANT:=python3
+ MDEPENDS:=python3-django
endef
define Package/python3-$(PKG_NAME)/description
DEPENDS:= \
+PACKAGE_python-$(PKG_NAME):python \
+PACKAGE_python-$(PKG_NAME):python-six \
- +PACKAGE_python-$(PKG_NAME):python-django \
+ python-django \
+PACKAGE_python-$(PKG_NAME):python-pillow \
+PACKAGE_python-$(PKG_NAME):python-django-ranged-response
VARIANT:=python
+ MDEPENDS:=python-django
endef
define Package/python-$(PKG_NAME)/description
DEPENDS:= \
+PACKAGE_python3-$(PKG_NAME):python3 \
+PACKAGE_python3-$(PKG_NAME):python3-six \
- +PACKAGE_python3-$(PKG_NAME):python3-django \
+ python3-django \
+PACKAGE_python3-$(PKG_NAME):python3-pillow \
+PACKAGE_python3-$(PKG_NAME):python3-django-ranged-response
VARIANT:=python3
+ MDEPENDS:=python3-django
endef
define Package/python3-$(PKG_NAME)/description
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
+<<<<<<< HEAD
TITLE:=A Django app that provides helper for generating JavaScript catalog to static files.
URL:=https://django-statici18n.readthedocs.org/
DEPENDS:=+python +python-django
+=======
+ TITLE:=Helper for generating JavaScript catalog to static files
+ URL:=https://$(PKG_NAME).readthedocs.io
+endef
+
+define Package/python-$(PKG_NAME)
+$(call Package/$(PKG_NAME)/Default)
+ DEPENDS:= \
+ +PACKAGE_python-$(PKG_NAME):python \
+ python-django
+ VARIANT:=python
+ MDEPENDS:=python-django
+>>>>>>> 90527d75a... django: move django* packages under django submenu
endef
define Package/django-statici18n/description
A Django app that provides helper for generating JavaScript catalog to static files.
endef
+<<<<<<< HEAD
define Build/Compile
$(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
+=======
+define Package/python3-$(PKG_NAME)
+$(call Package/$(PKG_NAME)/Default)
+ DEPENDS:= \
+ +PACKAGE_python3-$(PKG_NAME):python3 \
+ python3-django
+ VARIANT:=python3
+ MDEPENDS:=python3-django
+>>>>>>> 90527d75a... django: move django* packages under django submenu
endef
define Package/django-statici18n/install
CATEGORY:=Languages
TITLE:=Transparently use webpack in django
URL:=https://github.com/owais/django-webpack-loader
+<<<<<<< HEAD
DEPENDS:=+python +python-django
+=======
+endef
+
+define Package/python-$(PKG_NAME)
+$(call Package/$(PKG_NAME)/Default)
+ DEPENDS:= \
+ +PACKAGE_python-$(PKG_NAME):python \
+ python-django
+>>>>>>> 90527d75a... django: move django* packages under django submenu
VARIANT:=python
+ MDEPENDS:=python-django
endef
define Package/django-webpack-loader/description
Use webpack to generate your static bundles without django’s staticfiles or opaque wrappers.
endef
+<<<<<<< HEAD
$(eval $(call PyPackage,django-webpack-loader))
$(eval $(call BuildPackage,django-webpack-loader))
$(eval $(call BuildPackage,django-webpack-loader-src))
+=======
+define Package/python3-$(PKG_NAME)
+$(call Package/$(PKG_NAME)/Default)
+ DEPENDS:= \
+ +PACKAGE_python3-$(PKG_NAME):python3 \
+ python3-django
+ VARIANT:=python3
+ MDEPENDS:=python3-django
+endef
+
+define Package/python3-$(PKG_NAME)/description
+$(call define Package/python-$(PKG_NAME)/description)
+.
+(Variant for Python3)
+endef
+
+$(eval $(call PyPackage,python-$(PKG_NAME)))
+$(eval $(call BuildPackage,python-$(PKG_NAME)))
+$(eval $(call BuildPackage,python-$(PKG_NAME)-src))
+
+$(eval $(call Py3Package,python3-$(PKG_NAME)))
+$(eval $(call BuildPackage,python3-$(PKG_NAME)))
+$(eval $(call BuildPackage,python3-$(PKG_NAME)-src))
+>>>>>>> 90527d75a... django: move django* packages under django submenu
CATEGORY:=Languages
TITLE:=The web framework for perfectionists with deadlines.
URL:=https://www.djangoproject.com/
+ MENU:=1
endef
define Package/python-django
EXTRA_DEPENDS:=
TITLE+= (sources)
USERID:=
+ MENU:=
endef
define Package/$(1)-src/description
EXTRA_DEPENDS:=
TITLE+= (sources)
USERID:=
+ MENU:=
endef
define Package/$(1)-src/description