summaryrefslogtreecommitdiff
path: root/lang/python/django-compressor
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/django-compressor
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/django-compressor')
-rw-r--r--lang/python/django-compressor/Makefile6
1 files changed, 4 insertions, 2 deletions
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