2015-11-27 12:16:52 +00:00
|
|
|
#
|
2018-01-10 21:12:49 +00:00
|
|
|
# Copyright (C) 2015-2018 OpenWrt.org
|
2015-11-27 12:16:52 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2018-01-10 21:12:49 +00:00
|
|
|
PKG_NAME:=python-pyopenssl
|
2019-11-24 19:23:26 +00:00
|
|
|
PKG_VERSION:=19.1.0
|
|
|
|
PKG_RELEASE:=1
|
2015-11-27 12:16:52 +00:00
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
PYPI_NAME:=pyOpenSSL
|
2019-11-24 19:23:26 +00:00
|
|
|
PKG_HASH:=9a24494b2602aaf402be5c9e30a0b82d4a5c67528fe8fb475e3f3bc00dd69507
|
2015-11-27 12:16:52 +00:00
|
|
|
|
|
|
|
PKG_LICENSE:=Apache-2.0
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
2017-08-01 07:15:00 +00:00
|
|
|
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleanalex@gmail.com>
|
2019-09-19 14:07:09 +00:00
|
|
|
PKG_CPE_ID:=cpe:/a:pyopenssl_project:pyopenssl
|
2017-08-01 07:15:00 +00:00
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
include ../pypi.mk
|
2015-11-27 12:16:52 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2018-01-10 07:56:52 +00:00
|
|
|
include ../python-package.mk
|
|
|
|
include ../python3-package.mk
|
2017-08-01 07:15:00 +00:00
|
|
|
|
|
|
|
define Package/python-pyopenssl/Default
|
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
SUBMENU:=Python
|
2019-03-11 08:42:47 +00:00
|
|
|
TITLE:=OpenSSL wrapper
|
|
|
|
URL:=https://pyopenssl.org/
|
2017-08-01 07:15:00 +00:00
|
|
|
endef
|
2015-11-27 12:16:52 +00:00
|
|
|
|
|
|
|
define Package/python-pyopenssl
|
2017-08-01 07:15:00 +00:00
|
|
|
$(call Package/python-pyopenssl/Default)
|
|
|
|
DEPENDS:= \
|
|
|
|
+PACKAGE_python-pyopenssl:python-light \
|
|
|
|
+PACKAGE_python-pyopenssl:python-cryptography \
|
|
|
|
+PACKAGE_python-pyopenssl:python-six
|
2019-03-11 08:42:47 +00:00
|
|
|
VARIANT:=python
|
2017-08-01 07:15:00 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/python3-pyopenssl
|
|
|
|
$(call Package/python-pyopenssl/Default)
|
|
|
|
DEPENDS:= \
|
|
|
|
+PACKAGE_python3-pyopenssl:python3-light \
|
|
|
|
+PACKAGE_python3-pyopenssl:python3-cryptography \
|
|
|
|
+PACKAGE_python3-pyopenssl:python3-six
|
2019-03-11 08:42:47 +00:00
|
|
|
VARIANT:=python3
|
2015-11-27 12:16:52 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/python-pyopenssl/description
|
|
|
|
Python wrapper module around the OpenSSL library
|
|
|
|
endef
|
|
|
|
|
2017-08-01 07:15:00 +00:00
|
|
|
define Package/python3-pyopenssl/description
|
|
|
|
$(call Package/python-pyopenssl/description)
|
|
|
|
.
|
|
|
|
(Variant for Python3).
|
2015-11-27 12:16:52 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call PyPackage,python-pyopenssl))
|
|
|
|
$(eval $(call BuildPackage,python-pyopenssl))
|
2018-01-14 14:38:54 +00:00
|
|
|
$(eval $(call BuildPackage,python-pyopenssl-src))
|
|
|
|
|
2017-08-01 07:15:00 +00:00
|
|
|
$(eval $(call Py3Package,python3-pyopenssl))
|
|
|
|
$(eval $(call BuildPackage,python3-pyopenssl))
|
2018-01-14 14:38:54 +00:00
|
|
|
$(eval $(call BuildPackage,python3-pyopenssl-src))
|