diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-20 11:40:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-20 11:40:01 +0000 |
commit | d6ecedbb65041ed35010095376e87dd7de4270c5 (patch) | |
tree | f00964f121a5ec52d2f3d1fd00a8f3eb52f9c756 /dev-python/selenium | |
parent | 89a009d7439343e207e8c7e4df1a28adecafeffe (diff) |
gentoo auto-resync : 20:02:2024 - 11:40:01
Diffstat (limited to 'dev-python/selenium')
-rw-r--r-- | dev-python/selenium/Manifest | 3 | ||||
-rw-r--r-- | dev-python/selenium/selenium-4.18.1.ebuild | 65 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/selenium/Manifest b/dev-python/selenium/Manifest index a22ceb88ee4e..17b0f5f96a87 100644 --- a/dev-python/selenium/Manifest +++ b/dev-python/selenium/Manifest @@ -1,7 +1,10 @@ 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-4.18.1.tar.gz 9790321 BLAKE2B ec2960ea5877aa71a6328eac0d10fcda08520e99471e3460ab9ad46e821f9fabd40e1e5bfea63486fbd4f75aae312fe1ab2a9210f52b188f43b22495477d09a6 SHA512 bf959012df65dd97b71ee585a88c035ca6079107d9623d7722693328a35cd16609dfba1d50b34d3122e2d6b2e51808aed29cc80c6c741557a4d24c3df8b13deb 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 +DIST selenium-selenium-4.18.1.gh.tar.gz 77568094 BLAKE2B af8a9fb058e16bbf3d71e4487bcf80aca19920d8e03f5a218ba3acfdc931cc95b8c557e42f97619f08ae3f3f59f9761663a65096678c43b0b1b9fae8e2dbd356 SHA512 6bdfbb45cdf7e036cb5e27cf8c2b3952413cc0d02257e1333baaa774f1c6188ae16fe75aa1054ff2af31a8215c11835c9d64f39b0b0170a3f04760f192f42e94 EBUILD selenium-4.16.0.ebuild 1649 BLAKE2B c125acb75d9d1a010d298151e11f82802e2ba32749cb1afd2babc4e9cbe985a2ee2032dd89578526baa681b0142d24d3a60d2f4e7aa229977aa170c1d7692136 SHA512 9c8ab48fbf347da1198486c48205371a751a62127f935ce3ae8aa8da115f443ef52cbef837e5627886c781aa140d7f6c3296fe4d1255be4dc95d1a7ebee972bb EBUILD selenium-4.18.0.ebuild 1761 BLAKE2B 7355cdbe8cbc655516b61e9fa05ce6f69cd486c97d60faabb28c8ca4fd511cce8636fad799cb913adc89c9f53b1b6f220c2de6f9c8f715a86af2609fa33928ed SHA512 a0447ac8813cdf208fff5d1de476e1db77ff942bafaf5c5f57659569b3dd82390cf67b574c3b1c399f67a0a072cb855bdbf4e65e83dbe0d8be5aa374351fb53e +EBUILD selenium-4.18.1.ebuild 1761 BLAKE2B 7355cdbe8cbc655516b61e9fa05ce6f69cd486c97d60faabb28c8ca4fd511cce8636fad799cb913adc89c9f53b1b6f220c2de6f9c8f715a86af2609fa33928ed SHA512 a0447ac8813cdf208fff5d1de476e1db77ff942bafaf5c5f57659569b3dd82390cf67b574c3b1c399f67a0a072cb855bdbf4e65e83dbe0d8be5aa374351fb53e MISC metadata.xml 383 BLAKE2B d437d1631cefdba12fe2c3ce38ddff34bf9dd2bbc777d5d3425556bda76865711c991c9e3a735130a1d55cb7c6578b083ecb473c28706a2d45563b31bdbe6d1b SHA512 c087323da996b9ad4d0bf8f00306cf044d5daab194b60af029cb1ce06bf60c660fd5959b7914e6f1103143c3e4533d293a6d3bd0ec1c95163eba09d8a19c13a1 diff --git a/dev-python/selenium/selenium-4.18.1.ebuild b/dev-python/selenium/selenium-4.18.1.ebuild new file mode 100644 index 000000000000..cd1feb489ced --- /dev/null +++ b/dev-python/selenium/selenium-4.18.1.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-1[${PYTHON_USEDEP}] + >=dev-python/trio-0.17[${PYTHON_USEDEP}] + <dev-python/trio-websocket-1[${PYTHON_USEDEP}] + >=dev-python/trio-websocket-0.9[${PYTHON_USEDEP}] + <dev-python/typing-extensions-5[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.9[${PYTHON_USEDEP}] + <dev-python/urllib3-3[${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" +} |