Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
system:homeautomation: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) 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 http://bugs.opensuse.org/ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-python-miio Version: 0.5.8 Release: 0 License: GPL-3.0 Summary: Python library for interfacing with Xiaomi smart appliances Url: https://github.com/rytilahti/python-miio Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/p/python-miio/python-miio-%{version}.tar.gz BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} # SECTION test requirements BuildRequires: %{python_module PyYAML >= 5} BuildRequires: %{python_module appdirs} BuildRequires: %{python_module attrs} BuildRequires: %{python_module click >= 7} BuildRequires: %{python_module construct >= 2.9.45} BuildRequires: %{python_module croniter >= 0.3.32} BuildRequires: %{python_module cryptography} BuildRequires: %{python_module defusedxml >= 0.6} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest-mock >= 3.1.0} BuildRequires: %{python_module pytz} BuildRequires: %{python_module tox} BuildRequires: %{python_module tqdm} BuildRequires: %{python_module zeroconf >= 0.28} # /SECTION BuildRequires: fdupes Requires: python-appdirs Requires: python-attrs Requires: python-click >= 7 Requires: python-construct >= 2.9.45 Requires: python-croniter >= 0.3.32 Requires: python-cryptography Requires: python-defusedxml >= 0.6 Requires: python-pytz Requires: python-tqdm Requires: python-zeroconf >= 0.28 Suggests: python-android_backup BuildArch: noarch %python_subpackages %description Python library for interfacing with Xiaomi smart appliances %prep %setup -q -n python-miio-%{version} sed -i -e "s/Requires-Dist:\(.*\),<[0-9.]*/Requires-Dist:\1/" PKG-INFO sed -i -e "s/^\(.'.*\),<[0-9.]*'/\1'/" setup.py rm miio/tests/test_yeelight.py.orig miio/vacuum.py.orig miio/yeelight.py.orig %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest %files %{python_files} %doc README.rst %license LICENSE LICENSE.md %python38_only %{_bindir}/mirobo %python38_only %{_bindir}/miplug %python38_only %{_bindir}/miceil %python38_only %{_bindir}/mieye %python38_only %{_bindir}/miio-extract-tokens %python38_only %{_bindir}/miiocli %{python_sitelib}/* %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