|
|
f751290 |
%global srcname parso
|
|
|
b39834a |
%global common_description %{expand:
|
|
|
b39834a |
Parso is a Python parser that supports error recovery and round-trip parsing
|
|
|
b39834a |
for different Python versions (in multiple Python versions). Parso is also able
|
|
|
b39834a |
to list multiple syntax errors in your python file. Parso has been
|
|
|
b39834a |
battle-tested by jedi. It was pulled out of jedi to be useful for other
|
|
|
b39834a |
projects as well. Parso consists of a small API to parse Python and analyse
|
|
|
b39834a |
the syntax tree.}
|
|
|
0a5ded6 |
|
|
|
f751290 |
Name: python-%{srcname}
|
|
|
63de3e1 |
Version: 0.8.3
|
|
|
f6da7dd |
Release: 10%{?dist}
|
|
|
545dd6a |
Summary: Parser that supports error recovery and round-trip parsing
|
|
|
545dd6a |
License: MIT and Python
|
|
|
545dd6a |
BuildArch: noarch
|
|
|
63de3e1 |
URL: https://github.com/davidhalter/parso
|
|
|
63de3e1 |
Source: %pypi_source
|
|
|
08263f6 |
|
|
|
f6da7dd |
# https://github.com/davidhalter/parso/pull/220
|
|
|
f6da7dd |
Patch: 0001-ENH-add-grammar-file-from-py313.patch
|
|
|
f6da7dd |
|
|
|
08263f6 |
|
|
|
b39834a |
%description %{common_description}
|
|
|
08263f6 |
|
|
|
08263f6 |
|
|
|
f751290 |
%package -n python3-%{srcname}
|
|
|
545dd6a |
Summary: %{summary}
|
|
|
f751290 |
BuildRequires: python3-devel
|
|
|
08263f6 |
|
|
|
08263f6 |
|
|
|
f751290 |
%description -n python3-%{srcname} %{common_description}
|
|
|
08263f6 |
|
|
|
08263f6 |
|
|
|
f751290 |
%prep
|
|
|
f6da7dd |
%autosetup -p 1 -n %{srcname}-%{version}
|
|
|
08263f6 |
|
|
|
f751290 |
sed -e 's/pytest<6.0.0/pytest/' -i setup.py
|
|
|
702be93 |
sed -e '/^addopts/d' -i pytest.ini
|
|
|
08263f6 |
|
|
|
08263f6 |
|
|
|
f751290 |
%generate_buildrequires
|
|
|
f751290 |
%pyproject_buildrequires -x testing
|
|
|
08263f6 |
|
|
|
08263f6 |
|
|
|
08263f6 |
%build
|
|
|
f751290 |
%pyproject_wheel
|
|
|
08263f6 |
|
|
|
08263f6 |
|
|
|
08263f6 |
%install
|
|
|
f751290 |
%pyproject_install
|
|
|
f751290 |
%pyproject_save_files %{srcname}
|
|
|
08263f6 |
|
|
|
08263f6 |
|
|
|
08263f6 |
%check
|
|
|
ac6ff14 |
# https://github.com/davidhalter/parso/issues/123
|
|
|
ac6ff14 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1830965
|
|
|
f751290 |
%pytest --verbose -k "not test_python_exception_matches"
|
|
|
08263f6 |
|
|
|
08263f6 |
|
|
|
f751290 |
%files -n python3-%{srcname} -f %{pyproject_files}
|
|
|
08263f6 |
%doc README.rst
|
|
|
08263f6 |
|
|
|
08263f6 |
|
|
|
08263f6 |
%changelog
|
|
|
f6da7dd |
* Thu Mar 07 2024 Carl George <carlwgeorge@fedoraproject.org> - 0.8.3-10
|
|
|
f6da7dd |
- Add patch for Python 3.13 compatibility rhbz#2246284
|
|
|
f6da7dd |
|
|
|
12c9ce6 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-9
|
|
|
12c9ce6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
12c9ce6 |
|
|
|
d5a165c |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-8
|
|
|
d5a165c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
d5a165c |
|
|
|
c1db182 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-7
|
|
|
c1db182 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
c1db182 |
|
|
|
0ba1d36 |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.8.3-6
|
|
|
0ba1d36 |
- Rebuilt for Python 3.12
|
|
|
0ba1d36 |
|
|
|
8b430b1 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-5
|
|
|
8b430b1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
8b430b1 |
|
|
|
ba29c3f |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-4
|
|
|
ba29c3f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
ba29c3f |
|
|
|
92a2443 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.8.3-3
|
|
|
92a2443 |
- Rebuilt for Python 3.11
|
|
|
92a2443 |
|
|
|
702be93 |
* Mon Apr 25 2022 Carl George <carl@george.computer> - 0.8.3-2
|
|
|
702be93 |
- Remove upstream pytest addopts
|
|
|
702be93 |
- Resolves: rhbz#2078414
|
|
|
702be93 |
|
|
|
63de3e1 |
* Fri Apr 08 2022 Carl George <carl@george.computer> - 0.8.3-1
|
|
|
63de3e1 |
- Latest upstream
|
|
|
63de3e1 |
- Resolves: rhbz#2027862
|
|
|
63de3e1 |
|
|
|
8392bcb |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2^1.da3a748-2
|
|
|
8392bcb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
8392bcb |
|
|
|
f751290 |
* Tue Sep 21 2021 Carl George <carl@george.computer> - 0.8.2^1.da3a748-1
|
|
|
f751290 |
- Latest upstream snapshot
|
|
|
f751290 |
- Resolves: rhbz#1906491
|
|
|
f751290 |
- Resolves: rhbz#1987878
|
|
|
f751290 |
|
|
|
4b3b1c4 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-5
|
|
|
4b3b1c4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
4b3b1c4 |
|
|
|
8914421 |
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.8.0-4
|
|
|
8914421 |
- Rebuilt for Python 3.10
|
|
|
8914421 |
|
|
|
0d4f9dd |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-3
|
|
|
0d4f9dd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
0d4f9dd |
|
|
|
2118542 |
* Fri Nov 06 2020 Carl George <carl@george.computer> - 0.8.0-2
|
|
|
2118542 |
- Rebuild
|
|
|
2118542 |
|
|
|
607ff28 |
* Wed Sep 09 2020 Charalampos Stratakis <cstratak@redhat.com> - 0.8.0-1
|
|
|
607ff28 |
- Update to 0.8.0 (rhbz#1860194)
|
|
|
607ff28 |
|
|
|
4c12366 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
|
|
|
4c12366 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
4c12366 |
|
|
|
fa23be5 |
* Fri Jul 10 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.7.0-1
|
|
|
fa23be5 |
- Update to 0.7.0
|
|
|
fa23be5 |
|
|
|
ac6ff14 |
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 0.6.2-2
|
|
|
ac6ff14 |
- Rebuilt for Python 3.9
|
|
|
ac6ff14 |
|
|
|
99df422 |
* Tue Mar 17 2020 Carl George <carl@george.computer> - 0.6.2-1
|
|
|
99df422 |
- Latest upstream
|
|
|
11893f2 |
- Add patch0 to fix test suite on Python 3.8.2
|
|
|
99df422 |
|
|
|
c70b490 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-2
|
|
|
c70b490 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
c70b490 |
|
|
|
586191e |
* Mon Jan 06 2020 Carl George <carl@george.computer> - 0.5.2-1
|
|
|
586191e |
- Latest upstream
|
|
|
586191e |
|
|
|
6930eed |
* Thu Oct 17 2019 Carl George <carl@george.computer> - 0.5.1-4
|
|
|
6930eed |
- Run tests on el8
|
|
|
6930eed |
|
|
|
cff5f76 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.1-3
|
|
|
cff5f76 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
cff5f76 |
|
|
|
a0d2257 |
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.1-2
|
|
|
a0d2257 |
- Rebuilt for Python 3.8
|
|
|
a0d2257 |
|
|
|
9130fc5 |
* Fri Jul 26 2019 Carl George <carl@george.computer> - 0.5.1-1
|
|
|
9130fc5 |
- Latest upstream
|
|
|
2a6bd34 |
- Drop EPEL python34 subpackage
|
|
|
bf53518 |
- Disable python2 package on F31+ and EL8+ rhbz#1733248
|
|
|
9130fc5 |
|
|
|
6386735 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
|
|
|
6386735 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
6386735 |
|
|
|
ef4ffb7 |
* Tue Jun 25 2019 Carl George <carl@george.computer> - 0.5.0-1
|
|
|
ef4ffb7 |
- Latest upstream
|
|
|
ef4ffb7 |
|
|
|
fcdd45c |
* Mon Apr 08 2019 Carl George <carl@george.computer> - 0.4.0-1
|
|
|
fcdd45c |
- Latest upstream rhbz#1668959
|
|
|
ec96a18 |
- Don't use common documentation directory between subpackages
|
|
|
fcdd45c |
|
|
|
84ab2e3 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-2
|
|
|
84ab2e3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
84ab2e3 |
|
|
|
3f33cdb |
* Wed Aug 08 2018 Carl George <carl@george.computer> - 0.3.1-1
|
|
|
3f33cdb |
- Latest upstream
|
|
|
be3e858 |
- Use common documentation directory
|
|
|
29f8635 |
- Enable python36 subpackage for EPEL
|
|
|
3f33cdb |
|
|
|
aedc2b7 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3
|
|
|
aedc2b7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
aedc2b7 |
|
|
|
8e4ced9 |
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-2
|
|
|
8e4ced9 |
- Rebuilt for Python 3.7
|
|
|
8e4ced9 |
|
|
|
7dc78c0 |
* Mon May 21 2018 Carl George <carl@george.computer> - 0.2.1-1
|
|
|
7dc78c0 |
- Latest upstream
|
|
|
7dc78c0 |
|
|
|
14c7871 |
* Mon Apr 16 2018 Carl George <carl@george.computer> - 0.2.0-1
|
|
|
14c7871 |
- Latest upstream
|
|
|
14c7871 |
|
|
|
44d34dc |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-3
|
|
|
44d34dc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
44d34dc |
|
|
|
08263f6 |
* Sat Dec 30 2017 Carl George <carl@george.computer> - 0.1.1-2
|
|
|
08263f6 |
- Be more explicit with the files in site-packages
|
|
|
08263f6 |
|
|
|
08263f6 |
* Tue Dec 26 2017 Carl George <carl@george.computer> - 0.1.1-1
|
|
|
08263f6 |
- Initial package
|