Blame SPECS/python-funcparserlib.spec

96c2a6
%global srcname funcparserlib
96c2a6
%global srcdesc \
96c2a6
Parser combinators are just higher-order functions that take parsers as their\
96c2a6
arguments and return them as result values. Parser combinators are:\
96c2a6
* First-class values\
96c2a6
* Extremely composable\
96c2a6
* Tend to make the code quite compact\
96c2a6
* Resemble the readable notation of xBNF grammars\
96c2a6
\
96c2a6
Parsers made with funcparserlib are pure-Python LL(*) parsers. It means that\
96c2a6
it's very easy to write them without thinking about look-aheads and all that\
96c2a6
hardcore parsing stuff. But the recursive descent parsing is a rather slow\
96c2a6
method compared to LL(k) or LR(k) algorithms.\
96c2a6
\
96c2a6
So the primary domain for funcparserlib is parsing little languages or external\
96c2a6
DSLs (domain specific languages).
96c2a6
96c2a6
Name:           python-%{srcname}
96c2a6
Version:        0.3.6
96c2a6
Release:        26%{?dist}
96c2a6
Summary:        Recursive descent parsing library based on functional combinators
96c2a6
96c2a6
License:        MIT
96c2a6
URL:            https://github.com/vlasovskikh/funcparserlib
96c2a6
Source:         %pypi_source
96c2a6
96c2a6
BuildArch:      noarch
96c2a6
BuildRequires:  python3-devel
96c2a6
BuildRequires:  %{py3_dist nose}
96c2a6
BuildRequires:  %{py3_dist setuptools}
96c2a6
96c2a6
96c2a6
%description %{srcdesc}
96c2a6
96c2a6
96c2a6
%package -n python3-%{srcname}
96c2a6
Summary:        %{summary}
96c2a6
%{?python_provide:%python_provide python3-%{srcname}}
96c2a6
96c2a6
96c2a6
%description -n python3-%{srcname} %{srcdesc}
96c2a6
96c2a6
96c2a6
%prep
96c2a6
%autosetup -n %{srcname}-%{version}
96c2a6
96c2a6
96c2a6
%build
96c2a6
%py3_build
96c2a6
96c2a6
96c2a6
%install
96c2a6
%py3_install
96c2a6
96c2a6
96c2a6
%check
96c2a6
nosetests-%{python3_version} build/
96c2a6
96c2a6
96c2a6
%files -n python3-%{srcname}
96c2a6
%license LICENSE
96c2a6
%doc PKG-INFO README CHANGES
96c2a6
%{python3_sitelib}/%{srcname}/
96c2a6
%{python3_sitelib}/%{srcname}-*.egg-info/
96c2a6
%exclude %{python3_sitelib}/%{srcname}/tests
96c2a6
96c2a6
96c2a6
%changelog
96c2a6
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-26
96c2a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
96c2a6
96c2a6
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-25
96c2a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
96c2a6
96c2a6
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.3.6-24
96c2a6
- Rebuilt for Python 3.9
96c2a6
96c2a6
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-23
96c2a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
96c2a6
96c2a6
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.6-22
96c2a6
- Rebuilt for Python 3.8.0rc1 (#1748018)
96c2a6
96c2a6
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.6-21
96c2a6
- Rebuilt for Python 3.8
96c2a6
96c2a6
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-20
96c2a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
96c2a6
96c2a6
* Tue Feb 05 2019 Dridi Boukelmoune <dridi@fedoraproject.org> - 0.3.6-19
96c2a6
- Catch up with packaging guidelines
96c2a6
- In general, use recommended RPM macros
96c2a6
- Drop the Python 2 package
96c2a6
- Inline package description
96c2a6
96c2a6
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-18
96c2a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
96c2a6
96c2a6
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-17
96c2a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
96c2a6
96c2a6
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3.6-16
96c2a6
- Rebuilt for Python 3.7
96c2a6
96c2a6
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-15
96c2a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
96c2a6
96c2a6
* Fri Jan 19 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.3.6-14
96c2a6
- Update Python 2 dependency declarations to new packaging standards
96c2a6
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
96c2a6
96c2a6
* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.3.6-13
96c2a6
- Python 2 binary package renamed to python2-funcparserlib
96c2a6
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
96c2a6
96c2a6
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-12
96c2a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
96c2a6
96c2a6
* Sat Feb 11 2017 Dridi Boukelmoune <dridi@fedoraproject.org> - 0.3.6-11
96c2a6
- Python 3 detection for epel7
96c2a6
96c2a6
* Fri Feb 10 2017 Dridi Boukelmoune <dridi@fedoraproject.org> - 0.3.6-10
96c2a6
- Update URL
96c2a6
96c2a6
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.3.6-9
96c2a6
- Rebuild for Python 3.6
96c2a6
96c2a6
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.6-8
96c2a6
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
96c2a6
96c2a6
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-7
96c2a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
96c2a6
96c2a6
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.6-6
96c2a6
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
96c2a6
96c2a6
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.6-5
96c2a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
96c2a6
96c2a6
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.6-4
96c2a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
96c2a6
96c2a6
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.3.6-3
96c2a6
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
96c2a6
96c2a6
* Sat Dec 21 2013 Dridi Boukelmoune <dridi@fedoraproject.org> - 0.3.6-2
96c2a6
- Using %%{python3_version} instead of hardcoded 3.3
96c2a6
96c2a6
* Mon Dec 09 2013 Dridi Boukelmoune <dridi@fedoraproject.org> - 0.3.6-1
96c2a6
- Initial spec