# 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 cldfbench plugin to create vizualisations of CLDF datasets"

HOMEPAGE="https://github.com/cldf/cldfviz"
LICENSE="Apache-2.0"
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="cartopy dev lingtreemaps network test"
DEPENDENCIES="dev-python/attrs[${PYTHON_USEDEP}]
	dev-python/cldfbench[${PYTHON_USEDEP}]
	dev-python/clldutils[${PYTHON_USEDEP}]
	dev-python/jinja2[${PYTHON_USEDEP}]
	dev-python/matplotlib[${PYTHON_USEDEP}]
	dev-python/newick[${PYTHON_USEDEP}]
	dev-python/numpy[${PYTHON_USEDEP}]
	dev-python/packaging[${PYTHON_USEDEP}]
	dev-python/pycldf[${PYTHON_USEDEP}]
	dev-python/pyglottolog[${PYTHON_USEDEP}]
	dev-python/termcolor[${PYTHON_USEDEP}]
	dev-python/toytree[${PYTHON_USEDEP}]
	dev-python/tqdm[${PYTHON_USEDEP}]
	cartopy? ( dev-python/Cartopy[${PYTHON_USEDEP}] )
	cartopy? ( dev-python/scipy[${PYTHON_USEDEP}] )
	cartopy? ( dev-python/shapely[${PYTHON_USEDEP}] )
	dev? ( dev-python/build[${PYTHON_USEDEP}] )
	dev? ( dev-python/flake8[${PYTHON_USEDEP}] )
	dev? ( dev-python/twine[${PYTHON_USEDEP}] )
	dev? ( dev-python/wheel[${PYTHON_USEDEP}] )
	lingtreemaps? ( dev-python/biopython[${PYTHON_USEDEP}] )
	lingtreemaps? ( dev-python/lingtreemaps[${PYTHON_USEDEP}] )
	lingtreemaps? ( dev-python/pandas[${PYTHON_USEDEP}] )
	lingtreemaps? ( dev-python/pyyaml[${PYTHON_USEDEP}] )
	lingtreemaps? ( dev-python/shapely[${PYTHON_USEDEP}] )
	network? ( dev-python/networkx[${PYTHON_USEDEP}] )
	test? ( >=dev-python/coverage-4.2[${PYTHON_USEDEP}] )
	test? ( dev-python/networkx[${PYTHON_USEDEP}] )
	test? ( dev-python/pytest-cov[${PYTHON_USEDEP}] )
	test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )
	test? ( >=dev-python/pytest-5.0[${PYTHON_USEDEP}] )
	test? ( dev-python/requests-mock[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"