## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 10; 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 %global pypi_name boolean.py Name: python-%{pypi_name} Version: 4.0 Release: %autorelease Summary: Define boolean algebras, and create and parse boolean expressions License: BSD URL: https://github.com/bastikr/boolean.py Source0: %pypi_source BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: %{py3_dist Sphinx} BuildRequires: %{py3_dist pytest} %global _description \ "boolean.py" is a small library implementing a boolean algebra. It defines\ two base elements, TRUE and FALSE, and a Symbol class that can take on one of\ these two values. Calculations are done in terms of AND, OR and NOT - other\ compositions like XOR and NAND are not implemented but can be emulated with\ AND or and NOT. Expressions are constructed from parsed strings or in Python. %description %{_description} %package -n python%{python3_pkgversion}-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} %description -n python%{python3_pkgversion}-%{pypi_name} %{_description} Python 3 version. %prep %autosetup -n %{pypi_name}-%{version} %build %py3_build sphinx-build-%{python3_version} docs html rm -rf html/.{doctrees,buildinfo} %install %py3_install %check %pytest %files -n python%{python3_pkgversion}-%{pypi_name} %license LICENSE.txt %doc CHANGELOG.rst README.rst html/ %{python3_sitelib}/boolean.py*.egg-info/ %{python3_sitelib}/boolean/ %changelog ## START: Generated by rpmautospec * Wed Aug 14 2024 Lumir Balhar - 4.0-10 - Drop obsoleted setup.py test * Fri Jul 19 2024 Fedora Release Engineering - 4.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 4.0-7 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 4.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Python Maint - 4.0-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Oct 06 2022 Carmen Bianca Bakker - 4.0-1 - new version * Fri Jul 22 2022 Fedora Release Engineering - 3.8-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 3.8-7 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 3.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 3.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 3.8-4 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 3.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 3.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 26 2020 Charalampos Stratakis - 3.8-1 - Update to 3.8 (#1846144) * Tue May 26 2020 Miro Hrončok - 3.7-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 3.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Oct 15 2019 Carmen Bianca Bakker - 3.7-1 - new version * Thu Oct 03 2019 Miro Hrončok - 3.6-2 - Rebuilt for Python 3.8.0rc1 (#1748018) * Thu Aug 08 2019 Carmen Bianca Bakker - 3.6-1 - New package. ## END: Generated by rpmautospec