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.

34 lines
904 B

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