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.9.7
  7. PKG_RELEASE:=2
  8. PYPI_NAME:=pycryptodomex
  9. PKG_HASH:=50163324834edd0c9ce3e4512ded3e221c969086e10fdd5d3fdcaadac5e24a78
  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))