diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-21 06:01:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-21 06:01:43 +0100 |
commit | 0cdd46ad5d0cd7ede78815175764fdf76649d46e (patch) | |
tree | 8ece938369c65a410a308f3f05ebb9d2a7fdc008 /dev-python/selenium | |
parent | d33b3cf6cff9fdbfc8362bf854c3c34b2c28d518 (diff) |
gentoo auto-resync : 21:04:2023 - 06:01:43
Diffstat (limited to 'dev-python/selenium')
-rw-r--r-- | dev-python/selenium/Manifest | 3 | ||||
-rw-r--r-- | dev-python/selenium/selenium-4.9.0.ebuild | 63 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/selenium/Manifest b/dev-python/selenium/Manifest index 548a36b8b38d..c1ef3d29a2f1 100644 --- a/dev-python/selenium/Manifest +++ b/dev-python/selenium/Manifest @@ -1,6 +1,9 @@ DIST selenium-4.5.0-py3-none-any.whl 995204 BLAKE2B 214050a4e410a4689255ec8472a1cb35a37596e73d46c48769aa8e184b6f84e281a20e7e5f812b8185edacfcbca6eed77507aa59ffcaeae384f962b4214928a0 SHA512 b22d80d750c85337a2b793799b5a63b11bed45d11b874c1a64c02f53b4adb57263e69bebc79203de3bdfa5b8708203959971723cf0aef7fb68bd1b2a9028e9d9 DIST selenium-4.8.3.tar.gz 6332823 BLAKE2B cf874ab56182471055aa3d76d8828529f3c54f04eb9b7bd9342a87eade9c39875eecf00fce4f47019d5453bd65a0e5ace99170770394fc21bec1cf8d7998c579 SHA512 8bcaacb1f809e92ba9c1d14ccc0560979a29d27d61bfcd7d7fa08c3ee877c98699a0c5ffbb361ea37f0cc01a51b44b3d04ed4df025340bea7f842b4376d2715c +DIST selenium-4.9.0.tar.gz 6336895 BLAKE2B 4a812324abd1903f14b03a73d21125eb83b753a553bcc4515aa4a3dc792bfb07bfacf34e35357f81c36675d9079bafe5f289a63c709df57358103a9141cef535 SHA512 3bfba3d862de73261e984e4dce3c2ff77b0f57074073b38648cbbe6908f2d20a5fadef8b23b6a292d780bfe3556291e26c2a7b1cc4b314cc959e78e0a2dcc6dc DIST selenium-selenium-4.8.3-python.gh.tar.gz 90236640 BLAKE2B 943497a5015da8a626f210568715c6839b566feb7a04cf28230c2eded44ca3d110d782d9f90730206c0a2135200d81a960d60974662ce63dc1cf2e3cc09a4f0e SHA512 d3182eec2229872860ba370e99b3093fe73a519e839bfdcd01b2c3cc74e28b51c272e7fe176c2123d2af21d6cda1fec99051362c4ee10469359d8a24a8bdc7e8 +DIST selenium-selenium-4.9.0.gh.tar.gz 90247221 BLAKE2B fe99ac519ef4ced5f61721d1e3bae70e938b4a481582623a33f4d5a2fd1978c42e216501eb25ac7496957c2ea37a3ad97aff7ab7adf440e1428a311410024aca SHA512 9e745eae4cf6ea95fe1268b79a80734f4b67b0948fa5bfb144d6b681cd4b353add5c1a1d16b3f35652b6fa4a5b135f8a5203de97fcb9af0c27060a45b6269225 EBUILD selenium-4.5.0.ebuild 781 BLAKE2B 340cf76c9431b8e7598c4fbe415808814a9f7e7d0657d748bbf75ff764dfc7ca0e38f74e21ad60e529fe0ccf2928ea17081e21ef6d23d916c5a51ac8ba346d89 SHA512 ee70ecee71bcb2f36f227f69200dece1fcda518550c1ae74eae0e16f03e091fcc756968cb2cf74a6c038fe1dbde8222faee48bc4c09d2286651368687e70fa72 EBUILD selenium-4.8.3.ebuild 1649 BLAKE2B 22dbd2a61522eca41b3a6cb53abc2940e20061b3195c5a2753074053ad08cf6d25ed9ae4d6a46d78f68547447768ac79b2a3f2b463c91353aefc19aa22609853 SHA512 29aceae985983379b254021a62f63abc765167d9d50781a743a2426ad4833b2643995d4ce999135acfdfa098c0b0e7c5e64456a1cc0d137396e160c9dd5188fa +EBUILD selenium-4.9.0.ebuild 1642 BLAKE2B 65c2a49ae463f84bcb7da58dd5789646068f9af7224ebe6587ff6d6b16fc198d8255b8175371435ebc0fb12584a94f2992a9cfe63e613bd934614edd0ee77b08 SHA512 a3bc0b7a377a52a7c032a0c3790d40664305f1cc83756b1f972b375fc3ebadc08279186ff21a9e06a473e20544908ed99c306c5086c3e53ea94738a7107dee0c MISC metadata.xml 383 BLAKE2B d437d1631cefdba12fe2c3ce38ddff34bf9dd2bbc777d5d3425556bda76865711c991c9e3a735130a1d55cb7c6578b083ecb473c28706a2d45563b31bdbe6d1b SHA512 c087323da996b9ad4d0bf8f00306cf044d5daab194b60af029cb1ce06bf60c660fd5959b7914e6f1103143c3e4533d293a6d3bd0ec1c95163eba09d8a19c13a1 diff --git a/dev-python/selenium/selenium-4.9.0.ebuild b/dev-python/selenium/selenium-4.9.0.ebuild new file mode 100644 index 000000000000..b61d9b6e44dc --- /dev/null +++ b/dev-python/selenium/selenium-4.9.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_{9..11} ) + +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 ~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/urllib3-2[${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" +} |