Name:           astor
Summary:        Read/rewrite/write Python ASTs
BuildArch:      noarch
Version:        0.8.1
Release:        3%{?dist}
License:        MIT

URL:            https://pypi.org/project/astor

Source0:        %{name}-%{version}.tar.gz

BuildRequires:  python3-devel python3-setuptools

%description
Read / rewrite / write Python ASTs.

%package        python3
Summary:        Development files for python

%description    python3
This package contains the python libraries for %{name}.


%prep
%setup -q -n %{name}-%{version}


%build
%py3_build


%install
%{__python3} setup.py install -O1 --skip-build --root %{buildroot} --install-lib=%{python3_sitearch}


%ldconfig_scriptlets


%files python3
%doc README.rst
%{python3_sitearch}/*


%changelog
* Wed Dec 04 2019 Balint Cristian <cristian.balint@gmail.com>
- intial build