# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11,12} )

inherit distutils-r1

DESCRIPTION="Python bindings for libosmium"
HOMEPAGE="https://github.com/agrenott/npyosmium"
SRC_URI="https://github.com/agrenott/npyosmium/archive/refs/tags/v${PV}.tar.gz"

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	>=sci-libs/osmium-2.16.0
	>=dev-python/pybind11-2.2[${PYTHON_USEDEP}]
	dev-python/requests[${PYTHON_USEDEP}]
"