# automatically generated by g-sorcery
# please do not edit this file

EAPI=8

REALNAME="${PN}"
LITERALNAME="${PN}"
REALVERSION="${PV}"
DIGEST_SOURCES="yes"
PYTHON_COMPAT=( python{3_11,3_12,3_13,3_14} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="Scrapling is an undetectable, powerful, flexible, high-performance Python library that makes Web Scraping easy and effortless as it should be!"

HOMEPAGE="https://github.com/D4Vinci/Scrapling"
LICENSE="BSD 3-Clause License"
SRC_URI="https://files.pythonhosted.org/packages/source/${REALNAME::1}/${REALNAME}/${REALNAME}-${REALVERSION}.tar.gz"
SOURCEFILE="${REALNAME}-${REALVERSION}.tar.gz"
RESTRICT="test"

SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="ai all fetchers shell"
DEPENDENCIES=">=dev-python/lxml-6.0.2[${PYTHON_USEDEP}]
	>=dev-python/cssselect-1.3.0[${PYTHON_USEDEP}]
	>=dev-python/orjson-3.11.5[${PYTHON_USEDEP}]
	>=dev-python/tldextract-5.3.1[${PYTHON_USEDEP}]
	fetchers? ( >=dev-python/click-8.3.0[${PYTHON_USEDEP}] )
	fetchers? ( dev-python/curl-cffi[${PYTHON_USEDEP}] )
	fetchers? ( dev-python/playwright[${PYTHON_USEDEP}] )
	fetchers? ( dev-python/patchright[${PYTHON_USEDEP}] )
	fetchers? ( dev-python/browserforge[${PYTHON_USEDEP}] )
	fetchers? ( >=dev-python/msgspec-0.20.0[${PYTHON_USEDEP}] )
	ai? ( dev-python/mcp[${PYTHON_USEDEP}] )
	ai? ( dev-python/markdownify[${PYTHON_USEDEP}] )
	ai? ( dev-python/scrapling[${PYTHON_USEDEP}] )
	shell? ( >=dev-python/ipython-8.37[${PYTHON_USEDEP}] )
	shell? ( dev-python/markdownify[${PYTHON_USEDEP}] )
	shell? ( dev-python/scrapling[${PYTHON_USEDEP}] )
	all? ( dev-python/scrapling[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"