Browse Source

django: move django* packages under django submenu

This changes the python[3]-django dependencies in packages to be
non-selecting, and adds an MDEPENDS line so that the *-src packages get
placed inside the django menu as well.

Added MENU:= to the src-package definitions in python[3]-package.mk,
so it does not import that setting from the binary package.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
lilik-openwrt-22.03
Eneas U de Queiroz 6 years ago
parent
commit
90527d75af
15 changed files with 51 additions and 24 deletions
  1. +4
    -2
      lang/python/django-appconf/Makefile
  2. +4
    -2
      lang/python/django-compressor/Makefile
  3. +4
    -2
      lang/python/django-constance/Makefile
  4. +4
    -2
      lang/python/django-formtools/Makefile
  5. +4
    -2
      lang/python/django-jsonfield/Makefile
  6. +4
    -2
      lang/python/django-picklefield/Makefile
  7. +4
    -2
      lang/python/django-postoffice/Makefile
  8. +4
    -2
      lang/python/django-ranged-response/Makefile
  9. +4
    -2
      lang/python/django-restframework/Makefile
  10. +4
    -2
      lang/python/django-simple-captcha/Makefile
  11. +4
    -2
      lang/python/django-statici18n/Makefile
  12. +4
    -2
      lang/python/django-webpack-loader/Makefile
  13. +1
    -0
      lang/python/django/Makefile
  14. +1
    -0
      lang/python/python-package.mk
  15. +1
    -0
      lang/python/python3-package.mk

+ 4
- 2
lang/python/django-appconf/Makefile View File

@ -39,8 +39,9 @@ define Package/python-$(PKG_NAME)
$(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
@ -51,8 +52,9 @@ define Package/python3-$(PKG_NAME)
$(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


+ 4
- 2
lang/python/django-compressor/Makefile View File

@ -39,10 +39,11 @@ define Package/python-$(PKG_NAME)
$(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
@ -56,10 +57,11 @@ define Package/python3-$(PKG_NAME)
$(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


+ 4
- 2
lang/python/django-constance/Makefile View File

@ -37,8 +37,9 @@ define Package/python-django-constance
$(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
@ -49,8 +50,9 @@ define Package/python3-django-constance
$(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


+ 4
- 2
lang/python/django-formtools/Makefile View File

@ -37,8 +37,9 @@ define Package/python-$(PKG_NAME)
$(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
@ -50,8 +51,9 @@ define Package/python3-$(PKG_NAME)
$(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


+ 4
- 2
lang/python/django-jsonfield/Makefile View File

@ -39,8 +39,9 @@ define Package/python-$(PKG_NAME)
$(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
@ -51,8 +52,9 @@ define Package/python3-$(PKG_NAME)
$(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


+ 4
- 2
lang/python/django-picklefield/Makefile View File

@ -39,8 +39,9 @@ define Package/python-$(PKG_NAME)
$(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
@ -51,8 +52,9 @@ define Package/python3-$(PKG_NAME)
$(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


+ 4
- 2
lang/python/django-postoffice/Makefile View File

@ -39,9 +39,10 @@ define Package/python-$(PKG_NAME)
$(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
@ -53,9 +54,10 @@ define Package/python3-$(PKG_NAME)
$(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


+ 4
- 2
lang/python/django-ranged-response/Makefile View File

@ -37,8 +37,9 @@ define Package/python-$(PKG_NAME)
$(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
@ -49,8 +50,9 @@ define Package/python3-$(PKG_NAME)
$(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


+ 4
- 2
lang/python/django-restframework/Makefile View File

@ -39,8 +39,9 @@ define Package/python-$(PKG_NAME)
$(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
@ -51,8 +52,9 @@ define Package/python3-$(PKG_NAME)
$(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


+ 4
- 2
lang/python/django-simple-captcha/Makefile View File

@ -40,10 +40,11 @@ $(call Package/$(PKG_NAME)/Default)
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
@ -56,10 +57,11 @@ $(call Package/$(PKG_NAME)/Default)
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


+ 4
- 2
lang/python/django-statici18n/Makefile View File

@ -39,8 +39,9 @@ define Package/python-$(PKG_NAME)
$(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
@ -51,8 +52,9 @@ define Package/python3-$(PKG_NAME)
$(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


+ 4
- 2
lang/python/django-webpack-loader/Makefile View File

@ -37,8 +37,9 @@ define Package/python-$(PKG_NAME)
$(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
@ -49,8 +50,9 @@ define Package/python3-$(PKG_NAME)
$(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


+ 1
- 0
lang/python/django/Makefile View File

@ -35,6 +35,7 @@ define Package/django/Default
CATEGORY:=Languages
TITLE:=The web framework for perfectionists with deadlines.
URL:=https://www.djangoproject.com/
MENU:=1
endef
define Package/python-django


+ 1
- 0
lang/python/python-package.mk View File

@ -45,6 +45,7 @@ define PyPackage
EXTRA_DEPENDS:=
TITLE+= (sources)
USERID:=
MENU:=
endef
define Package/$(1)-src/description


+ 1
- 0
lang/python/python3-package.mk View File

@ -44,6 +44,7 @@ define Py3Package
EXTRA_DEPENDS:=
TITLE+= (sources)
USERID:=
MENU:=
endef
define Package/$(1)-src/description


Loading…
Cancel
Save