forked from pool/python-apprise
Accepting request 1189840 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1189840 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apprise?expand=0&rev=7
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:077f09309cc8a6c9063dbd614b343807d527d546693b7fe8fc5a4433502fea6c
|
|
||||||
size 1656123
|
|
3
apprise-1.8.1.tar.gz
Normal file
3
apprise-1.8.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:08a20fe72672b7e90f7969d5b879d657c2e2db385a8a8c10f54cba565bf237f2
|
||||||
|
size 1696426
|
@@ -1,20 +0,0 @@
|
|||||||
diff -Naur apprise-1.6.0/test/conftest.py apprise-1.6.0-patched/test/conftest.py
|
|
||||||
--- apprise-1.6.0/test/conftest.py 2023-12-27 11:20:40.000000000 -0500
|
|
||||||
+++ apprise-1.6.0-patched/test/conftest.py 2023-12-27 13:43:22.583100037 -0500
|
|
||||||
@@ -45,8 +45,8 @@
|
|
||||||
A_MGR = AttachmentManager()
|
|
||||||
|
|
||||||
|
|
||||||
-@pytest.fixture(scope="function", autouse=True)
|
|
||||||
-def no_throttling_everywhere(session_mocker):
|
|
||||||
+@pytest.fixture(autouse=True)
|
|
||||||
+def no_throttling_everywhere(mocker):
|
|
||||||
"""
|
|
||||||
A pytest session fixture which disables throttling on all notifiers.
|
|
||||||
It is automatically enabled.
|
|
||||||
@@ -57,4 +57,4 @@
|
|
||||||
A_MGR.unload_modules()
|
|
||||||
|
|
||||||
for plugin in N_MGR.plugins():
|
|
||||||
- session_mocker.patch.object(plugin, "request_rate_per_sec", 0)
|
|
||||||
+ mocker.patch.object(plugin, "request_rate_per_sec", 0)
|
|
@@ -1,3 +1,43 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 26 17:22:58 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
|
||||||
|
|
||||||
|
- Remove apprise-pytest-session_mocker-removal.patch -- Fixed upstream
|
||||||
|
- Update to version 1.8.1:
|
||||||
|
Features:
|
||||||
|
* New Services:
|
||||||
|
- Splunk
|
||||||
|
- Africas Talking
|
||||||
|
- Microsoft Power Automate / Workflows
|
||||||
|
- Société Française du Radiotéléphone (SFR)
|
||||||
|
* Slack supports <@userid> in message body
|
||||||
|
* Turn large ntfy messages into a attachments
|
||||||
|
* Refactored the way Notifiarr Discord users are mentioned
|
||||||
|
* OneSignal to support custom data in payload
|
||||||
|
* Twilio WhatsApp support added
|
||||||
|
* Allow json data in OneSignal template arguments
|
||||||
|
Fixes:
|
||||||
|
* Automatically increment Matrix v3 transaction IDs
|
||||||
|
* Slack files upload deprecation
|
||||||
|
* Update token regex in ServerChan
|
||||||
|
* Add missing % string in import failed trace message
|
||||||
|
* This will fix issues with Home Assistant
|
||||||
|
* Fixes random matrix:// unittest failures
|
||||||
|
* fix: conversion html_to_text hr tags rstrip non string object
|
||||||
|
|
||||||
|
- Updates from version 1.8.0:
|
||||||
|
Features:
|
||||||
|
* Custom Plugin Attachment Support Enforced + Added Testing
|
||||||
|
* Do not sanitize http:// attachment URLs. This allows the
|
||||||
|
successful fetching of very complicated http based Attachment
|
||||||
|
URL's where the case sensitivity of the keys matter. The side
|
||||||
|
effect of this change, is built in switches like cache= become
|
||||||
|
case sensitive too (e.g Cache= will no longer be parsed).
|
||||||
|
Fixes:
|
||||||
|
* Added JSON Content-Type header to freemobile://
|
||||||
|
* Fix mailto://ip.addr support
|
||||||
|
* clicksend:// authentication bugfix
|
||||||
|
* Update Apprise API (apprise//) token length
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 23 02:48:34 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
|
Tue Apr 23 02:48:34 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
|
||||||
|
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: python-apprise
|
Name: python-apprise
|
||||||
Version: 1.7.6
|
Version: 1.8.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Summary: A simple wrapper to many popular notification services used today
|
Summary: A simple wrapper to many popular notification services used today
|
||||||
@@ -37,8 +37,6 @@ Source99: %{name}.rpmlintrc
|
|||||||
# PATCH-FIX-OPENSUSE fix-test_plugin_glib.patch -- import missing dbus
|
# PATCH-FIX-OPENSUSE fix-test_plugin_glib.patch -- import missing dbus
|
||||||
Patch0: fix-test_plugin_glib.patch
|
Patch0: fix-test_plugin_glib.patch
|
||||||
%if 0%{?suse_version} <= 1500
|
%if 0%{?suse_version} <= 1500
|
||||||
# PATCH-FIX-UPSTREAM apprise-pytest-session_mocker-removal.patch -- based on PR 757
|
|
||||||
Patch10: apprise-pytest-session_mocker-removal.patch
|
|
||||||
BuildRequires: %{python_module dataclasses}
|
BuildRequires: %{python_module dataclasses}
|
||||||
Requires: python-dataclasses
|
Requires: python-dataclasses
|
||||||
%endif
|
%endif
|
||||||
@@ -111,7 +109,7 @@ install -D -m 0644 -t %{buildroot}%{_mandir}/man1 packaging/man/apprise.1
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest -k 'not test_plugin_matrix_attachments_api_v2 and not test_apprise_attachment_truncate'
|
%pytest -k 'not test_plugin_matrix_attachments_api_v2 and not test_apprise_attachment_truncate and not test_plugin_dbus'
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%python_libalternatives_reset_alternative apprise
|
%python_libalternatives_reset_alternative apprise
|
||||||
|
Reference in New Issue
Block a user