From 9aa795a0179b29f7489bd04584bc8d2914da467b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 19 Feb 2024 17:39:35 +0000 Subject: gentoo auto-resync : 19:02:2024 - 17:39:34 --- dev-python/selenium/Manifest | 3 ++ dev-python/selenium/selenium-4.18.0.ebuild | 65 ++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 dev-python/selenium/selenium-4.18.0.ebuild (limited to 'dev-python/selenium') diff --git a/dev-python/selenium/Manifest b/dev-python/selenium/Manifest index 82116f2c4b3f..a22ceb88ee4e 100644 --- a/dev-python/selenium/Manifest +++ b/dev-python/selenium/Manifest @@ -1,4 +1,7 @@ DIST selenium-4.16.0.tar.gz 9741404 BLAKE2B 13b24b883ff6d276164ed845405e70c0267506656ce4ee63f0653e409e3c70fd8d3aa2bc1a551d051ea0c95f0bb6b60b5474caefd69e0bddfc97d1cbf9aabbcf SHA512 86aea8f4a23b9e70de36c3024cf5eee32f4d44a6868bd98eda547d9ca51179b4618c6c408e0d0a658c621de2573e98b3d8093753a9c335986a287e00fb3238c8 +DIST selenium-4.18.0.tar.gz 9781506 BLAKE2B 6e32db8e5e5e143047fd8c2dd590b2b47a62f06a0f080400d79b86715e48d4361b4db59d458961c4a0572c3ccea056b6d7c8c307b5312d00a12f425c5317cef8 SHA512 b2367bd263c739afb29b459467d046ee2cf17ba03b70a25c2160d4982acc9ffdf9c65f8961e8c17eb0d67a843f6c857779308454e710f9ccc6e2e6ece145f10c DIST selenium-selenium-4.16.0.gh.tar.gz 77969888 BLAKE2B efc9b444762eb8921d35a2ed1b86c197d314a2e5d65fd430ff996735acf0c1dc03c25a9300946d98230a87f1eed4c0260ec57238f49853b6461a1f0cbeb3e151 SHA512 05cf76bb6df21f32a04485c4a1180d02f028ecb5c49f5f680bcdcc9711ca9f407a6e2d6754708cf2023ca6a19910a411711393892a741bc1f658496bbc809ac2 +DIST selenium-selenium-4.18.0.gh.tar.gz 77571210 BLAKE2B 13d8454d1aaf31f58aa89f5dff4677f34a7b0dd2ace3d42a1f7bf978614abc764bd7a2584133a501c9c533779cbb9976d792d78c898aada39b70899039b8236e SHA512 e782d79950f58fe315823ac749dd919786c6ca71b1b582c396c4fdc7c922411157d3e60294382a00b5633a4f76eff994298e60f3edc18459dc5a14fe94b16b58 EBUILD selenium-4.16.0.ebuild 1649 BLAKE2B c125acb75d9d1a010d298151e11f82802e2ba32749cb1afd2babc4e9cbe985a2ee2032dd89578526baa681b0142d24d3a60d2f4e7aa229977aa170c1d7692136 SHA512 9c8ab48fbf347da1198486c48205371a751a62127f935ce3ae8aa8da115f443ef52cbef837e5627886c781aa140d7f6c3296fe4d1255be4dc95d1a7ebee972bb +EBUILD selenium-4.18.0.ebuild 1761 BLAKE2B 7355cdbe8cbc655516b61e9fa05ce6f69cd486c97d60faabb28c8ca4fd511cce8636fad799cb913adc89c9f53b1b6f220c2de6f9c8f715a86af2609fa33928ed SHA512 a0447ac8813cdf208fff5d1de476e1db77ff942bafaf5c5f57659569b3dd82390cf67b574c3b1c399f67a0a072cb855bdbf4e65e83dbe0d8be5aa374351fb53e MISC metadata.xml 383 BLAKE2B d437d1631cefdba12fe2c3ce38ddff34bf9dd2bbc777d5d3425556bda76865711c991c9e3a735130a1d55cb7c6578b083ecb473c28706a2d45563b31bdbe6d1b SHA512 c087323da996b9ad4d0bf8f00306cf044d5daab194b60af029cb1ce06bf60c660fd5959b7914e6f1103143c3e4533d293a6d3bd0ec1c95163eba09d8a19c13a1 diff --git a/dev-python/selenium/selenium-4.18.0.ebuild b/dev-python/selenium/selenium-4.18.0.ebuild new file mode 100644 index 000000000000..cd1feb489ced --- /dev/null +++ b/dev-python/selenium/selenium-4.18.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +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/typing-extensions-4.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" +} -- cgit v1.2.3