Group :: Development/Python3
RPM: python3-module-lmoments3
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname lmoments3
%def_with check
Name: python3-module-%oname
Version: 1.0.5
Release: alt1
Summary: Estimate linear moments for statistical distribution functions
License: GPLv3
Group: Development/Python3
Url: https://pypi.org/project/lmoments3/
# https://github.com/OpenHydrology/lmoments3.git
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
%if_with check
BuildPreReq: python3(numpy)
BuildPreReq: python3(numpy.testing)
BuildPreReq: python3(scipy)
%endif
%description
This library was designed to use L-moments to calculate optimal
parameters for a number of distributions. This library extends a number
of scipy distributions and provides some additional distributions
frequently used in Extreme Value Analyses.
%prep
%setup
sed -i 's|"version": "0+unknown"|"version": "%version"|' versioneer.py
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_create_default_config
%tox_check_pyproject
%files
%doc *.rst docs/source/*.rst
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version.dist-info
%changelog
…
Todas as alterações você pod ver aqui
%define oname lmoments3
%def_with check
Name: python3-module-%oname
Version: 1.0.5
Release: alt1
Summary: Estimate linear moments for statistical distribution functions
License: GPLv3
Group: Development/Python3
Url: https://pypi.org/project/lmoments3/
# https://github.com/OpenHydrology/lmoments3.git
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
%if_with check
BuildPreReq: python3(numpy)
BuildPreReq: python3(numpy.testing)
BuildPreReq: python3(scipy)
%endif
%description
This library was designed to use L-moments to calculate optimal
parameters for a number of distributions. This library extends a number
of scipy distributions and provides some additional distributions
frequently used in Extreme Value Analyses.
%prep
%setup
sed -i 's|"version": "0+unknown"|"version": "%version"|' versioneer.py
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_create_default_config
%tox_check_pyproject
%files
%doc *.rst docs/source/*.rst
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version.dist-info
%changelog
…
Todas as alterações você pod ver aqui