# 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="A stripped-down version of the pyrocore tools for working with rTorrent"

HOMEPAGE="https://github.com/kannibalox/pyrosimple"
LICENSE="GPL-3+"
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="torque"
DEPENDENCIES="dev-python/bencode-py[${PYTHON_USEDEP}]
	torque? ( <dev-python/apscheduler-4.0.0[${PYTHON_USEDEP}] )
	<dev-python/jinja2-4.0.0[${PYTHON_USEDEP}]
	<dev-python/python-daemon-4.0.0[${PYTHON_USEDEP}]
	dev-python/parsimonious[${PYTHON_USEDEP}]
	<dev-python/prometheus-client-0.17.0[${PYTHON_USEDEP}]
	<dev-python/prompt-toolkit-4.0.0[${PYTHON_USEDEP}]
	<dev-python/requests-3.0.0[${PYTHON_USEDEP}]
	<dev-python/shtab-2.0.0[${PYTHON_USEDEP}]
	torque? ( dev-python/inotify[${PYTHON_USEDEP}] )
	<dev-python/python-box-8.0.0[${PYTHON_USEDEP}]
	<dev-python/tomli-w-2.0.0[${PYTHON_USEDEP}]"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"