Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-kasa for openSUSE:Factory 
checked in at 2023-03-10 22:07:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-kasa (Old)
 and      /work/SRC/openSUSE:Factory/.python-kasa.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-kasa"

Fri Mar 10 22:07:08 2023 rev:4 rq:1070520 version:0.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-kasa/python-kasa.changes  2021-02-15 
23:20:29.271771072 +0100
+++ /work/SRC/openSUSE:Factory/.python-kasa.new.31432/python-kasa.changes       
2023-03-10 22:07:15.181097835 +0100
@@ -1,0 +2,12 @@
+Thu Mar  9 09:18:28 UTC 2023 - Guillaume GARDET <[email protected]>
+
+- Update to 0.5.1:
+  * Changelog: https://github.com/python-kasa/python-kasa/releases/tag/0.5.1
+
+-------------------------------------------------------------------
+Mon Sep 26 14:29:53 UTC 2022 - Guillaume GARDET <[email protected]>
+
+- Update to 0.5.0:
+  * Changelog: https://github.com/python-kasa/python-kasa/releases/tag/0.5.0
+
+-------------------------------------------------------------------

Old:
----
  _service
  python-kasa-0.0~git1580219900.15b0c8c.obscpio
  python-kasa.obsinfo

New:
----
  python-kasa-0.5.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-kasa.spec ++++++
--- /var/tmp/diff_new_pack.yrNUtr/_old  2023-03-10 22:07:15.721100293 +0100
+++ /var/tmp/diff_new_pack.yrNUtr/_new  2023-03-10 22:07:15.725100312 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-kasa
 #
-# Copyright (c) 2021 SUSE LLC
+# 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
@@ -16,29 +16,37 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         skip_python2 1
 %define         skip_python36 1
 Name:           python-kasa
-Version:        0.0~git1580219900.15b0c8c
+Version:        0.5.1
 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:        python-kasa-%{version}.tar.xz
-BuildRequires:  %{python_module click >= 7.0}
+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 asyncclick}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module poetry}
+BuildRequires:  %{python_module pydantic}
 BuildRequires:  %{python_module pytest-asyncio}
+BuildRequires:  %{python_module pytest-mock}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module voluptuous}
+BuildRequires:  %{python_module xdoctest}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 # Runtime requires
-Requires:       python-click >= 7.0
-Requires:       python-pytest-asyncio
+Requires:       python-anyio
+Requires:       python-asyncclick
+Requires:       python-pydantic
 Requires:       python-setuptools
+Requires:       python-voluptuous
+Requires:       python-xdoctest
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -49,17 +57,19 @@
 %prep
 %setup -q
 
+find . -name \*.py -o -name \*.json -exec chmod -x '{}' \;
+
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/kasa
+%python_expand rm %{buildroot}%{$python_sitelib}/CHANGELOG.md
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# https://github.com/python-kasa/python-kasa/issues/27
-#%%pytest
+%pytest
 
 %post
 %python_install_alternative kasa
@@ -71,8 +81,7 @@
 %doc README.md
 %license LICENSE
 %python_alternative %{_bindir}/kasa
-%dir %{python_sitelib}/kasa
-%{python_sitelib}/kasa/*
-%{python_sitelib}/*.egg-info*
+%{python_sitelib}/kasa
+%{python_sitelib}/python_kasa-%{version}.dist-info
 
 %changelog

Reply via email to