2015-11-27 12:06:19 +00:00
|
|
|
#
|
2018-01-10 11:55:42 +00:00
|
|
|
# Copyright (C) 2015-2018 OpenWrt.org
|
2015-11-27 12:06:19 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2017-07-06 17:39:40 +00:00
|
|
|
PKG_NAME:=python-cryptography
|
2021-09-01 18:30:37 +00:00
|
|
|
PKG_VERSION:=3.4.8
|
2022-07-07 09:35:41 +00:00
|
|
|
PKG_RELEASE:=2
|
2015-11-27 12:06:19 +00:00
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
PYPI_NAME:=cryptography
|
2021-09-01 18:30:37 +00:00
|
|
|
PKG_HASH:=94cc5ed4ceaefcbe5bf38c8fba6a21fc1d365bb8fb826ea1688e3370b2e24a1c
|
2015-11-27 12:06:19 +00:00
|
|
|
|
|
|
|
PKG_LICENSE:=Apache-2.0 BSD-3-Clause
|
|
|
|
PKG_LICENSE_FILES:=LICENSE.APACHE LICENSE.BSD
|
2021-11-23 11:14:42 +00:00
|
|
|
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
|
2017-07-06 17:39:40 +00:00
|
|
|
|
2019-05-29 15:08:19 +00:00
|
|
|
PKG_BUILD_DEPENDS:=libffi/host
|
|
|
|
|
2021-02-14 22:26:38 +00:00
|
|
|
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=cffi # cffi>=1.12
|
2015-11-27 12:06:19 +00:00
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
include ../pypi.mk
|
2015-11-27 12:06:19 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2018-01-10 07:56:52 +00:00
|
|
|
include ../python3-package.mk
|
2017-07-06 17:39:40 +00:00
|
|
|
|
2020-04-21 17:27:50 +00:00
|
|
|
define Package/python3-cryptography
|
2017-07-06 17:39:40 +00:00
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
SUBMENU:=Python
|
2019-02-28 20:56:08 +00:00
|
|
|
TITLE:=Cryptographic recipes and primitives
|
2017-07-06 17:39:40 +00:00
|
|
|
URL:=https://github.com/pyca/cryptography
|
2020-04-21 17:27:50 +00:00
|
|
|
DEPENDS:= \
|
|
|
|
+libopenssl \
|
2020-07-26 21:40:30 +00:00
|
|
|
+python3-light \
|
|
|
|
+python3-email \
|
|
|
|
+python3-openssl \
|
|
|
|
+python3-urllib \
|
2020-04-21 17:27:50 +00:00
|
|
|
+python3-cffi \
|
|
|
|
+python3-six
|
2015-11-27 12:06:19 +00:00
|
|
|
endef
|
|
|
|
|
2020-04-01 14:21:16 +00:00
|
|
|
define Package/python3-cryptography/description
|
2015-11-27 12:06:19 +00:00
|
|
|
cryptography is a package which provides cryptographic recipes and
|
|
|
|
primitives to Python developers. Our goal is for it to be your "cryptographic
|
|
|
|
standard library". It supports Python 2.6-2.7, Python 3.3+, and PyPy 2.6+.
|
2017-07-06 17:39:40 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call Py3Package,python3-cryptography))
|
|
|
|
$(eval $(call BuildPackage,python3-cryptography))
|
2018-01-14 14:38:54 +00:00
|
|
|
$(eval $(call BuildPackage,python3-cryptography-src))
|