From 27e1330084da8b8575678ee4ff72d4a8ed4c5c10 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 21 May 2023 10:37:14 -0400 Subject: [PATCH] Update to 0.29.2 (close RHBZ#2208756) --- .gitignore | 1 + python-OWSLib.spec | 22 ++++++++++------------ sources | 2 +- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index befa366..1ebb3dc 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,4 @@ /OWSLib-0.28.1.tar.gz /OWSLib-0.29.0.tar.gz /OWSLib-0.29.1.tar.gz +/OWSLib-0.29.2.tar.gz diff --git a/python-OWSLib.spec b/python-OWSLib.spec index 9999b3d..d71eb2c 100644 --- a/python-OWSLib.spec +++ b/python-OWSLib.spec @@ -5,7 +5,7 @@ %bcond_without doc_pdf Name: python-OWSLib -Version: 0.29.1 +Version: 0.29.2 Release: %autorelease Summary: Client library for OGC web services @@ -65,10 +65,7 @@ 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 -e '/^(flake8|pytest-cov|pandoc|coverage|coveralls|twine)\b/d' \ -%if %{without doc_pdf} - -e '/^(ipykernel|nbconvert|.*sphinx)/d' \ -%endif +sed -r -e '/^(flake8|pytest-cov|twine|coverage|coveralls)\b/d' \ requirements-dev.txt | tee requirements-dev-filtered.txt # We don’t need shebangs in the examples. The pattern of selecting files @@ -82,11 +79,13 @@ chmod -v a-x examples/*.py # Because at least one notebook requires Internet access, we must continue past # notebook errors when building documentation. -echo 'nbsphinx_allow_errors = True' >> docs/conf.py +echo 'nbsphinx_allow_errors = True' >> docs/source/conf.py %generate_buildrequires -%pyproject_buildrequires requirements-dev-filtered.txt +%{pyproject_buildrequires \ + %{?with_doc_pdf:docs/requirements.txt} \ + requirements-dev-filtered.txt} %build @@ -95,7 +94,7 @@ echo 'nbsphinx_allow_errors = True' >> docs/conf.py %if %{with doc_pdf} PYTHONPATH="${PWD}" %make_build -C docs latex \ SPHINXOPTS='-j%{?_smp_build_ncpus}' -%make_build -C docs/build/latex/en LATEXMKOPTS='-quiet' +%make_build -C docs/build/latex LATEXMKOPTS='-quiet' %endif @@ -151,11 +150,10 @@ k="${k-}${k+ and } not (TestOffline and test_wms_130_remotemd_parse_single)" %files doc %license LICENSE %doc AUTHORS.rst -%doc CHANGES.rst -%doc README.rst -%doc examples +%doc README.md +%doc examples/ %if %{with doc_pdf} -%doc docs/build/latex/en/OWSLib.pdf +%doc docs/build/latex/OWSLib.pdf %endif diff --git a/sources b/sources index 72f2197..17b7a39 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (OWSLib-0.29.1.tar.gz) = 10fc2d75b60c6a388d4729011e3843d0943e6273c94d628b288c973304c01359d77a4856a7dc74ac28358f26cbe9ffe85a67921ef5eb62475d2143dd20c46e08 +SHA512 (OWSLib-0.29.2.tar.gz) = 66c0c6b4bcae08f0acbf1d4ee4a0e5d2b33996ae0d088ddd01844f050da364c581f7ea2a46d48652b969c75e8b31caf4c721f497ea079fb779d670199dd56746