Gentoo Archives: gentoo-commits

From: Dennis Lamm <expeditioneer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/rtree/
Date: Mon, 12 Oct 2020 18:46:16
Message-Id: 1602528359.2332003973da6b9c6441f93448df4785f053ce68.expeditioneer@gentoo
1 commit: 2332003973da6b9c6441f93448df4785f053ce68
2 Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 12 16:08:59 2020 +0000
4 Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 12 18:45:59 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23320039
7
8 sci-libs/rtree-0.9.4: fixed missing dependency for tests
9
10 Closes: https://bugs.gentoo.org/747883
11
12 Signed-off-by: Dennis Lamm <expeditoneer <AT> gentoo.org>
13 Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>
14
15 sci-libs/rtree/rtree-0.9.4-r1.ebuild | 32 ++++++++++++++++++++++++++++++++
16 1 file changed, 32 insertions(+)
17
18 diff --git a/sci-libs/rtree/rtree-0.9.4-r1.ebuild b/sci-libs/rtree/rtree-0.9.4-r1.ebuild
19 new file mode 100644
20 index 00000000000..a0940fd1901
21 --- /dev/null
22 +++ b/sci-libs/rtree/rtree-0.9.4-r1.ebuild
23 @@ -0,0 +1,32 @@
24 +# Copyright 1999-2020 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=7
28 +
29 +PYTHON_COMPAT=( python3_{7..8} )
30 +DISTUTILS_USE_SETUPTOOLS=rdepend
31 +
32 +inherit distutils-r1
33 +
34 +MY_PN="Rtree"
35 +MY_P="${MY_PN}-${PV}"
36 +
37 +DESCRIPTION="R-Tree spatial index for Python GIS"
38 +HOMEPAGE="https://rtree.readthedocs.io/en/latest/"
39 +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
40 +LICENSE="MIT"
41 +
42 +KEYWORDS="~amd64 ~x86"
43 +SLOT="0"
44 +
45 +S=${WORKDIR}/${MY_P}
46 +
47 +RDEPEND="sci-libs/libspatialindex"
48 +
49 +distutils_enable_sphinx docs/source
50 +
51 +distutils_enable_tests pytest
52 +
53 +DEPEND+="
54 + test? ( dev-python/numpy[${PYTHON_USEDEP}] )
55 +"