## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-parsimonious Version: 0.10.0 Release: %autorelease Summary: A fast pure-Python PEG parser License: MIT URL: https://github.com/erikrose/parsimonious Source0: %{url}/archive/%{version}/parsimonious-%{version}.tar.gz BuildRequires: python3-devel BuildArch: noarch %description Parsimonious aims to be the fastest arbitrary-lookahead parser written in pure Python, and the most usable. It's based on parsing expression grammars (PEGs), which means you feed it a simplified sort of EBNF notation. Parsimonious was designed to undergird a MediaWiki parser that wouldn't take 5 seconds or a GB of RAM to do one page, but it's applicable to all sorts of languages. %prep %autosetup -p 1 -n parsimonious-%{version} %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files parsimonious %check %tox %files -f %{pyproject_files} %doc README.rst %license LICENSE %changelog * Fri Jan 20 2023 Fedora Release Engineering - 0.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Jan 16 2023 Alessio - 0.10.0-1 - Update to 0.10.0 * Sat Aug 06 2022 alciregi - 0.9.0-1 - Update to 0.9.0 * Fri Jul 22 2022 Fedora Release Engineering - 0.8.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.8.1-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jan 11 2022 alciregi - 0.8.1-1 - Initial import (#2036758).