b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (C) 2015, 2018-2020, 2023 Jeffery To |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # See /LICENSE for more information. |
| 6 | # |
| 7 | |
| 8 | include $(TOPDIR)/rules.mk |
| 9 | |
| 10 | PKG_NAME:=python-service-identity |
| 11 | PKG_VERSION:=23.1.0 |
| 12 | PKG_RELEASE:=1 |
| 13 | |
| 14 | PYPI_NAME:=service-identity |
| 15 | PYPI_SOURCE_NAME:=service_identity |
| 16 | PKG_HASH:=ecb33cd96307755041e978ab14f8b14e13b40f1fbd525a4dc78f46d2b986431d |
| 17 | |
| 18 | PKG_LICENSE:=MIT |
| 19 | PKG_LICENSE_FILES:=LICENSE |
| 20 | PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com> |
| 21 | |
| 22 | PKG_BUILD_DEPENDS:=python-hatchling/host python-hatch-vcs/host python-hatch-fancy-pypi-readme/host |
| 23 | |
| 24 | include ../pypi.mk |
| 25 | include $(INCLUDE_DIR)/package.mk |
| 26 | include ../python3-package.mk |
| 27 | |
| 28 | define Package/python3-service-identity |
| 29 | SECTION:=lang |
| 30 | CATEGORY:=Languages |
| 31 | SUBMENU:=Python |
| 32 | TITLE:=Service identity verification |
| 33 | URL:=https://service-identity.readthedocs.io/ |
| 34 | DEPENDS:= \ |
| 35 | +python3-light \ |
| 36 | +python3-attrs \ |
| 37 | +python3-cryptography \ |
| 38 | +python3-pyasn1 \ |
| 39 | +python3-pyasn1-modules |
| 40 | endef |
| 41 | |
| 42 | define Package/python3-service-identity/description |
| 43 | service_identity aspires to give you all the tools you need for |
| 44 | verifying whether a certificate is valid for the intended purposes. |
| 45 | endef |
| 46 | |
| 47 | $(eval $(call Py3Package,python3-service-identity)) |
| 48 | $(eval $(call BuildPackage,python3-service-identity)) |
| 49 | $(eval $(call BuildPackage,python3-service-identity-src)) |