## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-pydap Version: 3.5.8 Release: %autorelease Summary: Pure Python implementation of the Data Access Protocol License: MIT URL: https://pydap.github.io/pydap/ Source: %{pypi_source pydap} # Fix jinja2 dependency. Patch: https://github.com/pydap/pydap/pull/597.patch # Allow skipping test that use the network. Patch: 0001-Mark-tests-that-use-the-network.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(pytest) BuildRequires: python3dist(requests-mock) BuildRequires: python3dist(webtest) %global _description %{expand: pydap is an open-source implementation of the OPeNDAP protocol, written from scratch in pure Python. You can use pydap to access scientific data available on the many OPeNDAP servers publicly-available through the internet. Because pydap supports remote and lazy evaluation, you can access the data without having to download it. Instead, you work with special array and iterable objects that download data on-the-fly as necessary, saving bandwidth and time. The module also comes with a robust-but-lightweight OPeNDAP server, implemented as a WSGI application.} %description %_description %package -n python3-pydap Summary: %{summary} %description -n python3-pydap %_description %pyproject_extras_subpkg -n python3-pydap netcdf,server %prep %autosetup -p1 -n pydap-%{version} %generate_buildrequires %pyproject_buildrequires -x netcdf,server %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l pydap %check %pytest --pyargs pydap.tests -m 'not network' %files -n python3-pydap -f %{pyproject_files} %{_bindir}/dods %{_bindir}/pydap %changelog ## START: Generated by rpmautospec * Wed Nov 26 2025 John Doe - 3.5.8-1 - Uncommitted changes ## END: Generated by rpmautospec