Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:illuusio:python3
python-can
python-can.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-can.spec of Package python-can
# # spec file for package python-can # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define skip_python2 1 Name: python-can Version: 3.3.4 Release: 0 Summary: Controller Area Network is a bus standard License: MIT Group: Development/Languages/Python URL: https://github.com/hardbyte/python-can Source: python-can-%{version}.tar.gz Patch0: python-can_axiomtek_ax9290_hack.patch Patch1: python-can_neousys_wdt.patch Patch2: python-can_winmate_ucan03.patch BuildRequires: %{python_module Pygments} BuildRequires: %{python_module setuptools} Requires: python-setuptools Requires: python-aenum Requires: python-pyserial Requires: python-pyftdi Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch %python_subpackages %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 and 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. The library supports Python 2.7, Python 3.5+ as well as PyPy 2 & 3 and runs on Mac, Linux and Windows. %prep %setup -q -n python-can-%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %build %python_build %install %python_install %python_clone -a %{buildroot}%{_bindir}/can_logger.py %python_clone -a %{buildroot}%{_bindir}/can_player.py %python_clone -a %{buildroot}%{_bindir}/can_viewer.py %post %python_install_alternative can_logger.py %python_install_alternative can_player.py %python_install_alternative can_viewer.py %postun %python_uninstall_alternative can_logger.py %python_uninstall_alternative can_player.py %python_uninstall_alternative can_viewer.py %files %{python_files} %if 0%{?suse_version} < 1500 %license LICENSE.txt %else %license LICENSE.txt %endif %doc README.rst %{python_sitelib}/* %python_alternative %{_bindir}/can_logger.py %python_alternative %{_bindir}/can_player.py %python_alternative %{_bindir}/can_viewer.py %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor