From 66982a57afb5c2098dd853c5f18c4666275f2ecc150ed284e0dad53cfc7fed38 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 7 May 2024 20:19:17 +0000 Subject: [PATCH] - update to 14.0.1: * Add debug prints to HomeAssistantController * Add JBL Link Portable to known devices * Fix race in HomeAssistantController * Revert "Remove socket timeouts" * Remove socket timeouts * Run rstcheck in CI * Remove mypy exclude pattern * Update default URL used in media example - update to 14.0.0: * Most user facing functions accepting an optional callback function have been changed such that the optional arguments are now kwarg only * The signature of callbacks called when requests are completed has been changed * Some named tuples have been replaced with dataclasses * The ServiceInfo class has been split in two classes * Parameter names of `MediaStatusListener.load_media_failed` has been changed * Many user facing functions now have a default timeout, and will raise when that timeout expires * It's no longer supported to use pychromecast with event custom loops OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyChromecast?expand=0&rev=54 --- PyChromecast-13.1.0.tar.gz | 3 --- PyChromecast-14.0.1.tar.gz | 3 +++ python-PyChromecast.changes | 27 +++++++++++++++++++++++++++ python-PyChromecast.spec | 14 ++++++++------ 4 files changed, 38 insertions(+), 9 deletions(-) delete mode 100644 PyChromecast-13.1.0.tar.gz create mode 100644 PyChromecast-14.0.1.tar.gz diff --git a/PyChromecast-13.1.0.tar.gz b/PyChromecast-13.1.0.tar.gz deleted file mode 100644 index 28e796a..0000000 --- a/PyChromecast-13.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:08e61a8b54bd2119d3c9ab1ec0136d3d8563aa97e0a3b57841588b9be60c2676 -size 53436 diff --git a/PyChromecast-14.0.1.tar.gz b/PyChromecast-14.0.1.tar.gz new file mode 100644 index 0000000..051d57c --- /dev/null +++ b/PyChromecast-14.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e16e0a7f9488319191b8b4fa21ca0beb4bf12eeda5c9bf640241188f2bea0a3e +size 60482 diff --git a/python-PyChromecast.changes b/python-PyChromecast.changes index 1880fac..7801eb2 100644 --- a/python-PyChromecast.changes +++ b/python-PyChromecast.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Tue May 7 20:17:37 UTC 2024 - Dirk Müller + +- update to 14.0.1: + * Add debug prints to HomeAssistantController + * Add JBL Link Portable to known devices + * Fix race in HomeAssistantController + * Revert "Remove socket timeouts" + * Remove socket timeouts + * Run rstcheck in CI + * Remove mypy exclude pattern + * Update default URL used in media example +- update to 14.0.0: + * Most user facing functions accepting an optional callback + function have been changed such that the optional arguments + are now kwarg only + * The signature of callbacks called when requests are completed + has been changed + * Some named tuples have been replaced with dataclasses + * The ServiceInfo class has been split in two classes + * Parameter names of `MediaStatusListener.load_media_failed` + has been changed + * Many user facing functions now have a default timeout, and + will raise when that timeout expires + * It's no longer supported to use pychromecast with event + custom loops + ------------------------------------------------------------------- Fri Jan 26 21:24:00 UTC 2024 - Dirk Müller diff --git a/python-PyChromecast.spec b/python-PyChromecast.spec index 2bb63fb..ffd9720 100644 --- a/python-PyChromecast.spec +++ b/python-PyChromecast.spec @@ -16,16 +16,18 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 +%{?sle15_python_module_pythons} +%global skip_python310 1 Name: python-PyChromecast -Version: 13.1.0 +Version: 14.0.1 Release: 0 Summary: Python module to talk to Google Chromecast License: MIT URL: https://github.com/balloob/pychromecast Source: https://files.pythonhosted.org/packages/source/P/PyChromecast/PyChromecast-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-casttube >= 0.2.0 @@ -46,10 +48,10 @@ multi-room setups with Audio cast devices. %setup -q -n PyChromecast-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} # no tests even on GitHub https://github.com/balloob/pychromecast/issues/333 @@ -59,6 +61,6 @@ multi-room setups with Audio cast devices. %license LICENSE %doc README.rst %{python_sitelib}/pychromecast -%{python_sitelib}/PyChromecast-%{version}-*.egg-info +%{python_sitelib}/PyChromecast-%{version}.dist-info %changelog