b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (C) 2015-2016, 2018-2021, 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-pyopenssl |
| 11 | PKG_VERSION:=23.3.0 |
| 12 | PKG_RELEASE:=1 |
| 13 | |
| 14 | PYPI_NAME:=pyOpenSSL |
| 15 | PKG_HASH:=6b2cba5cc46e822750ec3e5a81ee12819850b11303630d575e98108a079c2b12 |
| 16 | |
| 17 | PKG_LICENSE:=Apache-2.0 |
| 18 | PKG_LICENSE_FILES:=LICENSE |
| 19 | PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com> |
| 20 | PKG_CPE_ID:=cpe:/a:pyopenssl_project:pyopenssl |
| 21 | |
| 22 | include ../pypi.mk |
| 23 | include $(INCLUDE_DIR)/package.mk |
| 24 | include ../python3-package.mk |
| 25 | |
| 26 | define Package/python3-pyopenssl |
| 27 | SECTION:=lang |
| 28 | CATEGORY:=Languages |
| 29 | SUBMENU:=Python |
| 30 | TITLE:=OpenSSL wrapper |
| 31 | URL:=https://pyopenssl.org/ |
| 32 | DEPENDS:= \ |
| 33 | +python3-light \ |
| 34 | +python3-openssl \ |
| 35 | +python3-cryptography |
| 36 | endef |
| 37 | |
| 38 | define Package/python3-pyopenssl/description |
| 39 | Python wrapper module around the OpenSSL library |
| 40 | endef |
| 41 | |
| 42 | $(eval $(call Py3Package,python3-pyopenssl)) |
| 43 | $(eval $(call BuildPackage,python3-pyopenssl)) |
| 44 | $(eval $(call BuildPackage,python3-pyopenssl-src)) |