From 2210c4a60dd8fb6420f7bd3c6fe00ed0ae4c51be Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Wed, 22 Apr 2020 01:27:50 +0800 Subject: 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 --- lang/python/python-crypto/Makefile | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'lang/python/python-crypto/Makefile') diff --git a/lang/python/python-crypto/Makefile b/lang/python/python-crypto/Makefile index 8ee28e025..a284ff435 100644 --- a/lang/python/python-crypto/Makefile +++ b/lang/python/python-crypto/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-crypto PKG_VERSION:=2.6.1 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PYPI_NAME:=pycrypto PKG_HASH:=f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c @@ -27,26 +27,18 @@ PYTHON3_PKG_SETUP_ARGS:= PYTHON3_PKG_SETUP_VARS:= \ CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)" -define Package/python-crypto/Default +define Package/python3-crypto SECTION:=lang-python CATEGORY:=Languages SUBMENU:=Python TITLE:=Python Cryptography Toolkit URL:=https://www.dlitz.net/software/pycrypto/ - DEPENDS:=+libgmp -endef - -define Package/python3-crypto -$(call Package/python-crypto/Default) - DEPENDS+=+PACKAGE_python3-crypto:python3 - VARIANT:=python3 + DEPENDS:=+libgmp +python3 endef define Package/python3-crypto/description A collection of both secure hash functions (such as MD5 and SHA), and various encryption algorithms (AES, DES, IDEA, RSA, ElGamal, etc.). -. -(Variant for Python3) endef $(eval $(call Py3Package,python3-crypto)) -- cgit