Compare commits
No commits in common. "c8s" and "c10s" have entirely different histories.
10
.gitignore
vendored
10
.gitignore
vendored
@ -1,2 +1,8 @@
|
|||||||
SOURCES/pyparsing-2.1.10.tar.gz
|
clog
|
||||||
/pyparsing-2.1.10.tar.gz
|
/pyparsing-2.4.0.tar.gz
|
||||||
|
/pyparsing-2.4.2.tar.gz
|
||||||
|
/pyparsing-2.4.5.tar.gz
|
||||||
|
/pyparsing-2.4.6.tar.gz
|
||||||
|
/pyparsing-2.4.7.tar.gz
|
||||||
|
/pyparsing-3.0.9.tar.gz
|
||||||
|
/pyparsing-3.1.1.tar.gz
|
||||||
|
237
changelog
Normal file
237
changelog
Normal file
@ -0,0 +1,237 @@
|
|||||||
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.4.7-12
|
||||||
|
- Rebuilt for Python 3.11
|
||||||
|
|
||||||
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.4.7-11
|
||||||
|
- Bootstrap for Python 3.11
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.7-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.7-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 2.4.7-8
|
||||||
|
- Rebuilt for Python 3.10
|
||||||
|
|
||||||
|
* Tue Jun 01 2021 Python Maint <python-maint@redhat.com> - 2.4.7-7
|
||||||
|
- Bootstrap for Python 3.10
|
||||||
|
|
||||||
|
* Thu May 27 2021 Petr Viktorin <pviktori@redhat.com> - 2.4.7-6
|
||||||
|
- Fix licence for examples shipped in pyparsing-doc
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.7-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.7-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 2.4.7-3
|
||||||
|
- Rebuilt for Python 3.9
|
||||||
|
|
||||||
|
* Thu May 21 2020 Miro Hrončok <mhroncok@redhat.com> - 2.4.7-2
|
||||||
|
- Bootstrap for Python 3.9
|
||||||
|
|
||||||
|
* Mon Apr 06 2020 Dan Horák <dan[at]danny.cz> - 2.4.7-1
|
||||||
|
- Update to 2.4.7 (#1821085)
|
||||||
|
|
||||||
|
* Mon Mar 30 2020 David King <amigadave@amigadave.com> - 2.4.6-3
|
||||||
|
- Fix the summary for the Python 3 subpackage
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.6-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 03 2020 Dan Horák <dan[at]danny.cz> - 2.4.6-1
|
||||||
|
- Update to 2.4.6 (#1786815)
|
||||||
|
|
||||||
|
* Fri Nov 15 2019 Dan Horák <dan[at]danny.cz> - 2.4.5-1
|
||||||
|
- Update to 2.4.5 (#1768725)
|
||||||
|
- Drop Python2 subpackage (#1770564)
|
||||||
|
|
||||||
|
* Tue Oct 8 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.4.2-1
|
||||||
|
- Update to latest version (#1742167)
|
||||||
|
|
||||||
|
* Mon Sep 02 2019 Miro Hrončok <mhroncok@redhat.com> - 2.4.0-6
|
||||||
|
- Reduce Python 2 build time dependencies
|
||||||
|
|
||||||
|
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 2.4.0-5
|
||||||
|
- Rebuilt for Python 3.8
|
||||||
|
|
||||||
|
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 2.4.0-4
|
||||||
|
- Bootstrap for Python 3.8
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Apr 15 2019 José Matos <jamatos@fedoraproject.org> - 2.4.0-1
|
||||||
|
- Update to 2.4.0
|
||||||
|
|
||||||
|
* Tue Feb 26 2019 Yatin Karel <ykarel@redhat.com> - 2.3.1-1
|
||||||
|
- Update to 2.3.1
|
||||||
|
|
||||||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 10 2019 Dan Horák <dan[at]danny.cz> - 2.3.0-1
|
||||||
|
- Update to 2.3.0
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 13 2018 Miro Hrončok <mhroncok@redhat.com> - 2.2.0-2
|
||||||
|
- Rebuilt for Python 3.7
|
||||||
|
|
||||||
|
* Wed Mar 14 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.2.0-1
|
||||||
|
- Update to 2.2.0
|
||||||
|
|
||||||
|
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.1.10-7
|
||||||
|
- Update Python 2 dependency declarations to new packaging standards
|
||||||
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||||
|
|
||||||
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.10-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 24 2018 Miro Hrončok <mhroncok@redhat.com> - 2.1.10-5
|
||||||
|
- Remove the empty pyparsing package, provide and obsolete it from python2-pyparsing
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.10-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Feb 13 2017 Charalampos Stratakis <cstratak@redhat.com> - 2.1.10-3
|
||||||
|
- Rebuild as wheel
|
||||||
|
|
||||||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.10-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Dec 30 2016 José Matos <jamatos@fedoraproject.org> - 2.1.10-1
|
||||||
|
- update to 2.1.10
|
||||||
|
- do not own __pycache__
|
||||||
|
|
||||||
|
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.1.5-3
|
||||||
|
- Rebuild for Python 3.6
|
||||||
|
- Add missing BuildRequires for python-setuptools
|
||||||
|
|
||||||
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.5-2
|
||||||
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||||
|
|
||||||
|
* Thu Jun 16 2016 José Abílio Matos <jamatos@fc.up.pt> - 2.1.5-1
|
||||||
|
- update to 2.1.5
|
||||||
|
|
||||||
|
* Thu May 12 2016 José Matos <jamatos@fedoraproject.org> - 2.1.3-1
|
||||||
|
- update to 2.1.3
|
||||||
|
|
||||||
|
* Sun May 8 2016 José Matos <jamatos@fedoraproject.org> - 2.1.1-1
|
||||||
|
- update to 2.1.1
|
||||||
|
|
||||||
|
* Tue Feb 16 2016 José Matos <jamatos@fedoraproject.org> - 2.1.0-2
|
||||||
|
- fix typo in provides for the python3 subpackage
|
||||||
|
|
||||||
|
* Mon Feb 15 2016 José Matos <jamatos@fedoraproject.org> - 2.1.0-1
|
||||||
|
- update to 2.1.0
|
||||||
|
- add a python2 subpackage preserving the upgrade path
|
||||||
|
|
||||||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.7-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 08 2016 Terje Rosten <terje.rosten@ntnu.no> - 2.0.7-1
|
||||||
|
- 2.0.7
|
||||||
|
|
||||||
|
* Tue Nov 17 2015 Terje Rosten <terje.rosten@ntnu.no> - 2.0.6-1
|
||||||
|
- 2.0.6
|
||||||
|
- Some clean up
|
||||||
|
|
||||||
|
* Wed Sep 23 2015 Robert Kuska <rkuska@redhat.com> - 2.0.3-3
|
||||||
|
- Rebuilt for Python3.5 rebuild
|
||||||
|
|
||||||
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Nov 28 2014 José Matos <jamatos@fedoraproject.org> - 2.0.3-1
|
||||||
|
- update to 2.0.3
|
||||||
|
- include the whole documentation set
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 2.0.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
||||||
|
|
||||||
|
* Sun Oct 27 2013 Terje Rosten <terje.rosten@ntnu.no> - 2.0.1-1
|
||||||
|
- 2.0.1
|
||||||
|
|
||||||
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Apr 3 2013 Thomas Spura <tomspur@fedoraproject.org> - 1.5.6-8
|
||||||
|
- add patch to correct typo in exception handling
|
||||||
|
|
||||||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Aug 03 2012 David Malcolm <dmalcolm@redhat.com> - 1.5.6-6
|
||||||
|
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
|
||||||
|
|
||||||
|
* Fri Aug 3 2012 David Malcolm <dmalcolm@redhat.com> - 1.5.6-5
|
||||||
|
- remove rhel logic from with_python3 conditional
|
||||||
|
|
||||||
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Dec 6 2011 David Malcolm <dmalcolm@redhat.com> - 1.5.6-2
|
||||||
|
- fix __pycache__ conditional on RHEL
|
||||||
|
|
||||||
|
* Fri Jul 1 2011 José Matos <jamatos@fedoraproject.org> - 1.5.6-1
|
||||||
|
- New upstream version.
|
||||||
|
|
||||||
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.5-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Oct 21 2010 Terje Rosten <terje.rosten@ntnu.no> - 1.5.5-1
|
||||||
|
- 1.5.5
|
||||||
|
- use buildroot macro
|
||||||
|
- fix wrong file end of line encoding
|
||||||
|
- convert files to utf-8
|
||||||
|
- doc subpackage
|
||||||
|
- python3 subpackage
|
||||||
|
- rpmlint clean
|
||||||
|
|
||||||
|
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.5.0-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
||||||
|
|
||||||
|
* Fri Jul 16 2010 Dan Horák <dan[at]danny.cz> - 1.5.0-6
|
||||||
|
- include egginfo on EL >= 6
|
||||||
|
|
||||||
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.5.0-3
|
||||||
|
- Rebuild for Python 2.6
|
||||||
|
|
||||||
|
* Mon Aug 4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.0-2
|
||||||
|
- respun (now with the right sources)
|
||||||
|
|
||||||
|
* Mon Aug 4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.0-1
|
||||||
|
- new upstream release.
|
||||||
|
|
||||||
|
* Tue Apr 1 2008 José Matos <jamatos[AT]fc.up.pt> - 1.4.11-1
|
||||||
|
- New upstream version, add egg-info for F9+.
|
||||||
|
|
||||||
|
* Wed Aug 29 2007 José Matos <jamatos[AT]fc.up.pt> - 1.4.7-1
|
||||||
|
- New upstream version.
|
||||||
|
|
||||||
|
* Sat Apr 21 2007 José Matos <jamatos[AT]fc.up.pt> - 1.4.6-1
|
||||||
|
- New upstream version.
|
||||||
|
|
||||||
|
* Mon Dec 11 2006 José Matos <jamatos[AT]fc.up.pt> - 1.4.4-1
|
||||||
|
- New upstream version.
|
||||||
|
|
||||||
|
* Mon Sep 11 2006 José Matos <jamatos[AT]fc.up.pt> - 1.4.3-1
|
||||||
|
- New version.
|
||||||
|
|
||||||
|
* Wed Aug 3 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.3-1
|
||||||
|
- Initial RPM release
|
@ -0,0 +1,20 @@
|
|||||||
|
From: InSync <122007197+InSyncWithFoo@users.noreply.github.com>
|
||||||
|
Date: Sat, 13 Jan 2024 05:04:57 +0000
|
||||||
|
Subject: [PATCH] Avoid assigning an empty error message to delegated parse
|
||||||
|
exception
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/pyparsing/core.py b/pyparsing/core.py
|
||||||
|
index 73514ed..fc19d1c 100644
|
||||||
|
--- a/pyparsing/core.py
|
||||||
|
+++ b/pyparsing/core.py
|
||||||
|
@@ -4569,7 +4569,8 @@ class ParseElementEnhance(ParserElement):
|
||||||
|
return self.expr._parse(instring, loc, doActions, callPreParse=False)
|
||||||
|
except ParseBaseException as pbe:
|
||||||
|
if not isinstance(self, Forward) or self.customName is not None:
|
||||||
|
- pbe.msg = self.errmsg
|
||||||
|
+ if self.errmsg:
|
||||||
|
+ pbe.msg = self.errmsg
|
||||||
|
raise
|
||||||
|
else:
|
||||||
|
raise ParseException(instring, loc, "No expression defined", self)
|
276
pyparsing.spec
276
pyparsing.spec
@ -1,234 +1,110 @@
|
|||||||
%global srcname pyparsing
|
Summary: Python package with an object-oriented approach to text processing
|
||||||
%global sum Python package with an object-oriented approach to text processing
|
|
||||||
|
|
||||||
%global build_wheel 1
|
|
||||||
|
|
||||||
%global python3_wheelname %{srcname}-%{version}-py2.py3-none-any.whl
|
|
||||||
|
|
||||||
Summary: %{sum}
|
|
||||||
Name: pyparsing
|
Name: pyparsing
|
||||||
Version: 2.1.10
|
Version: 3.1.1
|
||||||
Release: 7%{?dist}
|
Release: %autorelease
|
||||||
|
|
||||||
|
# SPDX
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://pyparsing.wikispaces.com/
|
URL: https://github.com/pyparsing/pyparsing
|
||||||
Source0: http://downloads.sourceforge.net/pyparsing/pyparsing-%{version}.tar.gz
|
Source0: https://github.com/%{name}/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
Patch1: pyparsing-0001-Avoid-assigning-an-empty-error-message-to-delegated-.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
BuildRequires: python3-devel
|
|
||||||
BuildRequires: python3-setuptools
|
|
||||||
|
|
||||||
%if 0%{?build_wheel}
|
# python3 bootstrap: this is built before the final build of python3, which
|
||||||
BuildRequires: python%{python3_pkgversion}-pip
|
# adds the dependency on python3-rpm-generators, so we require it manually
|
||||||
BuildRequires: python%{python3_pkgversion}-wheel
|
# (python BuildRequires systemtap-sdt-devel which requires python3-pyparsing)
|
||||||
|
BuildRequires: python3-rpm-generators
|
||||||
|
# We need those for the same reason:
|
||||||
|
%bcond doc 1
|
||||||
|
%bcond tests 1
|
||||||
|
|
||||||
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
|
|
||||||
|
%if %{with doc}
|
||||||
|
BuildRequires: python%{python3_pkgversion}-sphinx
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with tests}
|
||||||
|
BuildRequires: python%{python3_pkgversion}-pytest
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
pyparsing is a module that can be used to easily and directly configure syntax
|
pyparsing is a module that can be used to easily and directly configure syntax
|
||||||
definitions for any number of text parsing applications.
|
definitions for any number of text parsing applications.
|
||||||
|
|
||||||
|
|
||||||
%package doc
|
%package -n python%{python3_pkgversion}-pyparsing
|
||||||
Summary: Documentation for pyparsing python package
|
Summary: %{summary}
|
||||||
|
|
||||||
%description doc
|
%description -n python%{python3_pkgversion}-pyparsing
|
||||||
The package contains documentation for pyparsing.
|
|
||||||
|
|
||||||
|
|
||||||
%package -n python3-pyparsing
|
|
||||||
Summary: %{sum}
|
|
||||||
%{?python_provide:%python_provide python3-%{srcname}}
|
|
||||||
|
|
||||||
%description -n python3-pyparsing
|
|
||||||
pyparsing is a module that can be used to easily and directly configure syntax
|
pyparsing is a module that can be used to easily and directly configure syntax
|
||||||
definitions for any number of text parsing applications.
|
definitions for any number of text parsing applications.
|
||||||
|
|
||||||
This is the Python 3 version.
|
|
||||||
|
%if %{with doc}
|
||||||
|
%package doc
|
||||||
|
Summary: Documentation for %{name}
|
||||||
|
|
||||||
|
# Most examples are under the project's license, MIT
|
||||||
|
# pymicko.py is under GPL-3.0-or-later
|
||||||
|
# snmp_api.h is under MIT-CMU
|
||||||
|
# sparser.py is under GPL-2.0-or-later
|
||||||
|
# searchparser.py and booleansearchparser.py are under BSD-3-Clause
|
||||||
|
# btpyparse.py is under "Simplified BSD license" -> BSD-2-Clause
|
||||||
|
License: MIT AND MIT-CMU AND GPL-2.0-or-later AND GPL-3.0-or-later AND BSD-3-Clause AND BSD-2-Clause
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
The package contains documentation for pyparsing.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
mv docs/pyparsingClassDiagram.PNG docs/pyparsingClassDiagram.png
|
|
||||||
rm docs/pyparsingClassDiagram.JPG
|
dos2unix -k examples/*
|
||||||
dos2unix -k CHANGES LICENSE README
|
|
||||||
|
|
||||||
|
%generate_buildrequires
|
||||||
|
%pyproject_buildrequires
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{?build_wheel}
|
%pyproject_wheel
|
||||||
%py3_build_wheel
|
|
||||||
%else
|
%if %{with doc}
|
||||||
%py3_build
|
pushd docs
|
||||||
|
# Theme is not available
|
||||||
|
sed -i '/alabaster/d' conf.py
|
||||||
|
sphinx-build -b html . html
|
||||||
|
popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if 0%{?build_wheel}
|
%pyproject_install
|
||||||
%py3_install_wheel %{python3_wheelname}
|
%pyproject_save_files pyparsing
|
||||||
%else
|
|
||||||
%py3_install
|
|
||||||
|
%check
|
||||||
|
%pyproject_check_import -e pyparsing.diagram
|
||||||
|
%if %{with tests}
|
||||||
|
# Exclude test_range_check, testEmptyExpressionsAreHandledProperly and the test_diagram.py module
|
||||||
|
# because they depend on python-railroad-diagrams
|
||||||
|
%pytest -v -k 'not test_range_check and not testEmptyExpressionsAreHandledProperly' --ignore tests/test_diagram.py
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-pyparsing
|
%files -n python%{python3_pkgversion}-pyparsing -f %{pyproject_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGES README LICENSE
|
%doc CHANGES README.rst
|
||||||
%{python3_sitelib}/pyparsing.py
|
|
||||||
%{python3_sitelib}/__pycache__/*
|
|
||||||
%{python3_sitelib}/pyparsing-*dist-info/
|
|
||||||
|
|
||||||
|
%if %{with doc}
|
||||||
%files doc
|
%files doc
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGES README HowToUsePyparsing.html docs examples htmldoc
|
%doc CHANGES README.rst docs/html examples
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue May 29 2018 Petr Viktorin <pviktori@redhat.com> - 2.1.10-7
|
%autochangelog
|
||||||
- Remove Python 2 subpackage
|
|
||||||
https://bugzilla.redhat.com/show_bug.cgi?id=1567403
|
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.10-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jan 24 2018 Miro Hrončok <mhroncok@redhat.com> - 2.1.10-5
|
|
||||||
- Remove the empty pyparsing package, provide and obsolete it from python2-pyparsing
|
|
||||||
|
|
||||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.10-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Feb 13 2017 Charalampos Stratakis <cstratak@redhat.com> - 2.1.10-3
|
|
||||||
- Rebuild as wheel
|
|
||||||
|
|
||||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.10-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Dec 30 2016 José Matos <jamatos@fedoraproject.org> - 2.1.10-1
|
|
||||||
- update to 2.1.10
|
|
||||||
- do not own __pycache__
|
|
||||||
|
|
||||||
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.1.5-3
|
|
||||||
- Rebuild for Python 3.6
|
|
||||||
- Add missing BuildRequires for python-setuptools
|
|
||||||
|
|
||||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.5-2
|
|
||||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
||||||
|
|
||||||
* Thu Jun 16 2016 José Abílio Matos <jamatos@fc.up.pt> - 2.1.5-1
|
|
||||||
- update to 2.1.5
|
|
||||||
|
|
||||||
* Thu May 12 2016 José Matos <jamatos@fedoraproject.org> - 2.1.3-1
|
|
||||||
- update to 2.1.3
|
|
||||||
|
|
||||||
* Sun May 8 2016 José Matos <jamatos@fedoraproject.org> - 2.1.1-1
|
|
||||||
- update to 2.1.1
|
|
||||||
|
|
||||||
* Tue Feb 16 2016 José Matos <jamatos@fedoraproject.org> - 2.1.0-2
|
|
||||||
- fix typo in provides for the python3 subpackage
|
|
||||||
|
|
||||||
* Mon Feb 15 2016 José Matos <jamatos@fedoraproject.org> - 2.1.0-1
|
|
||||||
- update to 2.1.0
|
|
||||||
- add a python2 subpackage preserving the upgrade path
|
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.7-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 08 2016 Terje Rosten <terje.rosten@ntnu.no> - 2.0.7-1
|
|
||||||
- 2.0.7
|
|
||||||
|
|
||||||
* Tue Nov 17 2015 Terje Rosten <terje.rosten@ntnu.no> - 2.0.6-1
|
|
||||||
- 2.0.6
|
|
||||||
- Some clean up
|
|
||||||
|
|
||||||
* Wed Sep 23 2015 Robert Kuska <rkuska@redhat.com> - 2.0.3-3
|
|
||||||
- Rebuilt for Python3.5 rebuild
|
|
||||||
|
|
||||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Nov 28 2014 José Matos <jamatos@fedoraproject.org> - 2.0.3-1
|
|
||||||
- update to 2.0.3
|
|
||||||
- include the whole documentation set
|
|
||||||
|
|
||||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 2.0.1-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
||||||
|
|
||||||
* Sun Oct 27 2013 Terje Rosten <terje.rosten@ntnu.no> - 2.0.1-1
|
|
||||||
- 2.0.1
|
|
||||||
|
|
||||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-9
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Apr 3 2013 Thomas Spura <tomspur@fedoraproject.org> - 1.5.6-8
|
|
||||||
- add patch to correct typo in exception handling
|
|
||||||
|
|
||||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Aug 03 2012 David Malcolm <dmalcolm@redhat.com> - 1.5.6-6
|
|
||||||
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
|
|
||||||
|
|
||||||
* Fri Aug 3 2012 David Malcolm <dmalcolm@redhat.com> - 1.5.6-5
|
|
||||||
- remove rhel logic from with_python3 conditional
|
|
||||||
|
|
||||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Dec 6 2011 David Malcolm <dmalcolm@redhat.com> - 1.5.6-2
|
|
||||||
- fix __pycache__ conditional on RHEL
|
|
||||||
|
|
||||||
* Fri Jul 1 2011 José Matos <jamatos@fedoraproject.org> - 1.5.6-1
|
|
||||||
- New upstream version.
|
|
||||||
|
|
||||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.5-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Oct 21 2010 Terje Rosten <terje.rosten@ntnu.no> - 1.5.5-1
|
|
||||||
- 1.5.5
|
|
||||||
- use buildroot macro
|
|
||||||
- fix wrong file end of line encoding
|
|
||||||
- convert files to utf-8
|
|
||||||
- doc subpackage
|
|
||||||
- python3 subpackage
|
|
||||||
- rpmlint clean
|
|
||||||
|
|
||||||
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.5.0-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
||||||
|
|
||||||
* Fri Jul 16 2010 Dan Horák <dan[at]danny.cz> - 1.5.0-6
|
|
||||||
- include egginfo on EL >= 6
|
|
||||||
|
|
||||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.5.0-3
|
|
||||||
- Rebuild for Python 2.6
|
|
||||||
|
|
||||||
* Mon Aug 4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.0-2
|
|
||||||
- respun (now with the right sources)
|
|
||||||
|
|
||||||
* Mon Aug 4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.0-1
|
|
||||||
- new upstream release.
|
|
||||||
|
|
||||||
* Tue Apr 1 2008 José Matos <jamatos[AT]fc.up.pt> - 1.4.11-1
|
|
||||||
- New upstream version, add egg-info for F9+.
|
|
||||||
|
|
||||||
* Wed Aug 29 2007 José Matos <jamatos[AT]fc.up.pt> - 1.4.7-1
|
|
||||||
- New upstream version.
|
|
||||||
|
|
||||||
* Sat Apr 21 2007 José Matos <jamatos[AT]fc.up.pt> - 1.4.6-1
|
|
||||||
- New upstream version.
|
|
||||||
|
|
||||||
* Mon Dec 11 2006 José Matos <jamatos[AT]fc.up.pt> - 1.4.4-1
|
|
||||||
- New upstream version.
|
|
||||||
|
|
||||||
* Mon Sep 11 2006 José Matos <jamatos[AT]fc.up.pt> - 1.4.3-1
|
|
||||||
- New version.
|
|
||||||
|
|
||||||
* Wed Aug 3 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.3-1
|
|
||||||
- Initial RPM release
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (pyparsing-2.1.10.tar.gz) = 21af73d6f479d52746f269c8fbaf90c1107a8aec756d30af8c7c4e6a2ff0ea9659cc07816b7ea19286bc12d43497f5e8e63351453bf18daf6a1cb380a195532e
|
SHA512 (pyparsing-3.1.1.tar.gz) = 59ae01e13277e25cabd1a1ea41a27aac9235c09746f54c0eaac53d0aae488309fe2044b3b31e1105cb8207ad3326828ec32bdd5e904cceee8b0d032740679628
|
||||||
|
Loading…
Reference in New Issue
Block a user