summaryrefslogtreecommitdiff
path: root/lang/python/python-cryptodomex/Makefile
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2020-04-22 18:04:37 +0300
committerGitHub <noreply@github.com>2020-04-22 18:04:37 +0300
commitb5672b0fd1ef34089d2434754f31e2607e899d8b (patch)
tree27aeebf2dca0dc7fa3173b74d684c1888e954ae1 /lang/python/python-cryptodomex/Makefile
parent3cac33fbd193e0a12aa24b2c5ad7eb7da8bef80c (diff)
parent2210c4a60dd8fb6420f7bd3c6fe00ed0ae4c51be (diff)
Merge pull request #11919 from jefferyto/python-packages-cleanup
python-packages: Clean up Makefiles
Diffstat (limited to 'lang/python/python-cryptodomex/Makefile')
-rw-r--r--lang/python/python-cryptodomex/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/lang/python/python-cryptodomex/Makefile b/lang/python/python-cryptodomex/Makefile
index a103ecb47..562122cf5 100644
--- a/lang/python/python-cryptodomex/Makefile
+++ b/lang/python/python-cryptodomex/Makefile
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=python-cryptodomex
PKG_VERSION:=3.9.7
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PYPI_NAME:=pycryptodomex
PKG_HASH:=50163324834edd0c9ce3e4512ded3e221c969086e10fdd5d3fdcaadac5e24a78
@@ -23,26 +23,18 @@ PYTHON3_PKG_SETUP_ARGS:=
PYTHON3_PKG_SETUP_VARS:= \
CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)"
-define Package/python-cryptodomex/Default
+define Package/python3-cryptodomex
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-cryptodomex
-$(call Package/python-cryptodomex/Default)
- DEPENDS+=+PACKAGE_python3-cryptodomex:python3
- VARIANT:=python3
+ DEPENDS:=+libgmp +python3
endef
define Package/python3-cryptodomex/description
PyCryptodome is a self-contained Python package of low-level
cryptographic primitives.
-.
-(Variant for Python3)
endef
$(eval $(call Py3Package,python3-cryptodomex))