diff --git a/fritzconnection-1.3.4.tar.gz b/fritzconnection-1.3.4.tar.gz deleted file mode 100644 index 11af9fd..0000000 --- a/fritzconnection-1.3.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8a415df8d2215bfba135fc68baad05524419bd672bb4190c07b3ed579c8f0fd0 -size 61913 diff --git a/fritzconnection-1.9.0.tar.gz b/fritzconnection-1.9.0.tar.gz new file mode 100644 index 0000000..514a3f5 --- /dev/null +++ b/fritzconnection-1.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ff559840772cdadbace009887ca9802d3423f081f7933c60d075813bc2d8f81 +size 79389 diff --git a/python-fritzconnection.changes b/python-fritzconnection.changes index af1ca86..c2e5370 100644 --- a/python-fritzconnection.changes +++ b/python-fritzconnection.changes @@ -1,3 +1,55 @@ +------------------------------------------------------------------- +Sat Jan 15 17:26:21 UTC 2022 - Dirk Müller + +- update to 1.9.0: + * New method `get_wifi_qr_code()` for QR-code creation for wifi-access + * New method `channel_info + * FritzHomeAutomation: New method `device_information + * FritzConnection: new command line option `-R` to reboot the system + * New method `get_generic_host_entries` returning a generator to iterate over + all entries as reported by the method `get_generic_host_entry`. + * The methods `get_active_hosts` and `get_hosts_info` provide additional host + attributes + * Refactoring of the logging module `fritzconnection.core.logger` (introduced + in 1.7.0). Now emitting messages from INFO-level and up by default. + * Connection errors with the router raised from the underlying `urllib3` + library are caught and raised again as FritzConnectionException preserving + the connection error information + * bugfix: logger deactivated by default + * Tests extended for Python 3.10 + * `enable` and `disable` to enable and disable a wlan network. + * `get_password` and `set_password` to get the current password or set a new + one for a wlan network. + * New FritzGuestWLAN library class. + * New FritzConnection method `reboot`. + * New logging module `fritzconnection.core.logger`. + * New arguments for FritzConnection: `pool_connections` and `pool_maxsize` to + adapt the default urllib3 settings (used by requests). (#114). + * New properties `FritzStatus.device_uptime` and + `FritzStatus.connection_uptime``; the latter a replacement for + `FritzStatus.uptime` – still existing as an alias. + * bugfix: html-escape arguments in case that special characters are allowed + by the protocol. + * bugfix: `FritzStatus.bytes_sent` will return the 32 bit value from older + Fritz!Box models. + * bugfix: raise `FritzActionError` on accessing the mesh topology information + from a device not having accesss to this information. + * adding code-of-conduct and contributing files to the repository. + * Compatibility with Fritz!OS 7.24 and newer: takes the last logged in + username as default in case that a username is not provided. + * bugfix: byte_formatter may return wrong numbers on values < 1 and has + raised math domain error on values == 0.D (bug introduced with version + * bugfix: FritzStatus library now returns a 32 bit value for *bytes_received* + for older Fritz!OS versions not providing the newer 64 bit information + instead of raising an exception. + * change: Output of bitrate changed to log10 based calculation + * New core module fritzmonitor for reporting realtime phone call events + * Library class FritzStatus with additional properties: *attenuation*, + *str_attenuation*, *noise_margin* and *str_noise_margin* + * Library class FritzHost with additional method *get_host_name* + * Namespace prefix for xml-arguments removed + * Test extended for Python 3.9 + ------------------------------------------------------------------- Tue Sep 29 17:46:23 UTC 2020 - Thorsten Kukuk diff --git a/python-fritzconnection.spec b/python-fritzconnection.spec index 2a987b9..aee8c89 100644 --- a/python-fritzconnection.spec +++ b/python-fritzconnection.spec @@ -1,7 +1,7 @@ # # spec file for package python-fritzconnection # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,8 +18,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 +%global pythons python3 Name: python-fritzconnection -Version: 1.3.4 +Version: 1.9.0 Release: 0 Summary: A Python module to talk to a AVM fritzbox License: MIT @@ -55,17 +56,9 @@ export LC_ALL=C.utf-8 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 @@ -73,13 +66,14 @@ rm fritzconnection/tests/test_functional.py %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 +%{_bindir}/fritzcall +%{_bindir}/fritzconnection +%{_bindir}/fritzhomeauto +%{_bindir}/fritzhosts +%{_bindir}/fritzmonitor +%{_bindir}/fritzphonebook +%{_bindir}/fritzstatus +%{_bindir}/fritzwlan %{python_sitelib}/* %changelog