## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 candidate rc0 # Currently fails %define with_tests 0 Name: python-can Version: 4.5.0 Release: %autorelease Summary: Controller Area Network (CAN) support for Python License: LGPL-3.0-only URL: https://github.com/hardbyte/python-can Source0: https://github.com/hardbyte/python-can/archive/%{version}.tar.gz#/%{name}-%{version}%{?candidate:%{candidate}}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3dist(msgpack) %if 0%{?with_tests} BuildRequires: python3-nose BuildRequires: python3-mock %endif %description The Controller Area Network is a bus standard designed to allow microcontrollers and devices to communicate with each other. It has priority based bus arbitration, reliable deterministic communication. It is used in cars, trucks, boats, wheelchairs and more. The can package provides controller area network support for Python developers; providing common abstractions to different hardware devices, and a suite of utilities for sending and receiving messages on a can bus. %package -n python3-can Summary: Controller Area Network (CAN) support for Python 3 %{?python_provide:%python_provide python3-can} %description -n python3-can The Controller Area Network is a bus standard designed to allow microcontrollers and devices to communicate with each other. It has priority based bus arbitration, reliable deterministic communication. It is used in cars, trucks, boats, wheelchairs and more. The can package provides controller area network support for Python developers; providing common abstractions to different hardware devices, and a suite of utilities for sending and receiving messages on a can bus. %prep %autosetup -p1 -n %{name}-%{version}%{?candidate:%{candidate}} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files can %check %if %{with_tests} %{__python3} setup.py test %endif %files -n python3-can %license LICENSE.txt %{_bindir}/can_* %{python3_sitelib}/* %changelog ## START: Generated by rpmautospec * Thu Nov 28 2024 Peter Robinson - 4.5.0-1 - Update to 4.5.0 * Fri Jul 26 2024 Miroslav Suchý - 4.4.2-3 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 4.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jun 24 2024 Peter Robinson - 4.4.2-1 - Update to 4.4.2 * Mon Jun 10 2024 Python Maint - 4.4.0-2 - Rebuilt for Python 3.13 * Sun Jun 09 2024 Peter Robinson - 4.4.0-1 - Update to 4.4.0 * Fri Jun 07 2024 Python Maint - 4.3.1-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 4.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 4.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Dec 14 2023 Peter Robinson - 4.3.1-1 - Update to 4.3.1 * Fri Jul 21 2023 Fedora Release Engineering - 4.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jun 26 2023 Python Maint - 4.2.2-2 - Rebuilt for Python 3.12 * Tue Jun 20 2023 Peter Robinson - 4.2.2-1 - Update to 4.2.2 * Tue Jun 13 2023 Python Maint - 4.2.0-2 - Rebuilt for Python 3.12 * Wed Apr 26 2023 Peter Robinson - 4.2.0-1 - Update to 4.2.0 * Mon Apr 10 2023 Peter Robinson - 4.2.0-0.1.rc0 - Update to 4.2.0rc0 * Mon Apr 10 2023 Peter Robinson - 4.1.0-1 - Update to 4.1.0 * Fri Jan 20 2023 Fedora Release Engineering - 4.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 4.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 4.0.0-2 - Rebuilt for Python 3.11 * Sun Feb 20 2022 Peter Robinson - 4.0.0-1 - Update to 4.0.0 * Fri Jan 21 2022 Fedora Release Engineering - 3.3.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Aug 25 2021 Peter Robinson - 3.3.4-5 - Rebuild for python aenum 3.1.0 * Fri Jul 23 2021 Fedora Release Engineering - 3.3.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 3.3.4-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 3.3.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Nov 11 2020 Peter Robinson - 3.3.4-1 - Update to 3.3.4 * Wed Jul 29 2020 Fedora Release Engineering - 3.3.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 3.3.3-2 - Rebuilt for Python 3.9 * Fri May 22 2020 Peter Robinson - 3.3.3-1 - New upstream 3.3.3 release * Thu Jan 30 2020 Fedora Release Engineering - 3.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 3.3.1-3 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 3.3.1-2 - Rebuilt for Python 3.8 * Sat Jul 27 2019 Peter Robinson 3.3.1-1 - New upstream 3.3.1 release - Cleanups for review * Fri Dec 2 2016 Peter Robinson 1.5.2-3 - Fix license, fix provides * Fri Dec 2 2016 Peter Robinson 1.5.2-2 - Package updates * Thu Sep 15 2016 Peter Robinson 1.5.2-1 - initial packaging ## END: Generated by rpmautospec