1- # Copyright 1999-2025 Gentoo Authors
1+ # Copyright 1999-2026 Gentoo Authors
22# Distributed under the terms of the GNU General Public License v2
33
44EAPI=8
@@ -10,17 +10,16 @@ inherit distutils-r1 pypi
1010
1111MY_PN=${PN// -bin/ }
1212MY_P=${MY_PN} -${PV}
13- HOSTED=" files.pythonhosted.org/packages/py3/${MY_P: 0: 1} /${MY_PN} /${MY_P} -py3-none"
1413
1514DESCRIPTION=" Automate Chromium, Firefox and WebKit browsers with a single API"
1615HOMEPAGE=" https://github.com/Microsoft/playwright-python"
1716
1817SRC_URI="
1918 amd64? (
20- https://${HOSTED} -manylinux1_x86_64.whl -> ${MY_P} _x86_64.zip
19+ https://files.pythonhosted.org/packages/27/9c/103a5037789062bdab27c7dca53f3ca6b075b572ab2cd96eec825b3aec4e/ ${MY_P} -py3-none -manylinux1_x86_64.whl -> ${MY_P} _x86_64.zip
2120 )
2221 arm64? (
23- https://${HOSTED} -manylinux_2_17_aarch64.manylinux2014_aarch64.whl -> ${MY_P} _aarch64.zip
22+ https://files.pythonhosted.org/packages/f3/82/3d85505284c5a210f2da6c07b8f757524e79d1fba9cfdafe1eafb766ae59/ ${MY_P} -py3-none -manylinux_2_17_aarch64.manylinux2014_aarch64.whl -> ${MY_P} _aarch64.zip
2423 )
2524"
2625S=" ${WORKDIR} /"
@@ -29,8 +28,6 @@ LICENSE="Apache-2.0"
2928SLOT=" 0"
3029KEYWORDS=" amd64"
3130
32- # RDEPEND=""
33- # DEPEND="${RDEPEND}"
3431BDEPEND=" app-arch/unzip"
3532
3633REQUIRED_USE=" ${PYTHON_REQUIRED_USE} "
@@ -47,18 +44,10 @@ src_compile() {
4744 einfo
4845}
4946
50- # python_src_install() {
5147src_install () {
52- # insinto "$(python_get_sitedir)"
53- # doins playwright
54- # doins playwright-1.42.0.dist-info
55-
5648 do_install () {
5749 python_domodule " ${MY_PN} "
5850 python_domodule " ${MY_PN} -${PV} .dist-info"
59- # FIXME: playwright/driver/node and playwright.sh must be executable?
60- # dosym /opt/${MY_PN} "$(python_get_sitedir)/${MY_PN}/executable"
6151 }
6252 python_foreach_impl do_install
63-
6453}
0 commit comments