Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:M0ses:home-assistant
python-python-miio
python-python-miio.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-python-miio.spec of Package python-python-miio
# # spec file for package python-python-miio # # Copyright (c) 2023 SUSE LLC # # 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_python311 1 %define skip_python310 1 %define skip_python39 1 Name: python-python-miio Version: 0.5.12 Release: 0 Summary: Python library for interfacing with Xiaomi smart appliances License: GPL-3.0 URL: https://github.com/rytilahti/python-miio Source: https://files.pythonhosted.org/packages/source/p/python-miio/python-miio-%{version}.tar.gz BuildRequires: python-rpm-macros BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry-core} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module click} BuildRequires: %{python_module construct} BuildRequires: %{python_module cryptography} BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module pytz} BuildRequires: %{python_module appdirs} BuildRequires: %{python_module croniter} BuildRequires: %{python_module zeroconf} BuildRequires: %{python_module tqdm} BuildRequires: fdupes BuildArch: noarch %python_subpackages %description This library (and its accompanying cli tool) can be used to interface with devices using Xiaomi's `miIO <https://github.com/OpenMiHome/mihome-binary-protocol/blob/master/doc/PROTOCOL.md>` and MIoT protocols. %prep %autosetup -p1 -n python-miio-%{version} %build %pyproject_wheel %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check #CHOOSE: % pytest OR % pyunittest -v OR CUSTOM #%%pytest #%%pyunittest -v %files %{python_files} %doc README.rst %license LICENSE LICENSE.md /usr/bin/miio-extract-tokens /usr/bin/miiocli /usr/bin/mirobo %{python_sitelib}/miio %{python_sitelib}/python_miio-%{version}.dist-info %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