Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Apr 2023 04:21:07 GMT
From:      Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9dfe4499ad22 - main - www/py-webdriver_manager: New port: provides the way to automatically manage drivers for different browsers
Message-ID:  <202304260421.33Q4L74E008393@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by acm:

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

commit 9dfe4499ad22e8dd5546fefb95f2d631bf5505ed
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2023-04-26 04:20:16 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2023-04-26 04:20:16 +0000

    www/py-webdriver_manager: New port: provides the way to automatically manage drivers for different browsers
    
    The main idea is to simplify management of binary drivers for different
    browsers.
    
    For now support:
    
    ChromeDriver
    EdgeChromiumDriver
    GeckoDriver
    IEDriver
    OperaDriver
    
    Compatible with Selenium 4.x and below.
---
 www/Makefile                                  |  1 +
 www/py-webdriver_manager/Makefile             | 24 ++++++++++++++++++++++++
 www/py-webdriver_manager/distinfo             |  3 +++
 www/py-webdriver_manager/files/patch-setup-py | 11 +++++++++++
 www/py-webdriver_manager/pkg-descr            | 12 ++++++++++++
 5 files changed, 51 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 3f3505bd566c..daaf57926983 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1824,6 +1824,7 @@
     SUBDIR += py-wcag-contrast-ratio
     SUBDIR += py-webargs
     SUBDIR += py-webassets
+    SUBDIR += py-webdriver_manager
     SUBDIR += py-webob
     SUBDIR += py-websocket-client
     SUBDIR += py-webunit
diff --git a/www/py-webdriver_manager/Makefile b/www/py-webdriver_manager/Makefile
new file mode 100644
index 000000000000..5cc0266e3e7d
--- /dev/null
+++ b/www/py-webdriver_manager/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	webdriver_manager
+PORTVERSION=	3.8.6
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	acm@FreeBSD.org
+COMMENT=	provides the way to automatically manage drivers for different browsers
+WWW=		https://github.com/SergeyPirogov/webdriver_manager
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+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} \
+		${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-webdriver_manager/distinfo b/www/py-webdriver_manager/distinfo
new file mode 100644
index 000000000000..6270f95b0c8a
--- /dev/null
+++ b/www/py-webdriver_manager/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1682459619
+SHA256 (webdriver_manager-3.8.6.tar.gz) = ee788d389b8f45222a8a62f6f39b579360a1f87be46dad6da89918354af3ce73
+SIZE (webdriver_manager-3.8.6.tar.gz) = 26394
diff --git a/www/py-webdriver_manager/files/patch-setup-py b/www/py-webdriver_manager/files/patch-setup-py
new file mode 100644
index 000000000000..d3ad9ab26ead
--- /dev/null
+++ b/www/py-webdriver_manager/files/patch-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',
diff --git a/www/py-webdriver_manager/pkg-descr b/www/py-webdriver_manager/pkg-descr
new file mode 100644
index 000000000000..5849844e300d
--- /dev/null
+++ b/www/py-webdriver_manager/pkg-descr
@@ -0,0 +1,12 @@
+The main idea is to simplify management of binary drivers for different
+browsers.
+
+For now support:
+
+ChromeDriver
+EdgeChromiumDriver
+GeckoDriver
+IEDriver
+OperaDriver
+
+Compatible with Selenium 4.x and below.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304260421.33Q4L74E008393>