# 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="Utilities to work with Data Packages as defined on specs.frictionlessdata.io"

HOMEPAGE="https://github.com/frictionlessdata/datapackage-py"
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="cchardet develop"
DEPENDENCIES=">=dev-python/six-1.10[${PYTHON_USEDEP}]
	>=dev-python/click-6.7[${PYTHON_USEDEP}]
	>=dev-python/chardet-3.0[${PYTHON_USEDEP}]
	>=dev-python/requests-2.8[${PYTHON_USEDEP}]
	>=dev-python/jsonschema-2.5[${PYTHON_USEDEP}]
	dev-python/unicodecsv[${PYTHON_USEDEP}]
	>=dev-python/jsonpointer-1.10[${PYTHON_USEDEP}]
	dev-python/tableschema[${PYTHON_USEDEP}]
	dev-python/dataflows-tabulator[${PYTHON_USEDEP}]
	cchardet? ( dev-python/cchardet[${PYTHON_USEDEP}] )
	develop? ( dev-python/mock[${PYTHON_USEDEP}] )
	develop? ( dev-python/pylama[${PYTHON_USEDEP}] )
	develop? ( dev-python/pytest[${PYTHON_USEDEP}] )
	develop? ( dev-python/pytest-cov[${PYTHON_USEDEP}] )
	develop? ( dev-python/httpretty[${PYTHON_USEDEP}] )
	develop? ( dev-python/tableschema-sql[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"