git: 77b8e3cb4f13 - main - security/py-sslyze: Unbreak this port after e4f5c37688a52c5c8f0b2f0292753db1c030405a
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Oct 2022 02:26:09 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=77b8e3cb4f13caf19f749454e9c4f61b52160a79
commit 77b8e3cb4f13caf19f749454e9c4f61b52160a79
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-03 02:15:42 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-03 02:15:42 +0000
security/py-sslyze: Unbreak this port after e4f5c37688a52c5c8f0b2f0292753db1c030405a
- Allow build with py-pydantic 1.10+
- Bump PORTREVISION for package change
---
security/py-sslyze/Makefile | 3 ++-
security/py-sslyze/files/patch-setup.py | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/security/py-sslyze/Makefile b/security/py-sslyze/Makefile
index 59b3ff0f49f1..f629836e7723 100644
--- a/security/py-sslyze/Makefile
+++ b/security/py-sslyze/Makefile
@@ -1,5 +1,6 @@
PORTNAME= sslyze
PORTVERSION= 5.0.5
+PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.6<38.0.0:security/py-cryptography@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}nassl>=4.0.1<5.0.0:security/py-nassl@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pydantic>=1.7<1.10:devel/py-pydantic@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pydantic>=1.7<1.11:devel/py-pydantic@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tls-parser>=2.0.0<3.0.0:security/py-tls-parser@${PY_FLAVOR}
USES= python:3.7+
diff --git a/security/py-sslyze/files/patch-setup.py b/security/py-sslyze/files/patch-setup.py
new file mode 100644
index 000000000000..4a1329c64976
--- /dev/null
+++ b/security/py-sslyze/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2022-05-14 09:12:21 UTC
++++ setup.py
+@@ -100,7 +100,7 @@ setup(
+ "nassl>=4.0.1,<5.0.0",
+ "cryptography>=2.6,<38.0.0",
+ "tls-parser>=2.0.0,<3.0.0",
+- "pydantic>=1.7,<1.10",
++ "pydantic>=1.7,<1.11",
+ ],
+ # cx_freeze info for Windows builds with Python embedded
+ options={"build_exe": {"packages": ["cffi", "cryptography"], "include_files": get_include_files()}},