Skip to content

Commit

Permalink
sci-libs/Rtree: bump to 0.8.3_p20180802
Browse files Browse the repository at this point in the history
And bumped EAPI to 7
And added test suite

Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Horea Christian <horea.christ@gmail.com>
Closes: #10049
Signed-off-by: Michał Górny <mgorny@gentoo.org>
  • Loading branch information
TheChymera authored and mgorny committed Nov 3, 2018
1 parent 98e5416 commit 3a8f925
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions sci-libs/Rtree/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST Rtree-0.8.2.tar.gz 55813 BLAKE2B fd7391ef92c61a9d502d03376e1eef157dcfec77d3d46642d1b14bbe3a5021880641cbc741dd85e8b3b3d66a019db0a2eb638cfa76d109102459544969877eba SHA512 c0c1091c21e92022540a0aed09c00f3b2b6abb2869757e0cb7a68a120e3a289f275cea824a72172ea5b327696a67024894f5f01354f0cd5ec5b05d9b3ec130e0
DIST Rtree-0.8.3_p20180802.tar.gz 48893 BLAKE2B bd0745e8e5051a772c2d50fe35712dc661737f32f6af382579dbbffc7467c21ef73bbeb794489da9891e50497b6f8775b1a670185453d54881e6dc8496fef539 SHA512 10c35a1d00369b3a30c486830d7cecdae6bd9bbc2ab9ea7f398227bc46b116783b1486cc75759eb27d7b25439400cbc39b55e6f58c686caec45bbc8436c6067c
27 changes: 27 additions & 0 deletions sci-libs/Rtree/Rtree-0.8.3_p20180802.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"

RDEPEND="sci-libs/libspatialindex"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"

S="${WORKDIR}/rtree-${EGIT_COMMIT_HASH}"

python_test() {
pytest -vv || die
}
1 change: 1 addition & 0 deletions sci-libs/Rtree/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<email>slis@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">Toblerity/rtree</remote-id>
<remote-id type="pypi">Rtree</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit 3a8f925

Please sign in to comment.