14
0
forked from pool/python-kasa

- update to 0.5.4:

* Support to the alternative discovery protocol and
    foundational work to support other communication protocols,
    thanks to @sdb9696.
  * Reliability improvements by avoiding overflowing device
    buffers, thanks to @cobryan05.
  * Optimizations for downstream device accesses, thanks to
    @bdraco.
  * Support for both pydantic v1 and v2.
  * This release adds support for defining the device port and
    introduces dependency on async-timeout which improves timeout
    handling.
  * Adds optional dependency for for `orjson` and `kasa-crypt` to
    speed-up protocol handling by an order of magnitude.
  * Drops Python 3.7 support as it is no longer maintained.
  * Add benchmarks for speedups \#473 (@bdraco)
  * Add fixture for KP405 Smart Dimmer Plug \#470 (@xinud190)
  * Remove importlib-metadata dependency \#457 (@rytilahti)
- skip python 3.6 (only compatible with python 3.7+)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kasa?expand=0&rev=11
This commit is contained in:
2023-12-27 14:29:12 +00:00
committed by Git OBS Bridge
parent a3bae4a8da
commit d1e8cbea05
4 changed files with 32 additions and 7 deletions

View File

@@ -16,17 +16,18 @@
#
%define skip_python2 1
%define skip_python36 1
%{?sle15_python_module_pythons}
Name: python-kasa
Version: 0.5.1
Version: 0.5.4
Release: 0
Summary: Python API for TP-Link Kasa Smarthome products
License: GPL-3.0-or-later
URL: https://github.com/python-kasa/python-kasa
Source0: https://github.com/python-kasa/python-kasa/archive/refs/tags/%{version}.tar.gz#/python-kasa-%{version}.tar.gz
BuildRequires: %{python_module anyio}
BuildRequires: %{python_module async-timeout}
BuildRequires: %{python_module asyncclick}
BuildRequires: %{python_module orjson}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry}
BuildRequires: %{python_module pydantic}
@@ -40,7 +41,9 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
# Runtime requires
Requires: python-anyio
Requires: python-async-timeout
Requires: python-asyncclick
Requires: python-orjson
Requires: python-pydantic
Requires: python-setuptools
Requires: python-voluptuous