Accepting request 785233 from home:mnhauke:monitoring
Initial package for python-fritzconnection OBS-URL: https://build.opensuse.org/request/show/785233 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fritzconnection?expand=0&rev=1
This commit is contained in:
commit
9ded541a8f
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
fritzconnection-1.2.0.tar.gz
Normal file
3
fritzconnection-1.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f244bfa310801319865b34e72d00dd4be657baa0df88dfab63f61be00d5390a3
|
||||||
|
size 57795
|
27
python-fritzconnection.changes
Normal file
27
python-fritzconnection.changes
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 14 20:39:40 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
- Update to version 1.2.1
|
||||||
|
- Fill description
|
||||||
|
- Package README and license file
|
||||||
|
- Run testsuite
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 27 02:08:26 CET 2020 - ro@suse.de
|
||||||
|
|
||||||
|
- update to 1.2.0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 24 01:50:42 CET 2020 - ro@suse.de
|
||||||
|
|
||||||
|
- update to 0.8.4, use git url and add service file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 8 00:20:33 CEST 2019 - ro@suse.de
|
||||||
|
|
||||||
|
- update to 0.6.5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 7 22:12:20 UTC 2019 - Ruediger Oertel <ro@suse.com>
|
||||||
|
|
||||||
|
- initial version 0.4.5
|
85
python-fritzconnection.spec
Normal file
85
python-fritzconnection.spec
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-fritzconnection
|
||||||
|
#
|
||||||
|
# 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-fritzconnection
|
||||||
|
Version: 1.2.0
|
||||||
|
Release: 0
|
||||||
|
Summary: A Python module to talk to a AVM fritzbox
|
||||||
|
License: MIT
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
URL: https://github.com/kbr/fritzconnection/
|
||||||
|
Source: https://github.com/kbr/fritzconnection/archive/%{version}.tar.gz#/fritzconnection-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module lxml}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module requests}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-lxml
|
||||||
|
Requires: python-requests
|
||||||
|
Requires: python-setuptools
|
||||||
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
fritzconnection is a Python library to communicate with the AVM
|
||||||
|
Fritz!Box by the TR-064 protocol.
|
||||||
|
This allows to read status-informations from the box and to read
|
||||||
|
and change configuration settings and state.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n fritzconnection-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
export LC_ALL=C.utf-8
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
export LC_ALL=C.utf-8
|
||||||
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
for i in fritzcall fritzconnection fritzhomeauto fritzhosts fritzphonebook fritzstatus fritzwlan ; do
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/${i}
|
||||||
|
done
|
||||||
|
|
||||||
|
%post
|
||||||
|
%{python_install_alternative fritzcall fritzconnection fritzhomeauto fritzhosts fritzphonebook fritzstatus fritzwlan}
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%{python_uninstall_alternative fritzcall fritzconnection fritzhomeauto fritzhosts fritzphonebook fritzstatus fritzwlan}
|
||||||
|
|
||||||
|
%check
|
||||||
|
# Don't run functional tests that require connections to a physical fritzbox router
|
||||||
|
rm fritzconnection/tests/test_functional.py
|
||||||
|
%pytest
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%license LICENSE.txt
|
||||||
|
%doc README.rst
|
||||||
|
%python_alternative %{_bindir}/fritzcall
|
||||||
|
%python_alternative %{_bindir}/fritzconnection
|
||||||
|
%python_alternative %{_bindir}/fritzhomeauto
|
||||||
|
%python_alternative %{_bindir}/fritzhosts
|
||||||
|
%python_alternative %{_bindir}/fritzphonebook
|
||||||
|
%python_alternative %{_bindir}/fritzstatus
|
||||||
|
%python_alternative %{_bindir}/fritzwlan
|
||||||
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user