1
0
mirror of synced 2024-06-28 23:32:52 +02:00
TheChymera-overlay/sci-libs/Rtree/Rtree-0.8.3_p20180802.ebuild
2018-10-05 14:47:28 +02:00

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
}