summaryrefslogtreecommitdiff
path: root/dev-python/playwright-captcha/playwright-captcha-0.1.5.ebuild
diff options
context:
space:
mode:
authorCrucible <crucible@localhost>2026-10-19 21:49:31 -0500
committerCrucible <crucible@localhost>2026-10-19 21:49:31 -0500
commit7381ef26a3e14a703da91508b2cc8606c34b804d (patch)
tree1ded3c74a64f9591c982f01ed71ab968a8bfad24 /dev-python/playwright-captcha/playwright-captcha-0.1.5.ebuild
parent3b4c7e627726016d50653b6dd2e06020a1915eac (diff)
downloadsrcux-7381ef26a3e14a703da91508b2cc8606c34b804d.tar.gz
srcux-7381ef26a3e14a703da91508b2cc8606c34b804d.tar.xz
srcux-7381ef26a3e14a703da91508b2cc8606c34b804d.zip
Publish srcux candidate 0000000740-20261019-200200
Diffstat (limited to 'dev-python/playwright-captcha/playwright-captcha-0.1.5.ebuild')
-rw-r--r--dev-python/playwright-captcha/playwright-captcha-0.1.5.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/playwright-captcha/playwright-captcha-0.1.5.ebuild b/dev-python/playwright-captcha/playwright-captcha-0.1.5.ebuild
new file mode 100644
index 000000000000..a5a221ecf5d2
--- /dev/null
+++ b/dev-python/playwright-captcha/playwright-captcha-0.1.5.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# No tags in the repository, but there are tags on PyPI
+EGIT_COMMIT="b316e4f4989d7b2b9fdd9ee4826cf4aeb9cb1151"
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="Automating captcha solving for Playwright"
+HOMEPAGE="
+ https://github.com/techinz/playwright-captcha
+ https://pypi.org/project/playwright-captcha/
+"
+SRC_URI="https://github.com/techinz/playwright-captcha/archive/${EGIT_COMMIT}.tar.gz -> ${P}.gh.tar.gz"
+
+S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
+
+# License file is different from the license field in `pyproject.toml`
+LICENSE="Apache-2.0 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/2captcha[${PYTHON_USEDEP}]
+ dev-python/playwright[${PYTHON_USEDEP}]
+ dev-python/python-dotenv[${PYTHON_USEDEP}]
+"
+
+EPYTEST_DESELECT=(
+ "tests/integration/test_cloudflare_click.py::TestCloudflareClickSolvers::test_click_interstitial_solver"
+ "tests/integration/test_cloudflare_click.py::TestCloudflareClickSolvers::test_click_turnstile_solver"
+)
+
+EPYTEST_PLUGINS=( pytest-asyncio )
+distutils_enable_tests pytest