git: 7842c4f9c7db - main - security/py-badkeys: Update to 0.0.17

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Tue, 17 Mar 2026 19:11:00 UTC
The branch main has been updated by otis:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7842c4f9c7db49c426e6c088fac0873fb997c6a4

commit 7842c4f9c7db49c426e6c088fac0873fb997c6a4
Author:     Fabian Keil <fk@fabiankeil.de>
AuthorDate: 2026-03-17 19:09:46 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2026-03-17 19:09:46 +0000

    security/py-badkeys: Update to 0.0.17
    
    PR:             293757
---
 security/py-badkeys/Makefile                   |  2 +-
 security/py-badkeys/distinfo                   |  6 ++--
 security/py-badkeys/files/patch-pyproject.toml | 38 ++++++++++++++++++++++++++
 3 files changed, 42 insertions(+), 4 deletions(-)

diff --git a/security/py-badkeys/Makefile b/security/py-badkeys/Makefile
index 776edfdf886c..81894eb23f2c 100644
--- a/security/py-badkeys/Makefile
+++ b/security/py-badkeys/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	badkeys
-DISTVERSION=	0.0.11
+DISTVERSION=	0.0.17
 CATEGORIES=	security python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/security/py-badkeys/distinfo b/security/py-badkeys/distinfo
index 246c0ab642fd..529784a655ec 100644
--- a/security/py-badkeys/distinfo
+++ b/security/py-badkeys/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1716359748
-SHA256 (badkeys-0.0.11.tar.gz) = 0bc38ac6e683d5c85f7abb15de5ea14e1bf428267e60a9240b1faa34bd91f018
-SIZE (badkeys-0.0.11.tar.gz) = 374536
+TIMESTAMP = 1773313209
+SHA256 (badkeys-0.0.17.tar.gz) = 5562f2276a0343c5cfa5ecc54dc0e658e1b65fd36016858c04af9f33f7e9f826
+SIZE (badkeys-0.0.17.tar.gz) = 399035
diff --git a/security/py-badkeys/files/patch-pyproject.toml b/security/py-badkeys/files/patch-pyproject.toml
new file mode 100644
index 000000000000..ad6379f552d2
--- /dev/null
+++ b/security/py-badkeys/files/patch-pyproject.toml
@@ -0,0 +1,38 @@
+From cd7fad358fe65ac14e8fba25e1053f98e2e96eaf Mon Sep 17 00:00:00 2001
+From: Fabian Keil <fk@fabiankeil.de>
+Date: Sat, 17 Jan 2026 11:01:05 +0100
+Subject: [PATCH] Revert "Remove deprecated license classifier"
+
+... to fix a build error with py311-setuptools-63.1.0_3:
+
+| configuration error: `project.license` must be valid exactly by one definition (2 matches found):
+
+This reverts commit 47e6881de76c7883a5d6cbfb017a809ac1472c06.
+---
+ pyproject.toml | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git pyproject.toml pyproject.toml
+index d6ed7ae..7bcf406 100644
+--- pyproject.toml
++++ pyproject.toml
+@@ -4,6 +4,7 @@ description = "Check cryptographic keys for known weaknesses"
+ readme = "README.md"
+ authors = [{ name = "Hanno Böck" }]
+ classifiers = [
++  "License :: OSI Approved :: MIT License",
+   "Programming Language :: Python :: 3 :: Only",
+   "Programming Language :: Python :: 3",
+   "Programming Language :: Python :: 3.9",
+@@ -15,7 +16,7 @@ classifiers = [
+   "Natural Language :: English",
+   "Development Status :: 4 - Beta",
+ ]
+-license = "MIT"
++license = {text = "MIT"}
+ keywords = ["cryptography", "rsa", "security"]
+ requires-python = ">=3.9"
+ dependencies = ["cryptography", "gmpy2"]
+-- 
+2.52.0
+