python-pyopenssl: Update to 23.2.0
authorJeffery To <jeffery.to@gmail.com>
Fri, 29 Sep 2023 02:11:05 +0000 (10:11 +0800)
committerTianling Shen <cnsztl@gmail.com>
Mon, 2 Oct 2023 11:14:01 +0000 (19:14 +0800)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lang/python/python-pyopenssl/Makefile
lang/python/python-pyopenssl/test.sh [new file with mode: 0644]

index 686ce91a9c5488997da787487dd484dd0e807231..383d48d6bc8ea6aac3bfde15617021ff6813e31b 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2015-2018 OpenWrt.org
+# Copyright (C) 2015-2016, 2018-2021, 2023 Jeffery To
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -8,11 +8,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-pyopenssl
-PKG_VERSION:=21.0.0
+PKG_VERSION:=23.2.0
 PKG_RELEASE:=1
 
 PYPI_NAME:=pyOpenSSL
-PKG_HASH:=5e2d8c5e46d0d865ae933bef5230090bdaf5506281e9eec60fa250ee80600cb3
+PKG_HASH:=276f931f55a452e7dea69c7173e984eb2a4407ce413c918aa34b55f82f9b8bac
 
 PKG_LICENSE:=Apache-2.0
 PKG_LICENSE_FILES:=LICENSE
@@ -31,8 +31,8 @@ define Package/python3-pyopenssl
   URL:=https://pyopenssl.org/
   DEPENDS:= \
       +python3-light \
-      +python3-cryptography \
-      +python3-six
+      +python3-openssl \
+      +python3-cryptography
 endef
 
 define Package/python3-pyopenssl/description
diff --git a/lang/python/python-pyopenssl/test.sh b/lang/python/python-pyopenssl/test.sh
new file mode 100644 (file)
index 0000000..141dedd
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+[ "$1" = python3-pyopenssl ] || exit 0
+
+python3 -m OpenSSL.debug