b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # This is free software, licensed under the GNU General Public License v2. |
| 2 | # See /LICENSE for more information. |
| 3 | # |
| 4 | |
| 5 | include $(TOPDIR)/rules.mk |
| 6 | |
| 7 | PKG_NAME:=python-cryptodomex |
| 8 | PKG_VERSION:=3.18.0 |
| 9 | PKG_RELEASE:=1 |
| 10 | |
| 11 | PYPI_NAME:=pycryptodomex |
| 12 | PKG_HASH:=3e3ecb5fe979e7c1bb0027e518340acf7ee60415d79295e5251d13c68dde576e |
| 13 | |
| 14 | PKG_LICENSE:=Public-Domain BSD-2-Clause |
| 15 | PKG_LICENSE_FILES:=LICENSE.rst |
| 16 | PKG_MAINTAINER:=Richard Yu <yurichard3839@gmail.com> |
| 17 | PKG_CPE_ID:=cpe:/a:pycryptodome:pycryptodomex |
| 18 | |
| 19 | include ../pypi.mk |
| 20 | include $(INCLUDE_DIR)/package.mk |
| 21 | include ../python3-package.mk |
| 22 | |
| 23 | PYTHON3_PKG_BUILD_VARS:= \ |
| 24 | CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)" |
| 25 | |
| 26 | define Package/python3-cryptodomex |
| 27 | SECTION:=lang |
| 28 | CATEGORY:=Languages |
| 29 | SUBMENU:=Python |
| 30 | TITLE:=Self-contained cryptographic library |
| 31 | URL:=https://www.pycryptodome.org/ |
| 32 | DEPENDS:=+libgmp +python3-light +python3-cffi |
| 33 | endef |
| 34 | |
| 35 | define Package/python3-cryptodomex/description |
| 36 | PyCryptodome is a self-contained Python package of low-level |
| 37 | cryptographic primitives. |
| 38 | endef |
| 39 | |
| 40 | $(eval $(call Py3Package,python3-cryptodomex)) |
| 41 | $(eval $(call BuildPackage,python3-cryptodomex)) |
| 42 | $(eval $(call BuildPackage,python3-cryptodomex-src)) |