sci-libs/Rtree: bump to 0.8.3_p20180802
authorHorea Christian <horea.christ@yandex.com>
Tue, 2 Oct 2018 21:39:11 +0000 (23:39 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 3 Nov 2018 08:19:22 +0000 (09:19 +0100)
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: https://github.com/gentoo/gentoo/pull/10049
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sci-libs/Rtree/Manifest
sci-libs/Rtree/Rtree-0.8.3_p20180802.ebuild [new file with mode: 0644]
sci-libs/Rtree/metadata.xml

index 335282a7baf2c94d8361ae8d6f32333d86536c33..db4f240ad24e82205451e8421f9be88107105fae 100644 (file)
@@ -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
diff --git a/sci-libs/Rtree/Rtree-0.8.3_p20180802.ebuild b/sci-libs/Rtree/Rtree-0.8.3_p20180802.ebuild
new file mode 100644 (file)
index 0000000..2c31f17
--- /dev/null
@@ -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
+}
index 150a150f5ebe35c1fe0aae2bf0d4fb3de9759df7..0a6a504a66583f7f3754036f94d315b4efbdbea9 100644 (file)
@@ -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>