mirror of
https://github.com/openwrt/packages.git
synced 2025-12-23 14:34:32 +04:00
python-packages: Clean up Makefiles
This removes: * Python 3 variants (VARIANT:=python3) * "for Python3" from package titles * Package selection condition from package dependencies, e.g. +PACKAGE_python3-six:python3-light replaced with +python3-light * "Default" package information sections, e.g. Package/python-six/Default removed and package details merged into Package/python3-six * "(Variant for Python3)" from package descriptions Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=django1
|
||||
PKG_VERSION:=1.11.29
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PYPI_NAME:=Django
|
||||
PKG_HASH:=4200aefb6678019a0acf0005cd14cfce3a5e6b9b90d06145fcdd2e474ad4329c
|
||||
@@ -34,17 +34,14 @@ endef
|
||||
define Package/python3-django1
|
||||
$(call Package/django1/Default)
|
||||
DEPENDS:= \
|
||||
+PACKAGE_python3-django1:python3 \
|
||||
+PACKAGE_python3-django1:python3-pytz \
|
||||
+PACKAGE_python3-django1:python-django1-common
|
||||
VARIANT:=python3
|
||||
+python3 \
|
||||
+python3-pytz \
|
||||
+python-django1-common
|
||||
PROVIDES:=django
|
||||
endef
|
||||
|
||||
define Package/python3-django1/description
|
||||
The web framework for perfectionists with deadlines (LTS 1.11 series).
|
||||
.
|
||||
(Variant for Python3)
|
||||
endef
|
||||
|
||||
define Package/python-django1-common
|
||||
|
||||
Reference in New Issue
Block a user