commit d120b2a1a6248e3c0d3c9405cb5224b13d7b558c3f00082d674b4c2409739439 Author: Antonio Larrosa Date: Thu May 3 11:04:44 2018 +0000 Accepting request 603602 from devel:languages:python:misc Move back the package to d:l:p to try to submit it to Factory again OBS-URL: https://build.opensuse.org/request/show/603602 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyChromecast?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/PyChromecast-2.2.0.tar.gz b/PyChromecast-2.2.0.tar.gz new file mode 100644 index 0000000..a390971 --- /dev/null +++ b/PyChromecast-2.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c3773c0e134e762fd65a3407e680ab4c5c656fe7c5665b2f8f5ef445c7605a4 +size 36561 diff --git a/python-PyChromecast.changes b/python-PyChromecast.changes new file mode 100644 index 0000000..c5c6d58 --- /dev/null +++ b/python-PyChromecast.changes @@ -0,0 +1,55 @@ +------------------------------------------------------------------- +Thu May 3 08:30:37 UTC 2018 - alarrosa@suse.com + +- Update to version 2.2.0 + * Spotify controller creation + * Fixed misplaced parenthesis + +- Update to version 2.1.0 + * Fix not waiting with no tries set + * Add adjusted_current_time() function + +- Update to version 2.0.0 + * Drop Python 2 support + * Fixes for discovery, FreeBSD Socket creation + * Fix Channel Close + * Add return for "uri" value, fix SSL issues on Windows + * Don't sleep when there are no tries remaining + +- Drop 0001-Dont-sleep-when-there-are-no-tries-remaining.patch + +------------------------------------------------------------------- +Fri Jan 5 09:22:56 UTC 2018 - alarrosa@suse.com + +- Add 0001-Dont-sleep-when-there-are-no-tries-remaining.patch from + upstream + +- Update to version 1.0.3 + * Catch OSError as well as socket.error + * Fix CAST_TYPES mapping + * Revert 184 socket client changes + +- Update to version 1.0.2 + * Remove excess return value from get_device_status + +- Update to version 1.0.1 + * Properly remove api_version now + +- Update to version 1.0.0 + * Cast web pages with DashCast + * Fix get_device_status for newer cast firmwares + * Remove api_version from DeviceStatus + +------------------------------------------------------------------- +Tue Sep 5 17:13:17 UTC 2017 - alarrosa@suse.com + +- Update to version 0.8.2 + * Fix race in SocketClient.send_message + * Fix send message deadlock +- Run spec-cleaner + +------------------------------------------------------------------- +Mon Jun 12 09:59:27 UTC 2017 - alarrosa@suse.com + +- Initial release of python-PyChromecast 0.8.1 + diff --git a/python-PyChromecast.spec b/python-PyChromecast.spec new file mode 100644 index 0000000..9f76432 --- /dev/null +++ b/python-PyChromecast.spec @@ -0,0 +1,66 @@ +# +# spec file for package python-PyChromecast +# +# Copyright (c) 2017 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/ +# + +%define skip_python2 1 + +Name: python-PyChromecast +Version: 2.2.0 +Release: 0 +Summary: Python module to talk to Google Chromecast +License: MIT +Group: Development/Languages/Python +Url: https://github.com/balloob/pychromecast +Source: https://files.pythonhosted.org/packages/source/P/PyChromecast/PyChromecast-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module protobuf >= 3.0.0} +BuildRequires: %{python_module requests >= 2.0} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six >= 1.10.0} +BuildRequires: %{python_module zeroconf >= 0.17.7} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-protobuf >= 3.0.0 +Requires: python-requests >= 2.0 +Requires: python-six >= 1.10.0 +Requires: python-zeroconf >= 0.17.7 +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 -s %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc LICENSE README.rst +%{python_sitelib}/pychromecast +%{python_sitelib}/PyChromecast-%{version}-py%{py_ver}.egg-info + +%changelog