diff options
author | Ekaterina Vaartis <vaartis@kotobank.ch> | 2022-12-02 18:12:02 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-12-03 10:53:04 +0200 |
commit | a68dc9756d7ec6c7b0ddb364ac9e37f7fd9fedd6 (patch) | |
tree | 782ff05287eaea9c074511632d5106270e303529 /dev-python/cloudscraper | |
parent | dev-python/cloudscraper: Drop 1.2.62 (diff) | |
download | gentoo-a68dc9756d7ec6c7b0ddb364ac9e37f7fd9fedd6.tar.gz gentoo-a68dc9756d7ec6c7b0ddb364ac9e37f7fd9fedd6.tar.bz2 gentoo-a68dc9756d7ec6c7b0ddb364ac9e37f7fd9fedd6.zip |
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>
Diffstat (limited to 'dev-python/cloudscraper')
-rw-r--r-- | dev-python/cloudscraper/Manifest | 1 | ||||
-rw-r--r-- | dev-python/cloudscraper/cloudscraper-1.2.65.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/cloudscraper/Manifest b/dev-python/cloudscraper/Manifest index e69de29bb2d1..da43c4fbd55f 100644 --- a/dev-python/cloudscraper/Manifest +++ b/dev-python/cloudscraper/Manifest @@ -0,0 +1 @@ +DIST cloudscraper-1.2.65.gh.tar.gz 111946 BLAKE2B 7b53819ceb3349c9e8bc24cfd3138119b46bd88daa639d1c29b7e7477f0fc2cb323b3e485832236eadf48be76d16a2dde93cadffe594fc7b7d43b24651de45eb SHA512 e885e7e0b7e91318da4b6d65165961fbae27951be9b4f05af96e7eeaf1e28e1146af52c10bf0b769f07fc04016998eed9146ec92504a591d81434a101c6d6850 diff --git a/dev-python/cloudscraper/cloudscraper-1.2.65.ebuild b/dev-python/cloudscraper/cloudscraper-1.2.65.ebuild new file mode 100644 index 000000000000..e078ea19abe5 --- /dev/null +++ b/dev-python/cloudscraper/cloudscraper-1.2.65.ebuild @@ -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" +} |