summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorEneas U de Queiroz <cotequeiroz@gmail.com>2019-07-09 09:12:06 -0300
committerEneas U de Queiroz <cotequeiroz@gmail.com>2019-08-12 09:06:53 -0300
commit90527d75afe1847fdddad973ca4ad988f826c8c4 (patch)
tree066d44c2cbb6d9ed153025fef56286ac17715bd5 /lang/python
parent7965dc48f54cd490452faee85ffa59d18126edd1 (diff)
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>
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/django-appconf/Makefile6
-rw-r--r--lang/python/django-compressor/Makefile6
-rw-r--r--lang/python/django-constance/Makefile6
-rw-r--r--lang/python/django-formtools/Makefile6
-rw-r--r--lang/python/django-jsonfield/Makefile6
-rw-r--r--lang/python/django-picklefield/Makefile6
-rw-r--r--lang/python/django-postoffice/Makefile6
-rw-r--r--lang/python/django-ranged-response/Makefile6
-rw-r--r--lang/python/django-restframework/Makefile6
-rw-r--r--lang/python/django-simple-captcha/Makefile6
-rw-r--r--lang/python/django-statici18n/Makefile6
-rw-r--r--lang/python/django-webpack-loader/Makefile6
-rw-r--r--lang/python/django/Makefile1
-rw-r--r--lang/python/python-package.mk1
-rw-r--r--lang/python/python3-package.mk1
15 files changed, 51 insertions, 24 deletions
diff --git a/lang/python/django-appconf/Makefile b/lang/python/django-appconf/Makefile
index e37f15848..8e81051e1 100644
--- a/lang/python/django-appconf/Makefile
+++ b/lang/python/django-appconf/Makefile
@@ -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
diff --git a/lang/python/django-compressor/Makefile b/lang/python/django-compressor/Makefile
index a4c9c4e09..6638bae69 100644
--- a/lang/python/django-compressor/Makefile
+++ b/lang/python/django-compressor/Makefile
@@ -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
diff --git a/lang/python/django-constance/Makefile b/lang/python/django-constance/Makefile
index 7a225acb7..749c0aae1 100644
--- a/lang/python/django-constance/Makefile
+++ b/lang/python/django-constance/Makefile
@@ -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
diff --git a/lang/python/django-formtools/Makefile b/lang/python/django-formtools/Makefile
index 4057bc687..445cd3446 100644
--- a/lang/python/django-formtools/Makefile
+++ b/lang/python/django-formtools/Makefile
@@ -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
diff --git a/lang/python/django-jsonfield/Makefile b/lang/python/django-jsonfield/Makefile
index ed3ffbceb..9e95d3a98 100644
--- a/lang/python/django-jsonfield/Makefile
+++ b/lang/python/django-jsonfield/Makefile
@@ -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
diff --git a/lang/python/django-picklefield/Makefile b/lang/python/django-picklefield/Makefile
index b24157b27..9a7331fc4 100644
--- a/lang/python/django-picklefield/Makefile
+++ b/lang/python/django-picklefield/Makefile
@@ -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
diff --git a/lang/python/django-postoffice/Makefile b/lang/python/django-postoffice/Makefile
index 0a0a6f167..cd8ea3dbe 100644
--- a/lang/python/django-postoffice/Makefile
+++ b/lang/python/django-postoffice/Makefile
@@ -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
diff --git a/lang/python/django-ranged-response/Makefile b/lang/python/django-ranged-response/Makefile
index 818530f59..923f5c75b 100644
--- a/lang/python/django-ranged-response/Makefile
+++ b/lang/python/django-ranged-response/Makefile
@@ -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
diff --git a/lang/python/django-restframework/Makefile b/lang/python/django-restframework/Makefile
index b699c4857..45c8d7e1f 100644
--- a/lang/python/django-restframework/Makefile
+++ b/lang/python/django-restframework/Makefile
@@ -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
diff --git a/lang/python/django-simple-captcha/Makefile b/lang/python/django-simple-captcha/Makefile
index 81d94d9ee..20b488ce8 100644
--- a/lang/python/django-simple-captcha/Makefile
+++ b/lang/python/django-simple-captcha/Makefile
@@ -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
diff --git a/lang/python/django-statici18n/Makefile b/lang/python/django-statici18n/Makefile
index 97a880596..37f073534 100644
--- a/lang/python/django-statici18n/Makefile
+++ b/lang/python/django-statici18n/Makefile
@@ -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
diff --git a/lang/python/django-webpack-loader/Makefile b/lang/python/django-webpack-loader/Makefile
index 5186ed946..72ed86799 100644
--- a/lang/python/django-webpack-loader/Makefile
+++ b/lang/python/django-webpack-loader/Makefile
@@ -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
diff --git a/lang/python/django/Makefile b/lang/python/django/Makefile
index f280d3fca..3c51c7c21 100644
--- a/lang/python/django/Makefile
+++ b/lang/python/django/Makefile
@@ -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
diff --git a/lang/python/python-package.mk b/lang/python/python-package.mk
index 272aae44f..9bd0b9aa4 100644
--- a/lang/python/python-package.mk
+++ b/lang/python/python-package.mk
@@ -45,6 +45,7 @@ define PyPackage
EXTRA_DEPENDS:=
TITLE+= (sources)
USERID:=
+ MENU:=
endef
define Package/$(1)-src/description
diff --git a/lang/python/python3-package.mk b/lang/python/python3-package.mk
index 6e163e099..e14290081 100644
--- a/lang/python/python3-package.mk
+++ b/lang/python/python3-package.mk
@@ -44,6 +44,7 @@ define Py3Package
EXTRA_DEPENDS:=
TITLE+= (sources)
USERID:=
+ MENU:=
endef
define Package/$(1)-src/description