From 6b36d02cbdfea303a1d9bf985b6e8c984c7ac3cf Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 18 May 2023 22:13:50 +0100 Subject: gentoo auto-resync : 18:05:2023 - 22:13:50 --- dev-python/selenium/Manifest | 2 +- dev-python/selenium/selenium-4.9.1-r1.ebuild | 63 ++++++++++++++++++++++++++++ dev-python/selenium/selenium-4.9.1.ebuild | 63 ---------------------------- 3 files changed, 64 insertions(+), 64 deletions(-) create mode 100644 dev-python/selenium/selenium-4.9.1-r1.ebuild delete mode 100644 dev-python/selenium/selenium-4.9.1.ebuild (limited to 'dev-python/selenium') diff --git a/dev-python/selenium/Manifest b/dev-python/selenium/Manifest index f1a098a9aba8..1bcc70664fb4 100644 --- a/dev-python/selenium/Manifest +++ b/dev-python/selenium/Manifest @@ -3,5 +3,5 @@ DIST selenium-4.9.1.tar.gz 6341857 BLAKE2B dd6461e096a15170c37b3e95f2f492da5bc16 DIST selenium-selenium-4.9.0.gh.tar.gz 90247221 BLAKE2B fe99ac519ef4ced5f61721d1e3bae70e938b4a481582623a33f4d5a2fd1978c42e216501eb25ac7496957c2ea37a3ad97aff7ab7adf440e1428a311410024aca SHA512 9e745eae4cf6ea95fe1268b79a80734f4b67b0948fa5bfb144d6b681cd4b353add5c1a1d16b3f35652b6fa4a5b135f8a5203de97fcb9af0c27060a45b6269225 DIST selenium-selenium-4.9.1.gh.tar.gz 90261099 BLAKE2B 4ef22ed67881036b3b20642bf6288a9afd518364f0271843b9d4ebcc2ccdfe3f259d5f6e7e52c375ff94e65f533810d3b51059433890277f440d23e50c5b1acf SHA512 fac1b0c50b6983fce7d2e5b40347dde05ca8b2907a9a6e06905f521d3bc9a05f61eed3bc07b91b0163958580a67605500d3e928aeed73b44b34a4b2a7ebeaca3 EBUILD selenium-4.9.0.ebuild 1635 BLAKE2B 25060ec7f77dd8decc1ed42209e8b12073b5496a4a0a7a73adcf035bfd5f15377fc6891921f9dfda37b3bd308b7dcfa96c30ae69a2b20a629beb24944167a783 SHA512 65853cf7625e8ecb36f18770c2d24c21c956a2b3734c6421b2053a2a281a28b58e57a91a8a74d50bb49db0339a8b3ff422afcab15cf45f1ba5ce8ef34bed5fa3 -EBUILD selenium-4.9.1.ebuild 1642 BLAKE2B 65c2a49ae463f84bcb7da58dd5789646068f9af7224ebe6587ff6d6b16fc198d8255b8175371435ebc0fb12584a94f2992a9cfe63e613bd934614edd0ee77b08 SHA512 a3bc0b7a377a52a7c032a0c3790d40664305f1cc83756b1f972b375fc3ebadc08279186ff21a9e06a473e20544908ed99c306c5086c3e53ea94738a7107dee0c +EBUILD selenium-4.9.1-r1.ebuild 1642 BLAKE2B 53c6f6d490a1786814a5cb520adcf2446fa6a6bdb6db0a3e29bff6d5044f635f8ea15be5ba1fba4e8a2ebe3045024bdf4d4a44acfd93e599b9d9887727d494d0 SHA512 fe652ae4acdb00c0893ac5109820aadc9f1978ba56ea66b34bb782129f35a5fb27354acb24ae4451cbe37a631863138cab74485f9639950151d830e8f28f96bc MISC metadata.xml 383 BLAKE2B d437d1631cefdba12fe2c3ce38ddff34bf9dd2bbc777d5d3425556bda76865711c991c9e3a735130a1d55cb7c6578b083ecb473c28706a2d45563b31bdbe6d1b SHA512 c087323da996b9ad4d0bf8f00306cf044d5daab194b60af029cb1ce06bf60c660fd5959b7914e6f1103143c3e4533d293a6d3bd0ec1c95163eba09d8a19c13a1 diff --git a/dev-python/selenium/selenium-4.9.1-r1.ebuild b/dev-python/selenium/selenium-4.9.1-r1.ebuild new file mode 100644 index 000000000000..7a8817715606 --- /dev/null +++ b/dev-python/selenium/selenium-4.9.1-r1.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-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" +} diff --git a/dev-python/selenium/selenium-4.9.1.ebuild b/dev-python/selenium/selenium-4.9.1.ebuild deleted file mode 100644 index b61d9b6e44dc..000000000000 --- a/dev-python/selenium/selenium-4.9.1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# 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-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" -} -- cgit v1.2.3