17
0

2 Commits

5 changed files with 16 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8a8d922ed4863dc3e8952168f1874665a08f836a727b48c10e7ac2a92cbf5c10
size 53337

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Dec 21 12:43:56 UTC 2025 - Axel Braun <axel.braun@gmx.de>
- version 0.13.0
* no changelog provided
* source file renamed
-------------------------------------------------------------------
Thu May 29 11:46:35 UTC 2025 - Max Lin <mlin@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-PyWebDAV3-GNUHealth
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,14 +19,14 @@
%{?sle15_python_module_pythons}
%bcond_without test
Name: python-PyWebDAV3-GNUHealth
Version: 0.12.0
Version: 0.13.0
Release: 0
%define ltmsver 0.15
Summary: WebDAV library for Python - GNU Health port
License: GPL-3.0-or-later
Group: Productivity/Networking/Web/Servers
URL: https://health.gnu.org
Source0: https://files.pythonhosted.org/packages/source/P/PyWebDAV3-GNUHealth/PyWebDAV3-GNUHealth-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/source/P/PyWebDAV3-GNUHealth/pywebdav3_gnuhealth-%{version}.tar.gz
Source1: https://notroj.github.io/litmus/litmus-%{ltmsver}.tar.gz
# TODO: send this upstream (where?)
@@ -60,7 +60,7 @@ can be run as daemon.
Port from Andrew Leech PyWebDAV3 library to Support GNU Health.
%prep
%autosetup -p1 -n PyWebDAV3-GNUHealth-%{version}
%autosetup -p1 -n pywebdav3_gnuhealth-%{version}
cp %{SOURCE1} test/

View File

@@ -2,7 +2,7 @@ diff -ur PyWebDAV3-GNUHealth-0.12.0/pywebdav/lib/INI_Parse.py PyWebDAV3-GNUHealt
--- PyWebDAV3-GNUHealth-0.12.0/pywebdav/lib/INI_Parse.py 2023-07-14 17:28:43.000000000 +0200
+++ PyWebDAV3-GNUHealth-0.12.0.patched/pywebdav/lib/INI_Parse.py 2024-02-04 13:05:29.322027790 +0100
@@ -1,8 +1,12 @@
-from configparser import SafeConfigParser
-from configparser import ConfigParser
+try:
+ from configparser import ConfigParser
+except ImportError:
@@ -11,8 +11,7 @@ diff -ur PyWebDAV3-GNUHealth-0.12.0/pywebdav/lib/INI_Parse.py PyWebDAV3-GNUHealt
class Configuration:
def __init__(self, fileName):
- cp = SafeConfigParser()
+ cp = ConfigParser()
cp = ConfigParser()
cp.read(fileName)
self.__parser = cp
self.fileName = fileName

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f0dfbd4321d3748d2cba0eb2cc951b9b92addf789f922fbdebd776b3cde01688
size 53366