From nobody Wed Apr 26 04:21:07 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q5lzl6yY2z47BJW; Wed, 26 Apr 2023 04:21:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q5lzl6QGkz4GND; Wed, 26 Apr 2023 04:21:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682482867; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rde04rZKm8M+zcYlvV0x5myKSYpYiwgvG1OO7tfExRw=; b=ggQB+/JA8CLyWJNoo5nhW7JJlhsq8ACW6YRbxu6oPxsL1VYa959sEdGjfiMGXWFirmKccO ERZx4ckKyFqZ/OPkJb+2j0Zy10vyBOfGE2sVyUcKtZlzvqlqGPdgn0G1OwIIcWcHVMadDT IyA6o8Npz0lS/qh3TmaSOm1WnHCnyvs/2uTAHa+NOxbh9ccHbSb0TyfjrP5R7lZ48BlRqL FloXzLVx92HlKxPP42wu45qDIIex5Y/q89gzHZ2T2QQIryBypemQv/c6QvHmqMqHLdDPaX JxuUieutP8AMh2zNutnqmvaPJL+6AWWdKPv8lCfuvPCPKp2rwc5j95NnQ5P9Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682482867; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rde04rZKm8M+zcYlvV0x5myKSYpYiwgvG1OO7tfExRw=; b=gdQG5CMsyYV6M0C1EdfVcI2BKtqKhAKqfP0r/TKHO74FJ7xb2iVcnreVqD7m+t9lNVx87T cbIbL9tJwuvEHFW+nPePzwjZZdRpZEcpaZD2/o5WFjdeVV7EZPninHNHuToewbdeOXpV70 PRj3XrBoD2Bxm8m/NTCgpenrl036d0xglT7TvWaaLtGdoZJVglx3rLc00MwD9KVR2VQ2v6 e5pVSHyuDceXV5kpAho3GVkhvZNyOIkLLSecXwAmwp5gXygfs+D28J+J/2yLR3FrKNMy2T XekcMULX0tKpggOIFUtw4SNzcwmDvawLmrY6qLDS50j3Js4AxRtiTZlbZztlkw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682482867; a=rsa-sha256; cv=none; b=LEPFr1Q2cXmIlBjnuidylWLdMTuJAwHUZhjzfqB+3NuSuXRHKKltijvz8MVOKVji0prPSV iBNsIGVQVn69waWizsQyaSqKUdoj+gAQTa9gAxpyAq5VnEFbC5gx0ERyGpnEQufET0CeW1 NFbsT+wjjpI85i1Z55tIaAb+eSr6yLkz5tmi33sveKvYwnjcYm0TqFr+WDCGeP6eseQ8Cy LAr0wD23lE9vAvv6qVjAMBzEon5WX6ByLstT5JwgwGvg5VYA0xEf0KVRsrrfYzMlZpzSCg 0vYFpNIrXwcfQvUFfQFeOFpT+3aAZYRPxRGmGNBxMH+PIvuxbK69C0H1lweRZg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q5lzl5VjczKt9; Wed, 26 Apr 2023 04:21:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33Q4L7s5008394; Wed, 26 Apr 2023 04:21:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33Q4L74E008393; Wed, 26 Apr 2023 04:21:07 GMT (envelope-from git) Date: Wed, 26 Apr 2023 04:21:07 GMT Message-Id: <202304260421.33Q4L74E008393@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jose Alonso Cardenas Marquez Subject: git: 9dfe4499ad22 - main - www/py-webdriver_manager: New port: provides the way to automatically manage drivers for different browsers List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: acm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9dfe4499ad22e8dd5546fefb95f2d631bf5505ed Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=9dfe4499ad22e8dd5546fefb95f2d631bf5505ed commit 9dfe4499ad22e8dd5546fefb95f2d631bf5505ed Author: Jose Alonso Cardenas Marquez AuthorDate: 2023-04-26 04:20:16 +0000 Commit: Jose Alonso Cardenas Marquez 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 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.