!23 Upgrade to version 5.0.8

From: @swf504 
Reviewed-by: @louhongxiang 
Signed-off-by: @louhongxiang
This commit is contained in:
openeuler-ci-bot 2024-02-07 12:57:07 +00:00 committed by Gitee
commit e2f14a40dc
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 12 additions and 31 deletions

View File

@ -1,26 +0,0 @@
From fb33cc3bc886eec21f56309346076069f0a2bcb5 Mon Sep 17 00:00:00 2001
From: Rob Dennis <robd@services-in.xr>
Date: Tue, 17 Jan 2023 14:35:53 -0500
Subject: [PATCH] #225 - changed 1 link in rest docs
- there's a _lot_ of references to voidspace and I felt unable to change all of them
---
docs/configobj.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/configobj.rst b/docs/configobj.rst
index c4bbc18..6477b7b 100644
--- a/docs/configobj.rst
+++ b/docs/configobj.rst
@@ -32,7 +32,7 @@
The best introduction to working with ConfigObj, including the powerful configuration validation system,
is the article:
- * `An Introduction to ConfigObj <http://www.voidspace.org.uk/python/articles/configobj.shtml>`_
+ * `An Introduction to ConfigObj <https://web.archive.org/web/20200503085339/http://www.voidspace.org.uk/python/articles/configobj.shtml>`_
Introduction
--
2.27.0

View File

@ -1,15 +1,13 @@
%{!?python3_sitelib: %global python3_sitelib %(%{__python3} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
Name: python-configobj
Version: 5.0.6
Release: 19
Version: 5.0.8
Release: 1
Summary: ConfigObj is a simple but powerful config file reader and writer
License: BSD
URL: http://configobj.readthedocs.org/
Source0: https://github.com/DiffSK/configobj/archive/v%{version}.tar.gz
Patch0: 0001-changed-1-link-in-rest-docs.patch
BuildRequires:python3-devel python3-pytest python3-setuptools python3-six
BuildArch: noarch
@ -50,7 +48,10 @@ config file reader and writer
%check
export PYTHONWARNINGS=always
%{__python3} test_configobj.py
export PYTHONPATH=$(pwd)/build/lib
%{__python3} src/tests/configobj_doctests.py
%{__python3} -m configobj.validate
pytest -c setup.cfg --color=yes
%files -n python3-configobj
%doc README.md
@ -58,6 +59,12 @@ export PYTHONWARNINGS=always
%{python3_sitelib}/*
%changelog
* Wed Feb 7 2024 Weifeng Su <suweifeng1@huawei.com> - 5.0.8-1
- upgrade to 5.0.8
-fix a regression error in 5.0.7
-update testing to validate against python version 2.7 and 3.5-3.11
-update broken links / no-existent services and references
* Mon May 8 2023 Jiangtian Feng <fengjiangtian@huawei.com> - 5.0.6-19
- update the introduction web link

Binary file not shown.

BIN
v5.0.8.tar.gz Normal file

Binary file not shown.