File python-PeakUtils.spec of Package python-PeakUtils
#
# spec file for package python-PeakUtils
#
# Copyright (c) 2017, Martin Hauke <mardnh@gmx.de>
#
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-PeakUtils
Version: 1.0.3
Release: 0
Summary: Peak detection utilities for 1D data
License: MIT
Group: Development/Languages/Python
Url: https://bitbucket.org/lucashnegri/peakutils
Source: https://pypi.io/packages/source/P/PeakUtils/PeakUtils-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-numpy
BuildRequires: python-scipy
BuildRequires: python-setuptools
Requires: python-numpy
Requires: python-scipy
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This package provides utilities related to the detection of peaks on 1D data.
Includes functions to estimate baselines, finding the indexes of peaks in the
data and performing Gaussian fitting or centroid computation to further
increase the resolution of the peak detection.
%prep
%setup -q -n PeakUtils-%{version}
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
#python setup.py test
%files
%defattr(-,root,root,-)
%doc README.rst LICENSE.txt
%{python_sitelib}/peakutils
%{python_sitelib}/PeakUtils-%{version}-py%{py_ver}.egg-info
%changelog