dev-python/cloudscraper: Add 1.2.65

Signed-off-by: Ekaterina Vaartis <vaartis@kotobank.ch>
Closes: https://github.com/gentoo/gentoo/pull/28290
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Ekaterina Vaartis
2022-12-02 18:12:02 +03:00
committed by Joonas Niilola
parent e673379a90
commit a68dc9756d
2 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST cloudscraper-1.2.65.gh.tar.gz 111946 BLAKE2B 7b53819ceb3349c9e8bc24cfd3138119b46bd88daa639d1c29b7e7477f0fc2cb323b3e485832236eadf48be76d16a2dde93cadffe594fc7b7d43b24651de45eb SHA512 e885e7e0b7e91318da4b6d65165961fbae27951be9b4f05af96e7eeaf1e28e1146af52c10bf0b769f07fc04016998eed9146ec92504a591d81434a101c6d6850

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1 optfeature
DESCRIPTION="A Python module to bypass Cloudflare's anti-bot page"
HOMEPAGE="https://github.com/VeNoMouS/cloudscraper"
SRC_URI="https://github.com/VeNoMouS/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc64"
RDEPEND="
dev-python/pyparsing[${PYTHON_USEDEP}]
dev-python/requests-toolbelt[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/js2py[${PYTHON_USEDEP}]
dev-python/pytest-forked[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
dev-python/responses[${PYTHON_USEDEP}]
net-libs/nodejs
)
"
distutils_enable_tests pytest
pkg_postinst() {
optfeature "brotli decompresssion support" "dev-python/brotlipy"
optfeature "js2py interpreter support" "dev-python/js2py"
optfeature "node.js interpreter support" "net-libs/nodejs"
}