diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2020-04-22 01:27:50 +0800 |
|---|---|---|
| committer | Jeffery To <jeffery.to@gmail.com> | 2020-04-22 16:36:55 +0800 |
| commit | 2210c4a60dd8fb6420f7bd3c6fe00ed0ae4c51be (patch) | |
| tree | d04a75fdd503108d25ad29ff7e7128083ae5b855 /lang/python/python-cryptodome/Makefile | |
| parent | 124b966b3fb9c2cfbd6f6c3efa151eb6cf26d1d9 (diff) | |
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>
Diffstat (limited to 'lang/python/python-cryptodome/Makefile')
| -rw-r--r-- | lang/python/python-cryptodome/Makefile | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/lang/python/python-cryptodome/Makefile b/lang/python/python-cryptodome/Makefile index 32632712d..72a22b430 100644 --- a/lang/python/python-cryptodome/Makefile +++ b/lang/python/python-cryptodome/Makefile @@ -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)) |
