blob: eb51e3a40a2c45091399bf0b1777cabbfea3fa81 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=python-service-identity
11PKG_VERSION:=23.1.0
12PKG_RELEASE:=1
13
14PYPI_NAME:=service-identity
15PYPI_SOURCE_NAME:=service_identity
16PKG_HASH:=ecb33cd96307755041e978ab14f8b14e13b40f1fbd525a4dc78f46d2b986431d
17
18PKG_LICENSE:=MIT
19PKG_LICENSE_FILES:=LICENSE
20PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
21
22PKG_BUILD_DEPENDS:=python-hatchling/host python-hatch-vcs/host python-hatch-fancy-pypi-readme/host
23
24include ../pypi.mk
25include $(INCLUDE_DIR)/package.mk
26include ../python3-package.mk
27
28define 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
40endef
41
42define Package/python3-service-identity/description
43service_identity aspires to give you all the tools you need for
44verifying whether a certificate is valid for the intended purposes.
45endef
46
47$(eval $(call Py3Package,python3-service-identity))
48$(eval $(call BuildPackage,python3-service-identity))
49$(eval $(call BuildPackage,python3-service-identity-src))