diff --git a/dev-python/owslib/Manifest b/dev-python/owslib/Manifest index 86962121dade5..7a5e059afc5b2 100644 --- a/dev-python/owslib/Manifest +++ b/dev-python/owslib/Manifest @@ -1 +1,2 @@ DIST OWSLib-0.29.1.gh.tar.gz 960582 BLAKE2B e88446a843113453b116016a4488e1738472b2ff8faf7f0b1647db061e2af4b15e7ca64fb92d3298a9c4e906f8230a03fea664df65113dedba901a75c074da2e SHA512 10fc2d75b60c6a388d4729011e3843d0943e6273c94d628b288c973304c01359d77a4856a7dc74ac28358f26cbe9ffe85a67921ef5eb62475d2143dd20c46e08 +DIST OWSLib-0.29.2.gh.tar.gz 953216 BLAKE2B 3c0204cd62fdf3fe36ca2051a83a00ad165e7f7682d850c3796877c83382f7a3c68d2c02f8dfaa90016909393a9bfd6f2415499f6096de9f4333102b20ccd932 SHA512 66c0c6b4bcae08f0acbf1d4ee4a0e5d2b33996ae0d088ddd01844f050da364c581f7ea2a46d48652b969c75e8b31caf4c721f497ea079fb779d670199dd56746 diff --git a/dev-python/owslib/owslib-0.29.2.ebuild b/dev-python/owslib/owslib-0.29.2.ebuild new file mode 100644 index 0000000000000..6b89ed5f6480f --- /dev/null +++ b/dev-python/owslib/owslib-0.29.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +MY_P=OWSLib-${PV} +DESCRIPTION="Library for client programming with Open Geospatial Consortium web service" +HOMEPAGE=" + https://geopython.github.io/OWSLib/ + https://github.com/geopython/owslib/ + https://pypi.org/project/OWSLib/ +" +SRC_URI=" + https://github.com/geopython/${PN}/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +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}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # connection errors + tests/test_wfs_generic.py::test_xmlfilter_wfs_110 + tests/test_wfs_generic.py::test_xmlfilter_wfs_200 + tests/test_ogcapi_records_pycsw.py::test_ogcapi_records_pycsw + tests/test_opensearch_pycsw.py::test_opensearch_creodias + tests/test_ows_interfaces.py::test_ows_interfaces_csw + tests/test_csw3_pycsw.py::test_csw_pycsw + tests/test_csw_pycsw.py::test_csw_pycsw + tests/test_csw_pycsw_skip_caps.py::test_csw_pycsw_skip_caps + # different output from remote service, sigh + tests/test_ogcapi_processes_pygeoapi.py::test_ogcapi_processes_pygeoapi +) + +python_test() { + epytest -o addopts= +}