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.

35 lines
953 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=rsa
  3. PKG_VERSION:=4.6
  4. PKG_RELEASE:=1
  5. PYPI_NAME:=$(PKG_NAME)
  6. PKG_HASH:=109ea5a66744dd859bf16fe904b8d8b627adafb9408753161e766a92e7d681fa
  7. PKG_MAINTAINER:=Daniel Danzberger <daniel@dd-wrt.com>
  8. PKG_LICENSE:=MIT
  9. PKG_CPE_ID:=cpe:/a:python-rsa_project:python-rsa
  10. include ../pypi.mk
  11. include $(INCLUDE_DIR)/package.mk
  12. include ../python3-package.mk
  13. define Package/python3-rsa
  14. SUBMENU:=Python
  15. SECTION:=lang
  16. CATEGORY:=Languages
  17. TITLE:=rsa
  18. URL:=https://stuvel.eu/rsa
  19. DEPENDS:=+python3 +python3-pyasn1
  20. endef
  21. define Package/python3-rsa/description
  22. Is a pure-Python RSA implementation. It supports encryption and decryption,
  23. signing and verifying signatures, and key generation according to PKCS#1 version 1.5.
  24. It can be used as a Python library as well as on the commandline.
  25. endef
  26. $(eval $(call Py3Package,python3-rsa))
  27. $(eval $(call BuildPackage,python3-rsa))
  28. $(eval $(call BuildPackage,python3-rsa-src))