496a7ae
Name:           python-pyABF
c2ac6ad
Version:        2.3.6
496a7ae
Release:        %autorelease
496a7ae
Summary:        Python library for reading files in Axon Binary Format
496a7ae
496a7ae
License:        MIT
496a7ae
URL:            https://github.com/swharden/pyABF
496a7ae
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
496a7ae
496a7ae
BuildArch:      noarch
496a7ae
BuildRequires:  python3-devel
496a7ae
BuildRequires:  python3-pytest
496a7ae
496a7ae
%global _description %{expand:
496a7ae
pyABF is a Python package for reading electrophysiology 
496a7ae
data from Axon Binary Format (ABF) files.}
496a7ae
496a7ae
%description %_description
496a7ae
496a7ae
%package -n python3-pyABF
496a7ae
Summary:        %{summary}
496a7ae
496a7ae
%description -n python3-pyABF %_description
496a7ae
496a7ae
496a7ae
%prep
c2ac6ad
%autosetup -n pyABF-%{version} 
496a7ae
496a7ae
%generate_buildrequires
496a7ae
cd src/
496a7ae
%pyproject_buildrequires -r
496a7ae
496a7ae
496a7ae
%build
496a7ae
cd src/
496a7ae
%pyproject_wheel
496a7ae
496a7ae
496a7ae
%install
496a7ae
cd src/
496a7ae
%pyproject_install
496a7ae
%pyproject_save_files pyabf
496a7ae
496a7ae
%check
496a7ae
%pytest
496a7ae
496a7ae
496a7ae
%files -n python3-pyABF -f %{pyproject_files}
496a7ae
%doc README.*
496a7ae
496a7ae
%changelog
496a7ae
%autochangelog