# 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 library for I/O and manipulation of projects under the Open Photogrammetry Format (OPF)"

HOMEPAGE="https://pix4d.github.io/opf-spec/specification/project.html"
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="tools"
DEPENDENCIES="dev-python/numpy[${PYTHON_USEDEP}]
	<dev-python/pillow-11.0[${PYTHON_USEDEP}]
	dev-python/pygltflib[${PYTHON_USEDEP}]
	dev-python/python-dateutil[${PYTHON_USEDEP}]
	dev-python/simplejson[${PYTHON_USEDEP}]
	tools? ( dev-python/laspy[${PYTHON_USEDEP}] )
	tools? ( dev-python/plyfile[${PYTHON_USEDEP}] )
	tools? ( ~dev-python/pyproj-3.6.0[${PYTHON_USEDEP}] )
	tools? ( dev-python/shapely[${PYTHON_USEDEP}] )
	tools? ( <dev-python/tqdm-5.0.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"