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.

53 lines
1.5 KiB

  1. #
  2. # Copyright (C) 2016-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-service-identity
  9. PKG_VERSION:=18.1.0
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=service_identity
  12. PKG_HASH:=0858a54aabc5b459d1aafa8a518ed2081a285087f349fe3e55197989232e2e2d
  13. PKG_LICENSE:=MIT
  14. PKG_LICENSE_FILES:=LICENSE
  15. PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
  16. include ../pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python3-package.mk
  19. define Package/python-service-identity/Default
  20. SECTION:=lang
  21. CATEGORY:=Languages
  22. SUBMENU:=Python
  23. TITLE:=Service identity verification
  24. URL:=https://service-identity.readthedocs.io/
  25. endef
  26. define Package/python3-service-identity
  27. $(call Package/python-service-identity/Default)
  28. DEPENDS:= \
  29. +PACKAGE_python3-service-identity:python3-light \
  30. +PACKAGE_python3-service-identity:python3-attrs \
  31. +PACKAGE_python3-service-identity:python3-cryptography \
  32. +PACKAGE_python3-service-identity:python3-pyasn1 \
  33. +PACKAGE_python3-service-identity:python3-pyasn1-modules
  34. VARIANT:=python3
  35. endef
  36. define Package/python3-service-identity/description
  37. service_identity aspires to give you all the tools you need for
  38. verifying whether a certificate is valid for the intended purposes.
  39. .
  40. (Variant for Python3)
  41. endef
  42. $(eval $(call Py3Package,python3-service-identity))
  43. $(eval $(call BuildPackage,python3-service-identity))
  44. $(eval $(call BuildPackage,python3-service-identity-src))