Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/Rtree/
Date: Sat, 03 Nov 2018 08:22:23
Message-Id: 1541233162.3a8f925a433e63fba963b59ceb5818c30c42310e.mgorny@gentoo
1 commit: 3a8f925a433e63fba963b59ceb5818c30c42310e
2 Author: Horea Christian <horea.christ <AT> yandex <DOT> com>
3 AuthorDate: Tue Oct 2 21:39:11 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 3 08:19:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a8f925a
7
8 sci-libs/Rtree: bump to 0.8.3_p20180802
9
10 And bumped EAPI to 7
11 And added test suite
12
13 Package-Manager: Portage-2.3.50, Repoman-2.3.11
14 Signed-off-by: Horea Christian <horea.christ <AT> gmail.com>
15 Closes: https://github.com/gentoo/gentoo/pull/10049
16 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
17
18 sci-libs/Rtree/Manifest | 1 +
19 sci-libs/Rtree/Rtree-0.8.3_p20180802.ebuild | 27 +++++++++++++++++++++++++++
20 sci-libs/Rtree/metadata.xml | 1 +
21 3 files changed, 29 insertions(+)
22
23 diff --git a/sci-libs/Rtree/Manifest b/sci-libs/Rtree/Manifest
24 index 335282a7baf..db4f240ad24 100644
25 --- a/sci-libs/Rtree/Manifest
26 +++ b/sci-libs/Rtree/Manifest
27 @@ -1 +1,2 @@
28 DIST Rtree-0.8.2.tar.gz 55813 BLAKE2B fd7391ef92c61a9d502d03376e1eef157dcfec77d3d46642d1b14bbe3a5021880641cbc741dd85e8b3b3d66a019db0a2eb638cfa76d109102459544969877eba SHA512 c0c1091c21e92022540a0aed09c00f3b2b6abb2869757e0cb7a68a120e3a289f275cea824a72172ea5b327696a67024894f5f01354f0cd5ec5b05d9b3ec130e0
29 +DIST Rtree-0.8.3_p20180802.tar.gz 48893 BLAKE2B bd0745e8e5051a772c2d50fe35712dc661737f32f6af382579dbbffc7467c21ef73bbeb794489da9891e50497b6f8775b1a670185453d54881e6dc8496fef539 SHA512 10c35a1d00369b3a30c486830d7cecdae6bd9bbc2ab9ea7f398227bc46b116783b1486cc75759eb27d7b25439400cbc39b55e6f58c686caec45bbc8436c6067c
30
31 diff --git a/sci-libs/Rtree/Rtree-0.8.3_p20180802.ebuild b/sci-libs/Rtree/Rtree-0.8.3_p20180802.ebuild
32 new file mode 100644
33 index 00000000000..2c31f17d56b
34 --- /dev/null
35 +++ b/sci-libs/Rtree/Rtree-0.8.3_p20180802.ebuild
36 @@ -0,0 +1,27 @@
37 +# Copyright 1999-2018 Gentoo Authors
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI="7"
41 +PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
42 +
43 +inherit distutils-r1
44 +
45 +EGIT_COMMIT_HASH="c6437a8ae182cb58aef1d0a4465bfc0c6f75b273"
46 +
47 +DESCRIPTION="R-Tree spatial index for Python GIS"
48 +HOMEPAGE="https://github.com/Toblerity/rtree"
49 +SRC_URI="https://github.com/Toblerity/rtree/archive/${EGIT_COMMIT_HASH}.tar.gz -> ${P}.tar.gz"
50 +
51 +LICENSE="LGPL-2.1"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~x86"
54 +IUSE="test"
55 +
56 +RDEPEND="sci-libs/libspatialindex"
57 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
58 +
59 +S="${WORKDIR}/rtree-${EGIT_COMMIT_HASH}"
60 +
61 +python_test() {
62 + pytest -vv || die
63 +}
64
65 diff --git a/sci-libs/Rtree/metadata.xml b/sci-libs/Rtree/metadata.xml
66 index 150a150f5eb..0a6a504a665 100644
67 --- a/sci-libs/Rtree/metadata.xml
68 +++ b/sci-libs/Rtree/metadata.xml
69 @@ -5,6 +5,7 @@
70 <email>slis@g.o</email>
71 </maintainer>
72 <upstream>
73 + <remote-id type="github">Toblerity/rtree</remote-id>
74 <remote-id type="pypi">Rtree</remote-id>
75 </upstream>
76 </pkgmetadata>