Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/owslib/
Date: Sun, 01 Dec 2019 20:19:28
Message-Id: 1575231414.ec45c461f7aafd6d3e3fa1693c76d53e1218eb08.asturm@gentoo
1 commit: ec45c461f7aafd6d3e3fa1693c76d53e1218eb08
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 1 19:48:48 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 1 20:16:54 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec45c461
7
8 dev-python/owslib: python3_7
9
10 Package-Manager: Portage-2.3.80, Repoman-2.3.18
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-python/owslib/owslib-0.17.1-r1.ebuild | 42 +++++++++++++++++++++++++++++++
14 1 file changed, 42 insertions(+)
15
16 diff --git a/dev-python/owslib/owslib-0.17.1-r1.ebuild b/dev-python/owslib/owslib-0.17.1-r1.ebuild
17 new file mode 100644
18 index 00000000000..29a6ac4beb8
19 --- /dev/null
20 +++ b/dev-python/owslib/owslib-0.17.1-r1.ebuild
21 @@ -0,0 +1,42 @@
22 +# Copyright 1999-2019 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +PYTHON_COMPAT=( python3_{6,7} )
28 +inherit distutils-r1
29 +
30 +DESCRIPTION="Library for client programming with Open Geospatial Consortium web service"
31 +HOMEPAGE="https://geopython.github.io/OWSLib"
32 +SRC_URI="https://github.com/geopython/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
33 +
34 +LICENSE="BSD"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~x86"
37 +IUSE="test"
38 +
39 +RDEPEND="
40 + dev-python/pyproj[${PYTHON_USEDEP}]
41 + dev-python/python-dateutil[${PYTHON_USEDEP}]
42 + dev-python/pytz[${PYTHON_USEDEP}]
43 + dev-python/requests[${PYTHON_USEDEP}]
44 + || (
45 + dev-python/elementtree[${PYTHON_USEDEP}]
46 + dev-python/lxml[${PYTHON_USEDEP}]
47 + )
48 +"
49 +DEPEND="
50 + dev-python/setuptools[${PYTHON_USEDEP}]
51 + test? (
52 + dev-python/pillow[${PYTHON_USEDEP}]
53 + dev-python/pytest[${PYTHON_USEDEP}]
54 + )
55 +"
56 +
57 +RESTRICT="test" # tests require WAN access
58 +
59 +S="${WORKDIR}/OWSLib-${PV}"
60 +
61 +python_test() {
62 + "${EPYTHON}" "${S}/setup.py" test || die
63 +}