2 Commits

Author SHA1 Message Date
Martin Hoyer
d61024c99f Disable xarray subpackage 2025-02-11 16:59:15 +01:00
Martin Hoyer
727e6be146 Disable dask subpackage and remove pytest-mpl dep 2025-02-11 16:32:22 +01:00

View File

@@ -1,4 +1,5 @@
%bcond xarray 1
# python-xarray is not available on EPEL10
%bcond xarray 0
# Not yet packaged: python-uncertainties
%bcond uncertainties 0
# Requires babel <= 2.8; F42 has 2.16.0
@@ -7,8 +8,8 @@
%bcond pandas 0
# Not yet packaged: python-mip
%bcond mip 0
# may need to be disabled sometimes for bootstrapping
%bcond dask 1
# python-dask is not available on EPEL10
%bcond dask 0
Name: python-pint
Version: 0.24.4
@@ -62,6 +63,9 @@ Summary: %{summary}
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
sed -r -i '/pytest-cov/d' pyproject.toml
# pytest-mpl is not available on EPEL10
sed -r -i '/pytest-mpl/d' pyproject.toml
# This module is executable in the source, and it might make sense for upstream
# to run it directly as a script during development, but this package will
# install it in site-packages without the executable bit set, so it doesnt