From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0BC4615814C for ; Tue, 26 Sep 2023 04:42:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42CE62BC02D; Tue, 26 Sep 2023 04:42:25 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F27782BC02D for ; Tue, 26 Sep 2023 04:42:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 41B96335D1C for ; Tue, 26 Sep 2023 04:42:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A6F1E126E for ; Tue, 26 Sep 2023 04:42:21 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1695703326.19882708858d4568b7a57dbd6f81fe057fd5519f.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/selenium/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/selenium/Manifest dev-python/selenium/selenium-4.13.0.ebuild X-VCS-Directories: dev-python/selenium/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 19882708858d4568b7a57dbd6f81fe057fd5519f X-VCS-Branch: master Date: Tue, 26 Sep 2023 04:42:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 87b1c6fc-37ca-4e8b-9823-5d32583ef98d X-Archives-Hash: 06038a94b348e385502fba2a5684fd4c commit: 19882708858d4568b7a57dbd6f81fe057fd5519f Author: Michał Górny gentoo org> AuthorDate: Tue Sep 26 04:11:44 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Sep 26 04:42:06 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19882708 dev-python/selenium: Bump to 4.13.0 Signed-off-by: Michał Górny gentoo.org> dev-python/selenium/Manifest | 2 + dev-python/selenium/selenium-4.13.0.ebuild | 63 ++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/dev-python/selenium/Manifest b/dev-python/selenium/Manifest index 8f0bfefdf75e..93a59e9dc49f 100644 --- a/dev-python/selenium/Manifest +++ b/dev-python/selenium/Manifest @@ -1,4 +1,6 @@ DIST selenium-4.10.0.tar.gz 6465647 BLAKE2B ce6bb410753d922fb40f9613ad7a552c91a162f86a1efedfe39f3eee5af45db76cc8664aeb2d140186dfd5ff362c7654a019e21918f20439b1703cbd3572b005 SHA512 fca7b7cff54aad0771d60e4f85795e4205d2dd8dbf21abbd9ab2300fa80e7b033b08012d21792f18bf378e9c5234d82f410cc33f592d774eb94e418b325a2dd3 DIST selenium-4.12.0.tar.gz 9141240 BLAKE2B c55adef082cd6da9c4457f8dfef2b967fa19656ab05b903248455e55bde92c7ce834822094266699e6fe75c3882c424cde606575a17ee4d38f1cef4136dcb654 SHA512 ec440ef1f3e7ca477da7014b5c7e5bef04f4fab9419dea5e3d9efe5f97d1fbdad4d588e64393094c7b2dcc50343873df3a16335fd1ba495e23a5027343c2eea4 +DIST selenium-4.13.0.tar.gz 9266949 BLAKE2B fbf6bf204b47648d67f3205729db232097a92bc3fbb491bb98308e1171d4a7b090f57f5153f07a642a5e6f476c12758496021fc2a7fc02ea7d525d9e4bef5fb7 SHA512 9f1531a5693d1f67a7fcafd0623bfaf85876fa0bf6292679a04d5b3976b1e8a46ea2718ae61b8f2da68005d7b6e11cda6eb9390b0094756a26fadec839e3efe8 DIST selenium-selenium-4.10.0.gh.tar.gz 89775386 BLAKE2B a20416826ae85b13f2312799b5fef1d079e142330a23b06d5b1cb2f3ec98e3c26e483e65bb99027e7b18eae80f13e74347afdc88c8facfc268220bbd93d8107a SHA512 bd8a0ac5e976119b8bff8a0b570479ece666369f0aef3806d173e956639c9df591047d0d333bb6ea5bdad740d84c5ee454d9749e0ebc502c5700a96bb146e182 DIST selenium-selenium-4.12.0.gh.tar.gz 79906008 BLAKE2B 4ac3a4e134b29c1e866645a6ba3c799575b9f1d9854573edbcbe14a63f29fd05c822bfd97937091415e80d07bbeb3545f839b444e2e85e957b504cee8bc41ac7 SHA512 063780d555c41eabe0e3db3b7ddd3cb9793d0d733de457bc553235af158e76df7f29acb675a8987933037952393c2cd1940fbab81f515f3dd10dbc8daed13c17 +DIST selenium-selenium-4.13.0.gh.tar.gz 78263115 BLAKE2B 8f06ee9e6a8ac8a63c3f016d3e310ba22ac0bd5566f06f6d6f71f269084bafa00f0627aaf1103f2f28a8785e81ace1652b64a271a23fdc74a56c0bf118ccd2ca SHA512 7156b28326492efa189ec4d5e53e131f4e8fb3aea97ce6632b0a9a81e04e238645b4994e348fa6e3f689e5472f569dfe95fdb11a6bd8456381b85d41fb0ede61 diff --git a/dev-python/selenium/selenium-4.13.0.ebuild b/dev-python/selenium/selenium-4.13.0.ebuild new file mode 100644 index 000000000000..2f638fc8415a --- /dev/null +++ b/dev-python/selenium/selenium-4.13.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +# upstream sometimes tags it as ${P}, sometimes as ${P}-python, sigh +TEST_TAG=${P} +TEST_P=selenium-${TEST_TAG} + +DESCRIPTION="Python language binding for Selenium Remote Control" +HOMEPAGE=" + https://www.seleniumhq.org/ + https://github.com/SeleniumHQ/selenium/tree/trunk/py/ + https://pypi.org/project/selenium/ +" +SRC_URI+=" + test? ( + https://github.com/SeleniumHQ/selenium/archive/${TEST_TAG}.tar.gz + -> ${TEST_P}.gh.tar.gz + ) +" + +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND=" + >=dev-python/certifi-2021.10.8[${PYTHON_USEDEP}] + =dev-python/trio-0.17[${PYTHON_USEDEP}] + =dev-python/trio-websocket-0.9[${PYTHON_USEDEP}] + =dev-python/urllib3-1.26[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO: we may need extra setup or deps + test/selenium + + # expects vanilla certifi + test/unit/selenium/webdriver/remote/remote_connection_tests.py::test_get_connection_manager_for_certs_and_timeout + ) + + cd "${WORKDIR}/${TEST_P}/py" || die + rm -rf selenium || die + # https://github.com/SeleniumHQ/selenium/blob/selenium-4.8.2-python/py/test/runner/run_pytest.py#L20-L24 + # seriously? + epytest -o "python_files=*_tests.py test_*.py" +}