29 lines
660 B
Bash
29 lines
660 B
Bash
# Copyright 1999-2018 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI="7"
|
|
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
|
|
|
inherit distutils-r1
|
|
|
|
EGIT_COMMIT_HASH="c6437a8ae182cb58aef1d0a4465bfc0c6f75b273"
|
|
|
|
DESCRIPTION="R-Tree spatial index for Python GIS"
|
|
HOMEPAGE="https://github.com/Toblerity/rtree"
|
|
SRC_URI="https://github.com/Toblerity/rtree/archive/${EGIT_COMMIT_HASH}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="LGPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="sci-libs/libspatialindex
|
|
sci-libs/scipy"
|
|
DEPEND="dev-python/setuptools"
|
|
|
|
S="${WORKDIR}/rtree-${EGIT_COMMIT_HASH}"
|
|
|
|
python_test() {
|
|
pytest --verbose || die
|
|
}
|