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.

51 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2015-2018 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=python-pyopenssl
  9. PKG_VERSION:=19.1.0
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=pyOpenSSL
  12. PKG_HASH:=9a24494b2602aaf402be5c9e30a0b82d4a5c67528fe8fb475e3f3bc00dd69507
  13. PKG_LICENSE:=Apache-2.0
  14. PKG_LICENSE_FILES:=LICENSE
  15. PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleanalex@gmail.com>
  16. PKG_CPE_ID:=cpe:/a:pyopenssl_project:pyopenssl
  17. include ../pypi.mk
  18. include $(INCLUDE_DIR)/package.mk
  19. include ../python3-package.mk
  20. define Package/python-pyopenssl/Default
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. SUBMENU:=Python
  24. TITLE:=OpenSSL wrapper
  25. URL:=https://pyopenssl.org/
  26. endef
  27. define Package/python3-pyopenssl
  28. $(call Package/python-pyopenssl/Default)
  29. DEPENDS:= \
  30. +PACKAGE_python3-pyopenssl:python3-light \
  31. +PACKAGE_python3-pyopenssl:python3-cryptography \
  32. +PACKAGE_python3-pyopenssl:python3-six
  33. VARIANT:=python3
  34. endef
  35. define Package/python3-pyopenssl/description
  36. Python wrapper module around the OpenSSL library
  37. .
  38. (Variant for Python3).
  39. endef
  40. $(eval $(call Py3Package,python3-pyopenssl))
  41. $(eval $(call BuildPackage,python3-pyopenssl))
  42. $(eval $(call BuildPackage,python3-pyopenssl-src))