diff --git a/dev-python/owslib/Manifest b/dev-python/owslib/Manifest new file mode 100644 index 0000000000000..54d45a8500a32 --- /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 0000000000000..01e0addb55f29 --- /dev/null +++ b/dev-python/owslib/metadata.xml @@ -0,0 +1,15 @@ + + + + + sci-geosciences@gentoo.org + Gentoo Geosciences Project + + + python@gentoo.org + Python + + + geopython/OWSLib + + 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 0000000000000..905b9c4e10984 --- /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 +}