diff --git a/.gitignore b/.gitignore index 1f26598..89531ed 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,6 @@ /OWSLib-0.21.0.tar.gz /OWSLib-0.25.0.tar.gz /OWSLib-0.26.0.tar.gz +/OWSLib-0.27.2.tar.gz +/OWSLib-0.28.0.tar.gz +/OWSLib-0.28.1.tar.gz diff --git a/python-OWSLib.spec b/python-OWSLib.spec index 17f2445..a646079 100644 --- a/python-OWSLib.spec +++ b/python-OWSLib.spec @@ -5,11 +5,11 @@ %bcond_without doc_pdf Name: python-OWSLib -Version: 0.26.0 +Version: 0.28.1 Release: %autorelease Summary: Client library for OGC web services -License: BSD +License: BSD-3-Clause URL: https://geopython.github.io/OWSLib Source0: https://github.com/geopython/OWSLib/archive/%{version}/OWSLib-%{version}.tar.gz @@ -24,7 +24,7 @@ BuildRequires: latexmk BuildRequires: pandoc %endif -%global common_description %{expand: \ +%global common_description %{expand: OWSLib is a Python package for client programming with Open Geospatial Consortium (OGC) web service (hence OWS) interface standards, and their related content models. @@ -34,8 +34,7 @@ Full documentation is available at http://geopython.github.io/OWSLib OWSLib provides a common API for accessing service metadata and wrappers for numerous OGC Web Service interfaces.} -%description -%{common_description} +%description %{common_description} %package -n python3-OWSLib @@ -43,8 +42,7 @@ Summary: %{summary} %py_provides python3-owslib -%description -n python3-OWSLib -%{common_description} +%description -n python3-OWSLib %{common_description} %package doc @@ -67,7 +65,10 @@ sed -r -i 's/[-]-cov[^[:blank:]]*[[:blank:]][^[[:blank:]]+//g' tox.ini # # Don’t generate twine dependency, which is just for the upstream maintainer # uploading to PyPI. -sed -r '/^(flake8|pytest-cov|pandoc|coverage|coveralls|twine)\b/d' \ +sed -r -e '/^(flake8|pytest-cov|pandoc|coverage|coveralls|twine)\b/d' \ +%if %{without doc_pdf} + -e '/^(ipykernel|nbconvert|.*sphinx)/d' \ +%endif requirements-dev.txt | tee requirements-dev-filtered.txt # We don’t need shebangs in the examples. The pattern of selecting files @@ -83,13 +84,9 @@ chmod -v a-x examples/*.py # notebook errors when building documentation. echo 'nbsphinx_allow_errors = True' >> docs/conf.py -# Revert “Revert to previous pyproj version” -# https://github.com/geopython/OWSLib/pull/807 -sed -r -i 's/(pyproj[[:blank:]]*)<[[:blank:]]*3\.3\.0/\1>=2/' requirements.txt - %generate_buildrequires -%pyproject_buildrequires -r requirements-dev-filtered.txt +%pyproject_buildrequires requirements-dev-filtered.txt %build @@ -121,8 +118,8 @@ k="${k-}${k+ and }not wfs1_generic.txt" k="${k-}${k+ and }not wcs_thredds.txt" k="${k-}${k+ and }not test_wmts_example_informatievlaanderen" -# This is a trivial error where the representation of the expected TypeEror has -# changed over time: +# This is a trivial error where the representation of the expected TypeError +# has changed over time: # Differences (unified diff with -expected +actual): # @@ -1,3 +1,6 @@ # Traceback (most recent call last): @@ -148,7 +145,6 @@ k="${k-}${k+ and } not (TestOffline and test_wms_130_remotemd_parse_single)" %files -n python3-OWSLib -f %{pyproject_files} # pyproject_files handles LICENSE; verify with “rpm -qL -p …” - %doc AUTHORS.rst %doc CHANGES.rst %doc README.rst diff --git a/sources b/sources index f8d8dcd..6ddf3e6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (OWSLib-0.26.0.tar.gz) = 27362c47eae87dc6318d505dd1b0987de36d140d2d0fd5d7a5195470de39d73807fbcafa142366f6981cc36453c262a41133c6c68baf45a97d0fdaae5a0ebf4b +SHA512 (OWSLib-0.28.1.tar.gz) = bd62a5e371e64e0e256cc83d2f044294c20965f6b107b0dd9074ac752971620f01af4c7fc9a82e43dc81e71a6a36696b75403012841c28925b017d9c47b2d4a5