# 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 pypi

DESCRIPTION="Python bindings for libosmium"
HOMEPAGE="https://github.com/osmcode/pyosmium"

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

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