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:
Jeffery To
2020-04-22 01:27:50 +08:00
parent 124b966b3f
commit 2210c4a60d
137 changed files with 372 additions and 975 deletions

View File

@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=gunicorn
PKG_VERSION:=20.0.4
PKG_RELEASE:=1
PKG_RELEASE:=2
PYPI_NAME:=$(PKG_NAME)
PKG_HASH:=1904bb2b8a43658807108d59c3f3d56c2b6121a701161de0ddf9ad140073c626
@@ -34,13 +34,10 @@ define Package/python3-gunicorn
$(call Package/gunicorn/Default)
TITLE:=WSGI HTTP Server for UNIX (library)
DEPENDS:=+python3
VARIANT:=python3
endef
define Package/python3-gunicorn/description
WSGI HTTP Server for UNIX (libraries)
.
(Variant for Python3)
endef
# Make sure that the binaries are not installed with the libraries
@@ -56,8 +53,6 @@ endef
define Package/gunicorn3/description
WSGI HTTP Server for UNIX (daemon)
.
(Variant for Python3)
endef
define Package/gunicorn3/install