git: fdbaa6ca6102 - main - www/py-fake-useragent: Update to 2.2.0

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Fri, 27 Jun 2025 20:26:53 UTC
The branch main has been updated by ehaupt:

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

commit fdbaa6ca61025008b00734f4e8a16cce2007ab80
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2025-06-27 20:26:23 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2025-06-27 20:26:50 +0000

    www/py-fake-useragent: Update to 2.2.0
---
 www/py-fake-useragent/Makefile                   |  2 +-
 www/py-fake-useragent/distinfo                   |  6 +++---
 www/py-fake-useragent/files/patch-pyproject.toml | 26 ++++++++++++++++++++++++
 3 files changed, 30 insertions(+), 4 deletions(-)

diff --git a/www/py-fake-useragent/Makefile b/www/py-fake-useragent/Makefile
index ba094b7e334e..056eaeb91458 100644
--- a/www/py-fake-useragent/Makefile
+++ b/www/py-fake-useragent/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	fake-useragent
-DISTVERSION=	2.1.0
+DISTVERSION=	2.2.0
 CATEGORIES=	www python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
diff --git a/www/py-fake-useragent/distinfo b/www/py-fake-useragent/distinfo
index 71fe961dcf58..b83e7fbb62ed 100644
--- a/www/py-fake-useragent/distinfo
+++ b/www/py-fake-useragent/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1742053117
-SHA256 (fake-useragent-fake-useragent-2.1.0_GH0.tar.gz) = 086abb019202f2502f4cf58ecaa4d9b4029832a62aea0f2df5cab71a4d7849bc
-SIZE (fake-useragent-fake-useragent-2.1.0_GH0.tar.gz) = 135506
+TIMESTAMP = 1751051396
+SHA256 (fake-useragent-fake-useragent-2.2.0_GH0.tar.gz) = c6a0cba8c43e5f55029433535253be2655f7746085a2f2a232e2fe657a95bd11
+SIZE (fake-useragent-fake-useragent-2.2.0_GH0.tar.gz) = 171393
diff --git a/www/py-fake-useragent/files/patch-pyproject.toml b/www/py-fake-useragent/files/patch-pyproject.toml
new file mode 100644
index 000000000000..b66f6d88a16a
--- /dev/null
+++ b/www/py-fake-useragent/files/patch-pyproject.toml
@@ -0,0 +1,26 @@
+--- pyproject.toml.orig	2025-04-14 15:18:22 UTC
++++ pyproject.toml
+@@ -1,12 +1,11 @@ build-backend = "setuptools.build_meta"
+ [build-system]
+ build-backend = "setuptools.build_meta"
+ 
+-requires = [ "setuptools>=77.0" ]
++requires = [ "setuptools>=63.1.0" ]
+ 
+ [project]
+ name = "fake-useragent"
+ version = "2.2.0"
+-license = "Apache-2.0"
+ description = "Up-to-date simple useragent faker with real world database"
+ readme.content-type = "text/markdown"
+ readme.file = "README.md"
+@@ -46,6 +45,9 @@ urls.Homepage = "https://github.com/fake-useragent/fak
+ 
+ dependencies = [ "importlib-resources>=6; python_version<'3.10'" ]
+ urls.Homepage = "https://github.com/fake-useragent/fake-useragent"
++
++[project.license]
++text = "Apache-2.0"
+ 
+ [tool.setuptools]
+ zip-safe = false