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.

44 lines
1.2 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-cryptodome
  6. PKG_VERSION:=3.9.7
  7. PKG_RELEASE:=3
  8. PYPI_NAME:=pycryptodome
  9. PKG_HASH:=f1add21b6d179179b3c177c33d18a2186a09cc0d3af41ff5ed3f377360b869f2
  10. PKG_LICENSE:=BSD-2-Clause
  11. PKG_LICENSE_FILES:=LICENSE.rst
  12. PKG_MAINTAINER:=Richard Yu <yurichard3839@gmail.com>
  13. PKG_CPE_ID:=cpe:/a:pycryptodome:pycryptodome
  14. include ../pypi.mk
  15. include $(INCLUDE_DIR)/package.mk
  16. include ../python3-package.mk
  17. PYTHON3_PKG_SETUP_ARGS:=
  18. PYTHON3_PKG_SETUP_VARS:= \
  19. CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)"
  20. define Package/python3-cryptodome
  21. SECTION:=lang-python
  22. CATEGORY:=Languages
  23. SUBMENU:=Python
  24. TITLE:=A self-contained cryptographic library for Python
  25. URL:=https://www.pycryptodome.org/
  26. DEPENDS:=+libgmp +python3
  27. PROVIDES:=python3-crypto
  28. endef
  29. define Package/python3-cryptodome/description
  30. PyCryptodome is a self-contained Python package of low-level
  31. cryptographic primitives.
  32. endef
  33. $(eval $(call Py3Package,python3-cryptodome))
  34. $(eval $(call BuildPackage,python3-cryptodome))
  35. $(eval $(call BuildPackage,python3-cryptodome-src))