# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

POSTGRES_COMPAT=( 10 11 12 13 )
POSTGRES_USEDEP="server"

inherit	postgres

DESCRIPTION="H3 bindings for Postgresql/PostGIS"
HOMEPAGE="https://h3geo.org/"
LICENSE="Apache-2.0"

SLOT="0"
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/dlr-eoc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
IUSE=""

RDEPEND="${POSTGRES_DEP}
        >=dev-db/postgis-2.0
	>=sci-geosciences/h3-3.7.1
"
DEPEND="${RDEPEND}"