# 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="Utils and helpers for crawling websites"

HOMEPAGE="https://github.com/sniter/grabutils"
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="all bs img jspo rest ssh"
DEPENDENCIES="all? ( dev-python/beautifulsoup4[${PYTHON_USEDEP}] )
	all? ( dev-python/lxml[${PYTHON_USEDEP}] )
	all? ( dev-python/paramiko[${PYTHON_USEDEP}] )
	all? ( dev-python/scp[${PYTHON_USEDEP}] )
	all? ( dev-python/requests[${PYTHON_USEDEP}] )
	all? ( dev-python/pillow[${PYTHON_USEDEP}] )
	all? ( dev-python/jmespath[${PYTHON_USEDEP}] )
	bs? ( dev-python/beautifulsoup4[${PYTHON_USEDEP}] )
	bs? ( dev-python/lxml[${PYTHON_USEDEP}] )
	img? ( dev-python/pillow[${PYTHON_USEDEP}] )
	jspo? ( dev-python/jmespath[${PYTHON_USEDEP}] )
	rest? ( dev-python/requests[${PYTHON_USEDEP}] )
	ssh? ( dev-python/paramiko[${PYTHON_USEDEP}] )
	ssh? ( dev-python/scp[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"