|
|
15640f5 |
%global pypi_name astunparse
|
|
|
15640f5 |
|
|
|
15640f5 |
Name: python-%{pypi_name}
|
|
|
17255d3 |
Version: 1.6.3
|
|
|
ef17fcc |
Release: 2%{?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}
|
|
|
4d7d363 |
|
|
|
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
|
|
|
4d7d363 |
%autosetup -p1 -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
|
|
|
ef17fcc |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-2
|
|
|
ef17fcc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
ef17fcc |
|
|
|
17255d3 |
* Sun Jun 07 2020 Miro Hrončok <mhroncok@redhat.com> - 1.6.3-1
|
|
|
17255d3 |
- Update to 1.6.3 (#1844891)
|
|
|
48fe0aa |
|
|
|
64d4e85 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-6
|
|
|
64d4e85 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
64d4e85 |
|
|
|
4d7d363 |
* Sat Oct 12 2019 Miro Hrončok <mhroncok@redhat.com> - 1.6.2-5
|
|
|
4d7d363 |
- Python 3.8 fixes (#1758472)
|
|
|
4d7d363 |
|
|
|
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
|