2 # Copyright (C) 2016-2018 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=python-service-identity
14 PKG_SOURCE
:=service_identity-
$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://pypi.python.org
/packages
/de
/2a
/cab6e30be82c8fcd2339ef618036720eda954cf05daef514e386661c9221
16 PKG_HASH
:=4001fbb3da19e0df22c47a06d29681a398473af4aa9d745eca525b3b2c2302ab
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(BUILD_VARIANT
)-service-identity-
$(PKG_VERSION
)
21 PKG_LICENSE_FILES
:=LICENSE
22 PKG_MAINTAINER
:=Jeffery To
<jeffery.to@gmail.com
>
24 include $(INCLUDE_DIR
)/package.mk
25 include ..
/python-package.mk
26 include ..
/python3-package.mk
28 PKG_UNPACK
:=$(HOST_TAR
) -C
$(PKG_BUILD_DIR
) --strip-components
=1 -xzf
$(DL_DIR
)/$(PKG_SOURCE
)
30 define Package
/python-service-identity
/Default
34 URL
:=https
://github.com
/pyca
/service_identity
37 define Package
/python-service-identity
38 $(call Package
/python-service-identity
/Default
)
39 TITLE
:=python-service-identity
41 +PACKAGE_python-service-identity
:python-light \
42 +PACKAGE_python-service-identity
:python-attrs \
43 +PACKAGE_python-service-identity
:python-pyasn1 \
44 +PACKAGE_python-service-identity
:python-pyasn1-modules \
45 +PACKAGE_python-service-identity
:python-pyopenssl
49 define Package
/python3-service-identity
50 $(call Package
/python-service-identity
/Default
)
51 TITLE
:=python3-service-identity
53 +PACKAGE_python3-service-identity
:python3-light \
54 +PACKAGE_python3-service-identity
:python3-attrs \
55 +PACKAGE_python3-service-identity
:python3-pyasn1 \
56 +PACKAGE_python3-service-identity
:python3-pyasn1-modules \
57 +PACKAGE_python3-service-identity
:python3-pyopenssl
61 define Package
/python-service-identity
/description
62 service_identity aspires to give you
all the tools you need for
63 verifying whether a certificate is valid for the intended purposes.
66 define Package
/python3-service-identity
/description
67 $(call Package
/python-service-identity
/description
)
72 $(eval
$(call PyPackage
,python-service-identity
))
73 $(eval
$(call BuildPackage
,python-service-identity
))
75 $(eval
$(call Py3Package
,python3-service-identity
))
76 $(eval
$(call BuildPackage
,python3-service-identity
))