git: ce379eaac24a - main - www/py-webdriver_manager: Fix build

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Thu, 27 Aug 2026 01:27:46 UTC
The branch main has been updated by acm:

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

commit ce379eaac24a72a56d724e05922be8f9decda365
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2026-08-27 01:26:34 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2026-08-27 01:27:07 +0000

    www/py-webdriver_manager: Fix build
    
    Reported by:    pkg-fallout
---
 www/py-webdriver_manager/Makefile       |  1 +
 www/py-webdriver_manager/files/setup-py | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/www/py-webdriver_manager/Makefile b/www/py-webdriver_manager/Makefile
index 33ac779a2b04..f2dccba30c83 100644
--- a/www/py-webdriver_manager/Makefile
+++ b/www/py-webdriver_manager/Makefile
@@ -11,6 +11,7 @@ WWW=		https://github.com/SergeyPirogov/webdriver_manager
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python-dotenv>0:www/py-python-dotenv@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} \
diff --git a/www/py-webdriver_manager/files/setup-py b/www/py-webdriver_manager/files/setup-py
new file mode 100644
index 000000000000..d3ad9ab26ead
--- /dev/null
+++ b/www/py-webdriver_manager/files/setup-py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2023-04-25 17:06:45.072477000 -0500
++++ setup.py	2023-04-25 17:07:34.543067000 -0500
+@@ -21,7 +21,7 @@
+     python_requires=">=3.7",
+     long_description=readme,
+     long_description_content_type="text/markdown",
+-    packages=setuptools.find_packages(exclude=['tests']),
++    packages=setuptools.find_packages(exclude=['tests','tests_negative','tests_xdist']),
+     include_package_data=True,
+     version='3.8.6',
+     description='Library provides the way to automatically manage drivers for different browsers',