# 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 Python library to dump table schema of a SQLite database file."

HOMEPAGE="https://github.com/thombashi/sqliteschema"
LICENSE="MIT"
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="cli dumps logging test"
DEPENDENCIES="dev-python/mbstrdecoder[${PYTHON_USEDEP}]
	dev-python/tabledata[${PYTHON_USEDEP}]
	dev-python/typepy[${PYTHON_USEDEP}]
	cli? ( dev-python/pytablewriter[${PYTHON_USEDEP}] )
	cli? ( <dev-python/loguru-1.0[${PYTHON_USEDEP}] )
	dumps? ( dev-python/pytablewriter[${PYTHON_USEDEP}] )
	logging? ( <dev-python/loguru-1.0[${PYTHON_USEDEP}] )
	test? ( dev-python/SimpleSQLite[${PYTHON_USEDEP}] )
	test? ( dev-python/pytablewriter[${PYTHON_USEDEP}] )
	test? ( >=dev-python/pytest-6.0.1[${PYTHON_USEDEP}] )
	test? ( dev-python/pytest-md-report[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"