mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
dev-python/cloudscraper: New package
Signed-off-by: Ekaterina Vaartis <vaartis@kotobank.ch> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
27658d573f
commit
541a457edc
1
dev-python/cloudscraper/Manifest
Normal file
1
dev-python/cloudscraper/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST cloudscraper-1.2.58.tar.gz 110992 BLAKE2B b3e002d559ebdbb07686d74fe9967776f832397758653c2d6fe8ba766239d5744608fe6f321a0284c1da02a1ddb8257d7ce1931bb5adf71096e4151dbb9cb2a2 SHA512 bab8a9b00e891d2e0b982200de1a9a8fd800f554bda02624a963d0de19388880c4abf2ee32944177853eb7cb14e67521b0591e8d9430d1789425e67de9f1d467
|
||||
39
dev-python/cloudscraper/cloudscraper-1.2.58.ebuild
Normal file
39
dev-python/cloudscraper/cloudscraper-1.2.58.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
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 -> ${PF}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
dev-python/requests-toolbelt[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/js2py[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/responses[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
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"
|
||||
}
|
||||
21
dev-python/cloudscraper/metadata.xml
Normal file
21
dev-python/cloudscraper/metadata.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>vaartis@kotobank.ch</email>
|
||||
<name>Ekaterina Vaartis</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
A simple Python module to bypass Cloudflare's anti-bot page (also known as "I'm Under Attack Mode", or IUAM),
|
||||
implemented with Requests
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">venomous/cloudscraper</remote-id>
|
||||
<remote-id type="pypi">cloudscraper</remote-id>
|
||||
</upstream>
|
||||
<stabilize-allarches/>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user