# 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 package wrapping C++ code for computing Wasserstein distances"

HOMEPAGE="https://github.com/pkomiske/Wasserstein"
LICENSE="GPL-3"
SRC_URI="https://files.pythonhosted.org/packages/2a/bf/c00067dcfbb70042402d25d61a33a05085a141c490045e1bb240da0815d3/Wasserstein-${REALVERSION}.tar.gz"
SOURCEFILE="Wasserstein-${REALVERSION}.tar.gz"
RESTRICT="test"

SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="test"
DEPENDENCIES=">=dev-python/numpy-1.12.0[${PYTHON_USEDEP}]
	>=dev-python/wurlitzer-2.0.0[${PYTHON_USEDEP}]
	test? ( dev-python/EnergyFlow[${PYTHON_USEDEP}] )
	test? ( dev-python/POT[${PYTHON_USEDEP}] )
	test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"