Compare commits

...
Sign in to create a new pull request.

8 commits

Author SHA1 Message Date
Benjamin A. Beasley
dab1238082 Update to 0.28.1 (close RHBZ#2173195) 2023-02-25 09:19:44 -05:00
Benjamin A. Beasley
1e5ae7d83f Update to 0.28.0 (close RHBZ#2171409) 2023-02-20 12:30:10 -05:00
Benjamin A. Beasley
dcc95d0ce8 Drop default argument -r for pyproject_buildrequires 2023-02-20 12:30:08 -05:00
Benjamin A. Beasley
3ebb73349b Drop some doc BR’s when PDF docs are disabled 2023-02-20 12:30:05 -05:00
Benjamin A. Beasley
bd14450f19 Update to 0.27.2 (close RHBZ#2122000) 2022-08-28 11:00:37 -04:00
Benjamin A. Beasley
9eae1cab39 Update License to SPDX 2022-08-28 11:00:35 -04:00
Benjamin A. Beasley
429852e0e8 Fix a typo in a spec file comment 2022-08-28 11:00:31 -04:00
Benjamin A. Beasley
de782480e5 Fix extra newline in description 2022-08-28 11:00:28 -04:00
3 changed files with 16 additions and 17 deletions

3
.gitignore vendored
View file

@ -27,3 +27,6 @@
/OWSLib-0.21.0.tar.gz /OWSLib-0.21.0.tar.gz
/OWSLib-0.25.0.tar.gz /OWSLib-0.25.0.tar.gz
/OWSLib-0.26.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

View file

@ -5,11 +5,11 @@
%bcond_without doc_pdf %bcond_without doc_pdf
Name: python-OWSLib Name: python-OWSLib
Version: 0.26.0 Version: 0.28.1
Release: %autorelease Release: %autorelease
Summary: Client library for OGC web services Summary: Client library for OGC web services
License: BSD License: BSD-3-Clause
URL: https://geopython.github.io/OWSLib URL: https://geopython.github.io/OWSLib
Source0: https://github.com/geopython/OWSLib/archive/%{version}/OWSLib-%{version}.tar.gz Source0: https://github.com/geopython/OWSLib/archive/%{version}/OWSLib-%{version}.tar.gz
@ -24,7 +24,7 @@ BuildRequires: latexmk
BuildRequires: pandoc BuildRequires: pandoc
%endif %endif
%global common_description %{expand: \ %global common_description %{expand:
OWSLib is a Python package for client programming with Open Geospatial OWSLib is a Python package for client programming with Open Geospatial
Consortium (OGC) web service (hence OWS) interface standards, and their related Consortium (OGC) web service (hence OWS) interface standards, and their related
content models. 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 OWSLib provides a common API for accessing service metadata and wrappers for
numerous OGC Web Service interfaces.} numerous OGC Web Service interfaces.}
%description %description %{common_description}
%{common_description}
%package -n python3-OWSLib %package -n python3-OWSLib
@ -43,8 +42,7 @@ Summary: %{summary}
%py_provides python3-owslib %py_provides python3-owslib
%description -n python3-OWSLib %description -n python3-OWSLib %{common_description}
%{common_description}
%package doc %package doc
@ -67,7 +65,10 @@ sed -r -i 's/[-]-cov[^[:blank:]]*[[:blank:]][^[[:blank:]]+//g' tox.ini
# #
# Dont generate twine dependency, which is just for the upstream maintainer # Dont generate twine dependency, which is just for the upstream maintainer
# uploading to PyPI. # 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 requirements-dev.txt | tee requirements-dev-filtered.txt
# We dont need shebangs in the examples. The pattern of selecting files # We dont 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. # notebook errors when building documentation.
echo 'nbsphinx_allow_errors = True' >> docs/conf.py 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 %generate_buildrequires
%pyproject_buildrequires -r requirements-dev-filtered.txt %pyproject_buildrequires requirements-dev-filtered.txt
%build %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 wcs_thredds.txt"
k="${k-}${k+ and }not test_wmts_example_informatievlaanderen" k="${k-}${k+ and }not test_wmts_example_informatievlaanderen"
# This is a trivial error where the representation of the expected TypeEror has # This is a trivial error where the representation of the expected TypeError
# changed over time: # has changed over time:
# Differences (unified diff with -expected +actual): # Differences (unified diff with -expected +actual):
# @@ -1,3 +1,6 @@ # @@ -1,3 +1,6 @@
# Traceback (most recent call last): # 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} %files -n python3-OWSLib -f %{pyproject_files}
# pyproject_files handles LICENSE; verify with “rpm -qL -p …” # pyproject_files handles LICENSE; verify with “rpm -qL -p …”
%doc AUTHORS.rst %doc AUTHORS.rst
%doc CHANGES.rst %doc CHANGES.rst
%doc README.rst %doc README.rst

View file

@ -1 +1 @@
SHA512 (OWSLib-0.26.0.tar.gz) = 27362c47eae87dc6318d505dd1b0987de36d140d2d0fd5d7a5195470de39d73807fbcafa142366f6981cc36453c262a41133c6c68baf45a97d0fdaae5a0ebf4b SHA512 (OWSLib-0.28.1.tar.gz) = bd62a5e371e64e0e256cc83d2f044294c20965f6b107b0dd9074ac752971620f01af4c7fc9a82e43dc81e71a6a36696b75403012841c28925b017d9c47b2d4a5