# 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="Python binding to windivert driver"

HOMEPAGE="https://github.com/ffalcinelli/pydivert"
LICENSE="LGPL-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="docs test"
DEPENDENCIES="docs? ( >=dev-python/sphinx-1.4.8[${PYTHON_USEDEP}] )
	test? ( >=dev-python/mock-1.0.1[${PYTHON_USEDEP}] )
	test? ( >=dev-python/hypothesis-3.5.3[${PYTHON_USEDEP}] )
	test? ( >=dev-python/pytest-3.0.3[${PYTHON_USEDEP}] )
	test? ( >=dev-python/pytest-cov-2.2.1[${PYTHON_USEDEP}] )
	test? ( <dev-python/pytest-timeout-2.0[${PYTHON_USEDEP}] )
	test? ( dev-python/pytest-faulthandler[${PYTHON_USEDEP}] )
	test? ( dev-python/codecov[${PYTHON_USEDEP}] )
	test? ( >=dev-python/wheel-0.29[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"