Blame python-astunparse.spec

15640f5
%global pypi_name astunparse
15640f5
15640f5
Name:           python-%{pypi_name}
15640f5
Version:        1.6.2
2073511
Release:        4%{?dist}
15640f5
Summary:        An AST unparser for Python
15640f5
# Primarily under the terms of BSD
15640f5
# The unparse and the test_unparse modules are under the PSF license.
15640f5
License:        BSD and Python
15640f5
URL:            https://github.com/simonpercivall/astunparse
15640f5
Source0:        %{pypi_source}
15640f5
BuildArch:      noarch
15640f5
15640f5
BuildRequires:  python3-devel
15640f5
BuildRequires:  python3-setuptools
15640f5
BuildRequires:  python3-six
15640f5
BuildRequires:  python3-wheel
15640f5
15640f5
%description
15640f5
This is a factored out version of unparse found in the Python source
15640f5
distribution; under Tools/parser in Python 3.
15640f5
15640f5
%package -n     python3-%{pypi_name}
15640f5
Summary:        %{summary}
15640f5
%{?python_provide:%python_provide python3-%{pypi_name}}
15640f5
15640f5
%description -n python3-%{pypi_name}
15640f5
This is a factored out version of unparse found in the Python source
15640f5
distribution; under Tools/parser in Python 3.
15640f5
15640f5
%prep
15640f5
%autosetup -n %{pypi_name}-%{version}
15640f5
15640f5
%build
15640f5
%py3_build
15640f5
15640f5
%install
15640f5
%py3_install
15640f5
15640f5
%check
15640f5
%{__python3} setup.py test
15640f5
15640f5
%files -n python3-%{pypi_name}
15640f5
%license LICENSE
15640f5
%doc README.rst
15640f5
%{python3_sitelib}/%{pypi_name}/
15640f5
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
15640f5
15640f5
%changelog
2073511
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.6.2-4
2073511
- Rebuilt for Python 3.8.0rc1 (#1748018)
2073511
d448e2d
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.6.2-3
d448e2d
- Rebuilt for Python 3.8
d448e2d
eb2872c
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-2
eb2872c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
eb2872c
15640f5
* Sat Jan 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.6.2-1
15640f5
- Initial package