forked from pool/python-phue
Accepting request 688283 from home:pgajdos
- version update to 1.1 * Add support for deleting scenes * Various bug fixes - use github tarball to: * package LICENSE and *.md * run tests OBS-URL: https://build.opensuse.org/request/show/688283 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-phue?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
0e7f8ca98a
commit
794fb09209
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:14b8285ece83124a6b0f47b88a62b0a6c4f2901cd1d555e36c5927bfd7417515
|
||||
size 10092
|
||||
3
phue-1.1.tar.gz
Normal file
3
phue-1.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:245bc176176a1ceb8d2065a6f07f53754fbe03f2a000dbeb01ab922e50e55d0a
|
||||
size 18382
|
||||
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 25 13:46:59 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
- version update to 1.1
|
||||
* Add support for deleting scenes
|
||||
* Various bug fixes
|
||||
- use github tarball to:
|
||||
* package LICENSE and *.md
|
||||
* run tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:51:29 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-phue
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 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
|
||||
@@ -18,16 +18,22 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-phue
|
||||
Version: 1.0
|
||||
Version: 1.1
|
||||
Release: 0
|
||||
Summary: Philips Hue Python library
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/studioimaginaire/phue
|
||||
Source: https://files.pythonhosted.org/packages/source/p/phue/phue-%{version}.tar.gz
|
||||
# https://github.com/studioimaginaire/phue/issues/152
|
||||
Source0: https://github.com/studioimaginaire/phue/archive/1.1.tar.gz#/phue-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module fixtures}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
@@ -41,6 +47,9 @@ Full featured Python library to control the Philips Hue lighting system.
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%{python_expand chmod a+x %{buildroot}%{$python_sitelib}/phue.py
|
||||
@@ -52,6 +61,8 @@ $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc *.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/phue.py*
|
||||
%{python_sitelib}/phue-%{version}-py*.egg-info
|
||||
%pycache_only %{python_sitelib}/__pycache__/phue*.py*
|
||||
|
||||
Reference in New Issue
Block a user