Compare commits
No commits in common. "c8s" and "c9s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
8
.gitignore
vendored
8
.gitignore
vendored
@ -1,2 +1,6 @@
|
|||||||
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
|
||||||
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-9
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
11
plans.fmf
Normal file
11
plans.fmf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
discover:
|
||||||
|
- name: Smoke-tests
|
||||||
|
how: shell
|
||||||
|
tests:
|
||||||
|
- name: python-import-test
|
||||||
|
test: python3 -c 'import pyparsing'
|
||||||
|
require:
|
||||||
|
- python3-pyparsing
|
||||||
|
duration: 1m
|
||||||
|
execute:
|
||||||
|
how: tmt
|
170
pyparsing.spec
170
pyparsing.spec
@ -1,23 +1,34 @@
|
|||||||
%global srcname pyparsing
|
%global srcname pyparsing
|
||||||
%global sum Python package with an object-oriented approach to text processing
|
%global _summary Python package with an object-oriented approach to text processing
|
||||||
|
|
||||||
%global build_wheel 1
|
%global build_wheel 1
|
||||||
|
|
||||||
%global python3_wheelname %{srcname}-%{version}-py2.py3-none-any.whl
|
%global python_wheelname %{srcname}-%{version}-py2.py3-none-any.whl
|
||||||
|
|
||||||
Summary: %{sum}
|
# when bootstrapping Python 3, pyparsing needs to be rebuilt before sphinx
|
||||||
|
%bcond_without doc
|
||||||
|
|
||||||
|
Summary: %{_summary}
|
||||||
Name: pyparsing
|
Name: pyparsing
|
||||||
Version: 2.1.10
|
Version: 2.4.7
|
||||||
Release: 7%{?dist}
|
Release: 9%{?dist}
|
||||||
|
|
||||||
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/%{name}_%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||||
|
|
||||||
|
# python3 bootstrap: this is rebuilt before the final build of python3, which
|
||||||
|
# adds the dependency on python3-rpm-generators, so we require it manually
|
||||||
|
BuildRequires: python3-rpm-generators
|
||||||
|
|
||||||
|
%if %{with doc}
|
||||||
|
BuildRequires: python%{python3_pkgversion}-sphinx
|
||||||
|
%endif
|
||||||
|
|
||||||
%if 0%{?build_wheel}
|
%if 0%{?build_wheel}
|
||||||
BuildRequires: python%{python3_pkgversion}-pip
|
BuildRequires: python%{python3_pkgversion}-pip
|
||||||
@ -29,18 +40,28 @@ 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.
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with doc}
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for pyparsing python package
|
Summary: Documentation for pyparsing python package
|
||||||
|
|
||||||
|
# Most examples are under the project's license, MIT
|
||||||
|
# pymicko.py is under GPLv3+
|
||||||
|
# snmp_api.h is under CMU-UC (MIT)
|
||||||
|
# sparser.py is under GPLv2+
|
||||||
|
# searchparser.py is under BSD (3-clause, with advertising)
|
||||||
|
# btpyparse.py is under "Simplified BSD license"
|
||||||
|
License: MIT and GPLv2+ and GPLv3+ and BSD
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
The package contains documentation for pyparsing.
|
The package contains documentation for pyparsing.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%package -n python3-pyparsing
|
%package -n python%{python3_pkgversion}-pyparsing
|
||||||
Summary: %{sum}
|
Summary: %{_summary}
|
||||||
%{?python_provide:%python_provide python3-%{srcname}}
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
|
||||||
|
|
||||||
%description -n python3-pyparsing
|
%description -n python%{python3_pkgversion}-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.
|
||||||
|
|
||||||
@ -48,10 +69,9 @@ This is the Python 3 version.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n %{name}-%{name}_%{version}
|
||||||
mv docs/pyparsingClassDiagram.PNG docs/pyparsingClassDiagram.png
|
dos2unix -k CHANGES LICENSE
|
||||||
rm docs/pyparsingClassDiagram.JPG
|
|
||||||
dos2unix -k CHANGES LICENSE README
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{?build_wheel}
|
%if 0%{?build_wheel}
|
||||||
@ -60,29 +80,129 @@ dos2unix -k CHANGES LICENSE README
|
|||||||
%py3_build
|
%py3_build
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{with doc}
|
||||||
|
# build docs
|
||||||
|
pushd docs
|
||||||
|
# Theme is not available
|
||||||
|
sed -i '/alabaster/d' conf.py
|
||||||
|
sphinx-build -b html . html
|
||||||
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if 0%{?build_wheel}
|
%if 0%{?build_wheel}
|
||||||
%py3_install_wheel %{python3_wheelname}
|
%py3_install_wheel %{python_wheelname}
|
||||||
%else
|
%else
|
||||||
%py3_install
|
%py3_install
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-pyparsing
|
%check
|
||||||
|
%{__python3} unitTests.py
|
||||||
|
%{__python3} simple_unit_tests.py
|
||||||
|
|
||||||
|
|
||||||
|
%files -n python%{python3_pkgversion}-pyparsing
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGES README LICENSE
|
%doc CHANGES README.rst
|
||||||
%{python3_sitelib}/pyparsing.py
|
%{python3_sitelib}/pyparsing.py
|
||||||
%{python3_sitelib}/__pycache__/*
|
%{python3_sitelib}/__pycache__/*
|
||||||
%{python3_sitelib}/pyparsing-*dist-info/
|
%{python3_sitelib}/pyparsing-*-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
|
* Wed Feb 16 2022 Tomas Orsava <torsava@redhat.com> - 2.4.7-9
|
||||||
- Remove Python 2 subpackage
|
- Add gating configuration and a simple smoke test
|
||||||
https://bugzilla.redhat.com/show_bug.cgi?id=1567403
|
- Related: rhbz#1950291
|
||||||
|
|
||||||
|
* Tue Feb 08 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 2.4.7-8.1
|
||||||
|
- Add automatically generated Obsoletes tag with the python39- prefix
|
||||||
|
for smoother upgrade from RHEL8
|
||||||
|
- Related: rhbz#1990421
|
||||||
|
|
||||||
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.4.7-7.1
|
||||||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Thu May 27 2021 Petr Viktorin <pviktori@redhat.com> - 2.4.7-6.1
|
||||||
|
- Fix licence for examples shipped in pyparsing-doc
|
||||||
|
|
||||||
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.4.7-6
|
||||||
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
* 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
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.10-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (pyparsing-2.1.10.tar.gz) = 21af73d6f479d52746f269c8fbaf90c1107a8aec756d30af8c7c4e6a2ff0ea9659cc07816b7ea19286bc12d43497f5e8e63351453bf18daf6a1cb380a195532e
|
SHA512 (pyparsing-2.4.7.tar.gz) = c7a546729f86a2b5176e2482b566b9fd715b03e495aaef4d720b21307bb03f385dbc849247f8d266cb3d92be0a83c34ce4995b655ce85318355d5a0d42d6991e
|
||||||
|
Loading…
Reference in New Issue
Block a user