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

@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=python-cryptodome
PKG_VERSION:=3.9.7
PKG_RELEASE:=1
PKG_RELEASE:=2
PYPI_NAME:=pycryptodome
PKG_HASH:=f1add21b6d179179b3c177c33d18a2186a09cc0d3af41ff5ed3f377360b869f2
@@ -24,27 +24,19 @@ PYTHON3_PKG_SETUP_ARGS:=
PYTHON3_PKG_SETUP_VARS:= \
CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)"
define Package/python-cryptodome/Default
define Package/python3-cryptodome
SECTION:=lang-python
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=A self-contained cryptographic library for Python
URL:=https://www.pycryptodome.org/
DEPENDS:=+libgmp
endef
define Package/python3-cryptodome
$(call Package/python-cryptodome/Default)
DEPENDS+=+PACKAGE_python3-cryptodome:python3
VARIANT:=python3
DEPENDS:=+libgmp +python3
CONFLICTS:=python3-crypto
endef
define Package/python3-cryptodome/description
PyCryptodome is a self-contained Python package of low-level
cryptographic primitives.
.
(Variant for Python3)
endef
$(eval $(call Py3Package,python3-cryptodome))