Compare commits

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

11 commits

Author SHA1 Message Date
Benjamin A. Beasley
1958d8a0f4 Update to 0.35.0 (close RHBZ#2406840) 2025-10-28 21:37:31 +00:00
Benjamin A. Beasley
f5e3a97e3a Update to 0.34.1 2025-10-28 21:27:09 +00:00
Python Maint
529c86e79e Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 13:55:22 +02:00
Python Maint
17440b316f Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 14:19:00 +02:00
Fedora Release Engineering
49af8de6ee Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 06:26:40 +00:00
Python Maint
cf30edef34 Rebuilt for Python 3.14 2025-06-03 16:24:10 +02:00
Benjamin A. Beasley
9d57933e43 Update to 0.34.0 (close RHBZ#2369733) 2025-06-02 06:29:46 -04:00
Benjamin A. Beasley
10c89a527a Update .rpmlintrc for current rpmlint 2025-06-02 06:29:46 -04:00
Benjamin A. Beasley
8ae1e62c6e Use the provisional pyproject declarative buildsystem 2025-03-20 06:25:47 -04:00
Benjamin A. Beasley
03dd0e4fd9 Drop conditionals for EPEL10 and let the branches diverge 2025-03-20 06:24:37 -04:00
Benjamin A. Beasley
cb73aee3e1 Update the .rpmlintrc file 2025-03-20 06:24:37 -04:00
4 changed files with 17 additions and 37 deletions

3
.gitignore vendored
View file

@ -39,3 +39,6 @@
/OWSLib-0.31.0-filtered.tar.zst /OWSLib-0.31.0-filtered.tar.zst
/OWSLib-0.32.0-filtered.tar.zst /OWSLib-0.32.0-filtered.tar.zst
/OWSLib-0.33.0-filtered.tar.zst /OWSLib-0.33.0-filtered.tar.zst
/OWSLib-0.34.0-filtered.tar.zst
/OWSLib-0.34.1-filtered.tar.zst
/OWSLib-0.35.0-filtered.tar.zst

View file

@ -1,2 +1,7 @@
# All documentation is in the -doc subpackage. # The source cannot be a URL because we have to filter out files before
addFilter(r" no-documentation$") # uploading to the lookaside cache.
addFilter(r" invalid-url .* OWSLib-.*-filtered\.tar\.zst")
# There is nothing wrong with .tar.zst, but rpmlint does not know that.
addFilter(r" inconsistent-file-extension .*\.tar\.zst")
# Removed without replacement in Fedora 42
addFilter(r" obsolete-not-provided python-OWSLIB-doc")

View file

@ -1,8 +1,5 @@
# Not yet in EPEL10: https://bugzilla.redhat.com/show_bug.cgi?id=2324280
%bcond pytest_httpserver %{undefined el10}
Name: python-OWSLib Name: python-OWSLib
Version: 0.33.0 Version: 0.35.0
Release: %autorelease Release: %autorelease
Summary: OGC Web Service utility library Summary: OGC Web Service utility library
@ -26,15 +23,14 @@ URL: https://geopython.github.io/OWSLib
Source0: OWSLib-%{version}-filtered.tar.zst Source0: OWSLib-%{version}-filtered.tar.zst
Source1: get_source Source1: get_source
BuildArch: noarch BuildSystem: pyproject
BuildOption(install): -l owslib
BuildRequires: python3-devel BuildArch: noarch
# Tests; dependencies are in requirements-dev.txt. # Tests; dependencies are in requirements-dev.txt.
BuildRequires: %{py3_dist pytest} BuildRequires: %{py3_dist pytest}
%if %{with pytest_httpserver}
BuildRequires: %{py3_dist pytest_httpserver} BuildRequires: %{py3_dist pytest_httpserver}
%endif
BuildRequires: %{py3_dist Pillow} BuildRequires: %{py3_dist Pillow}
# We dont have pytest-socket packaged, and we can get by without it. # We dont have pytest-socket packaged, and we can get by without it.
# - pytest-socket # - pytest-socket
@ -69,42 +65,22 @@ Summary: %{summary}
%py_provides python3-owslib %py_provides python3-owslib
%if %{undefined el10}
# The -doc subpackage was removed for Fedora 42; we can remove this Obsoletes # The -doc subpackage was removed for Fedora 42; we can remove this Obsoletes
# after Fedora 44. (EPEL10 never had a -doc subpackage.) # after Fedora 44. (EPEL10 never had a -doc subpackage.)
Obsoletes: python-OWSLIB-doc < 0.32.0-1 Obsoletes: python-OWSLIB-doc < 0.32.0-1
%endif
%description -n python3-OWSLib %{common_description} %description -n python3-OWSLib %{common_description}
%prep %prep -a
%autosetup -n OWSLib-%{version}
# Dont analyze/report test coverage # Dont analyze/report test coverage
sed -r -i 's/^([[:blank:]]*)(--cov\b)/\1# \2/' tox.ini sed -r -i 's/^([[:blank:]]*)(--cov\b)/\1# \2/' tox.ini
%generate_buildrequires %check -a
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files -l owslib
%check
# Otherwise, pytest finds the package twice in the Python path and complains. # Otherwise, pytest finds the package twice in the Python path and complains.
rm -rf owslib rm -rf owslib
# This requires network access (during test collection!)
ignore="${ignore-} --ignore=tests/test_ogcapi_connectedsystems_osh.py"
# These require test data files from tests/resources/, which we have removed: # These require test data files from tests/resources/, which we have removed:
ignore="${ignore-} --ignore-glob=tests/doctests/*.txt" ignore="${ignore-} --ignore-glob=tests/doctests/*.txt"
k="${k-}${k+ and }not test_gm03" k="${k-}${k+ and }not test_gm03"
@ -156,10 +132,6 @@ k="${k-}${k+ and }not test_md_reference_system"
k="${k-}${k+ and }not test_service2" k="${k-}${k+ and }not test_service2"
k="${k-}${k+ and }not test_md_distribution" k="${k-}${k+ and }not test_md_distribution"
%if %{without pytest_httpserver}
ignore="${ignore-} --ignore=tests/test_csw_inspire.py"
%endif
%pytest -m 'not online' -k "${k-}" ${ignore-} -v -rs %pytest -m 'not online' -k "${k-}" ${ignore-} -v -rs

View file

@ -1 +1 @@
SHA512 (OWSLib-0.33.0-filtered.tar.zst) = c7fcafce066029620ff538b7e75cf67e3199596bc1920fc0b13320416009554b43db05f051beb4bfaf42994ecd3c6f222625e5a1d3a40229c10f07165fca16ba SHA512 (OWSLib-0.35.0-filtered.tar.zst) = be1eb52fa09049b720c1ebd476363e01c6442c9905c9adf0d35ccc11f39b228b9f3e64ed882a7c04987f2f38f9c8500a61aeef61e48a41602098ff22df0ed526