diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-01-14 23:36:01 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-01-15 00:04:49 +0100 |
commit | 376ec781827a04cf66d7974952bb35de2ce5fbb8 (patch) | |
tree | e9feb475bfb589290935bf5bbae6f647e94a3a37 /dev-python | |
parent | app-admin/eselect: stable 1.4.11 for ppc (diff) | |
download | gentoo-376ec781827a04cf66d7974952bb35de2ce5fbb8.tar.gz gentoo-376ec781827a04cf66d7974952bb35de2ce5fbb8.tar.bz2 gentoo-376ec781827a04cf66d7974952bb35de2ce5fbb8.zip |
dev-python/owslib: New package
Thanks-to: Marco Genasci <fedeliallalinea@gmail.com>
Closes: https://bugs.gentoo.org/641900
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/owslib/Manifest | 1 | ||||
-rw-r--r-- | dev-python/owslib/metadata.xml | 15 | ||||
-rw-r--r-- | dev-python/owslib/owslib-0.16.0.ebuild | 44 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/owslib/Manifest b/dev-python/owslib/Manifest new file mode 100644 index 000000000000..54d45a8500a3 --- /dev/null +++ b/dev-python/owslib/Manifest @@ -0,0 +1 @@ +DIST owslib-0.16.0.tar.gz 658145 BLAKE2B 8e32de48192579f10515771c1682b1d1319deb8195ff9c0f9168ea82bb30bbc8bcf7c457c794a79b1121d40f3f544624f0a9789b0f6f36632c6457f396fa78c9 SHA512 a468352dfdb62bea1e6189efcc198237cb909051e51782abb15093e328ca7d3d379e88d0466e42c39ce9bc201a3be828a779193666bf9befe8d501355aaddbf4 diff --git a/dev-python/owslib/metadata.xml b/dev-python/owslib/metadata.xml new file mode 100644 index 000000000000..01e0addb55f2 --- /dev/null +++ b/dev-python/owslib/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-geosciences@gentoo.org</email> + <name>Gentoo Geosciences Project</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="github">geopython/OWSLib</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/owslib/owslib-0.16.0.ebuild b/dev-python/owslib/owslib-0.16.0.ebuild new file mode 100644 index 000000000000..905b9c4e1098 --- /dev/null +++ b/dev-python/owslib/owslib-0.16.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_5 ) +inherit distutils-r1 + +DESCRIPTION="Library for client programming with Open Geospatial Consortium web service" +HOMEPAGE="https://geopython.github.io/OWSLib" +SRC_URI="https://github.com/geopython/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + dev-python/pyproj[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + || ( + dev-python/elementtree[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + ) +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/tox[${PYTHON_USEDEP}] + ) +" + +RESTRICT="test" # tests require WAN access + +S="${WORKDIR}/OWSLib-${PV}" + +python_test() { + "${EPYTHON}" "${S}/setup.py" test || die +} |