You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.1 KiB

  1. # This is free software, licensed under the GNU General Public License v2.
  2. # See /LICENSE for more information.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=python-cryptodomex
  6. PKG_VERSION:=3.10.1
  7. PKG_RELEASE:=1
  8. PYPI_NAME:=pycryptodomex
  9. PKG_HASH:=541cd3e3e252fb19a7b48f420b798b53483302b7fe4d9954c947605d0a263d62
  10. PKG_LICENSE:=BSD-2-Clause
  11. PKG_LICENSE_FILES:=LICENSE.rst
  12. PKG_MAINTAINER:=Richard Yu <yurichard3839@gmail.com>
  13. include ../pypi.mk
  14. include $(INCLUDE_DIR)/package.mk
  15. include ../python3-package.mk
  16. PYTHON3_PKG_SETUP_ARGS:=
  17. PYTHON3_PKG_SETUP_VARS:= \
  18. CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)"
  19. define Package/python3-cryptodomex
  20. SECTION:=lang-python
  21. CATEGORY:=Languages
  22. SUBMENU:=Python
  23. TITLE:=A self-contained cryptographic library for Python
  24. URL:=https://www.pycryptodome.org/
  25. DEPENDS:=+libgmp +python3
  26. endef
  27. define Package/python3-cryptodomex/description
  28. PyCryptodome is a self-contained Python package of low-level
  29. cryptographic primitives.
  30. endef
  31. $(eval $(call Py3Package,python3-cryptodomex))
  32. $(eval $(call BuildPackage,python3-cryptodomex))
  33. $(eval $(call BuildPackage,python3-cryptodomex-src))