# 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="Tools for generating CSV and other flat versions of the structured data"

HOMEPAGE="https://github.com/OpenDataServices/flatten-tool"
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="geo http"
DEPENDENCIES="dev-python/jsonref[${PYTHON_USEDEP}]
	dev-python/schema[${PYTHON_USEDEP}]
	>=dev-python/openpyxl-2.6[${PYTHON_USEDEP}]
	dev-python/pytz[${PYTHON_USEDEP}]
	dev-python/xmltodict[${PYTHON_USEDEP}]
	dev-python/lxml[${PYTHON_USEDEP}]
	dev-python/odfpy[${PYTHON_USEDEP}]
	dev-python/backports-datetime-fromisoformat[${PYTHON_USEDEP}]
	dev-python/ZODB[${PYTHON_USEDEP}]
	dev-python/zc-zlibstorage[${PYTHON_USEDEP}]
	dev-python/ijson[${PYTHON_USEDEP}]
	http? ( dev-python/requests[${PYTHON_USEDEP}] )
	geo? ( dev-python/shapely[${PYTHON_USEDEP}] )
	geo? ( dev-python/geojson[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"