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

EAPI=8

REALNAME="mt-940"
LITERALNAME="mt-940"
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 library to parse MT940 files and returns smart Python collections for statistics and manipulation."

HOMEPAGE="https://github.com/WoLpH/mt940"
LICENSE="BSD"
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 tests"
DEPENDENCIES="docs? ( >=dev-python/sphinx-1.7.2[${PYTHON_USEDEP}] )
	docs? ( >=dev-python/gitpython-2.1.9[${PYTHON_USEDEP}] )
	docs? ( dev-python/sphinx2rst[${PYTHON_USEDEP}] )
	tests? ( dev-python/pyyaml[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-cache[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-cover[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-flake8[${PYTHON_USEDEP}] )
	tests? ( dev-python/flake8[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"