From 8993ea73a9714d22178ba6ada8c04be83cd71ec7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 29 Aug 2022 22:47:16 +0100 Subject: gentoo auto-resync : 29:08:2022 - 22:47:16 --- dev-python/owslib/owslib-0.27.2.ebuild | 41 ++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 dev-python/owslib/owslib-0.27.2.ebuild (limited to 'dev-python/owslib/owslib-0.27.2.ebuild') diff --git a/dev-python/owslib/owslib-0.27.2.ebuild b/dev-python/owslib/owslib-0.27.2.ebuild new file mode 100644 index 000000000000..d33d496120be --- /dev/null +++ b/dev-python/owslib/owslib-0.27.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +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}.gh.tar.gz +" +S="${WORKDIR}/OWSLib-${PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" +PROPERTIES="test_network" + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" +BDEPEND="test? ( dev-python/pillow[${PYTHON_USEDEP}] )" + +EPYTEST_DESELECT=( + tests/test_ogcapi_features_pygeoapi.py::test_ogcapi_features_pygeoapi +) + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/addopts/d' -i tox.ini || die + distutils-r1_src_prepare +} -- cgit v1.2.3