17
0
Files
python-PyChromecast/python-PyChromecast.spec
Steve Kowalik b097c0eda5 - Update to 7.3.0:
* Add support for QUEUE_INSERT (#404)
  * Fix get_chromecasts non blocking mode (#411)
  * Ensure data parsed as JSON is a dict (#405)
  * Add zeroconf debug option to example scripts (#401)
  * Allow passing an already existing zeroconf object to additional
    functions (#400) @emontnemery
  * Ignore browser updates for *._sub._googlecast._tcp.local. (#400)
  * Fix return type of get_listed_chromecasts (#400)
  * Remove host and port from Chromecast object (#395)
  * Keep previously known Chromecast in service listener (#399)
  * Remove reboot function (#394)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyChromecast?expand=0&rev=30
2020-09-22 04:36:47 +00:00

66 lines
2.2 KiB
RPMSpec

#
# spec file for package python-PyChromecast
#
# Copyright (c) 2020 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-PyChromecast
Version: 7.3.0
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 setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-casttube >= 0.2.0
Requires: python-protobuf >= 3.0.0
Requires: python-requests >= 2.0
Requires: python-zeroconf >= 0.25.1
BuildArch: noarch
%python_subpackages
%description
Library to communicate with the Google Chromecast. It currently supports
Auto discovering connected Chromecasts on the network, start the default
media receiver and play any online media, control playback of current
playing media, implement Google Chromecast api v2, communicate with apps
via channels, easily extendable to add support for unsupported namespaces,
multi-room setups with Audio cast devices.
%prep
%setup -q -n PyChromecast-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# no tests even on GitHub https://github.com/balloob/pychromecast/issues/333
# but they will most probably ignore this issue
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/pychromecast
%{python_sitelib}/PyChromecast-%{version}-py%{py3_ver}.egg-info
%changelog