Blob Blame History Raw
%bcond tests 1

%global forgeurl

Name:           python-SALib
Version:        1.4.8
Release:        %autorelease
Summary:        Tools for global sensitivity analysis


License:        MIT
Source:         %{forgesource}

BuildArch:      noarch

BuildRequires:  python3-devel

%global _description %{expand:
Python implementations of commonly used sensitivity analysis methods. Useful in
systems modeling to calculate the effects of model inputs or exogenous factors
on outputs of interest.}

%description %_description

%package -n python3-salib
Summary:        %{summary}

%py_provides python3-SALib

%description -n python3-salib %_description

%pyproject_extras_subpkg -n python3-salib distributed

%forgeautosetup -p1

sed -r -i 's/^([[:blank:]])(.*\bpytest-cov\b)/\1# \2/' pyproject.toml

%pyproject_buildrequires -x distributed %{?with_tests:-x test}


%pyproject_save_files -l SALib

%if %{with tests}

%files -n python3-salib -f %{pyproject_files}
%doc CITATION.cff
%doc CITATIONS.rst
%doc README.rst