Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
4704e0a6b6
!20 [sync] PR-17: update the introduction web link
From: @openeuler-sync-bot 
Reviewed-by: @swf504 
Signed-off-by: @swf504
2023-05-13 02:33:49 +00:00
Jiangtian Feng
5f16530101 update the introduction web link
Signed-off-by: Jiangtian Feng <fengjiangtian@huawei.com>
(cherry picked from commit ec9194389b325e748d08c6e758332cd44cac172d)
2023-05-13 09:42:28 +08:00
openeuler-ci-bot
30b9d266c5
!16 [sync] PR-14: add the missing date in spec file changelog
From: @openeuler-sync-bot 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-10-21 09:16:27 +00:00
liubo
5c98eb76fe python-configobj: add the missing date in spec file
Signed-off-by: liubo <liubo254@huawei.com>
(cherry picked from commit 7edf25e580889b3a25f2318fa323c6b81596719b)
2022-10-21 15:50:31 +08:00
openeuler-ci-bot
3eb723a426
!13 [sync] PR-11: rebuild the version to 5.0.6 - 18
From: @openeuler-sync-bot 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-10-21 07:25:44 +00:00
liubo
f97f8a80d6 python-configobj: rebuild the version to 5.0.6 - 18
Signed-off-by: liubo <liubo254@huawei.com>
(cherry picked from commit 06408cc4351fa7c1036c0c995329ed96bbce79f1)
2022-10-21 14:56:12 +08:00
openeuler-ci-bot
0984ba231d !5 python-configobj delete -Sgit from %autosetup, and delete BuildRequires git
From: @chenyanpanHW
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-07-31 07:37:09 +00:00
chenyanpanHW
bfa8ccb916
delete -Sgit from %autosetup, and delete BuildRequires git 2021-07-30 23:21:36 +08:00
openeuler-ci-bot
70014dbf97 !4 remove python2 dependency
From: @xinghe_1
Reviewed-by: @lixiaokeng,@volcanodragon
Signed-off-by: @liuzhiqiang26
2020-10-30 17:48:09 +08:00
jinzhimin369
d2de22d0bf remove python2 dependency 2020-10-30 13:54:59 +08:00
2 changed files with 43 additions and 20 deletions

View File

@ -0,0 +1,26 @@
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,16 +1,16 @@
%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python3_sitelib: %global python3_sitelib %(%{__python3} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?python3_sitelib: %global python3_sitelib %(%{__python3} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
Name: python-configobj Name: python-configobj
Version: 5.0.6 Version: 5.0.6
Release: 15 Release: 19
Summary: ConfigObj is a simple but powerful config file reader and writer Summary: ConfigObj is a simple but powerful config file reader and writer
License: BSD License: BSD
URL: http://configobj.readthedocs.org/ URL: http://configobj.readthedocs.org/
Source0: https://github.com/DiffSK/configobj/archive/v%{version}.tar.gz Source0: https://github.com/DiffSK/configobj/archive/v%{version}.tar.gz
BuildRequires:python2-devel python2-pytest python2-setuptools python2-six Patch0: 0001-changed-1-link-in-rest-docs.patch
BuildRequires:python3-devel python3-pytest python3-setuptools python3-six git
BuildRequires:python3-devel python3-pytest python3-setuptools python3-six
BuildArch: noarch BuildArch: noarch
%description %description
@ -30,13 +30,6 @@ It has lots of other features though :
* Many useful methods and options for working with configuration files (like the 'reload' method) * Many useful methods and options for working with configuration files (like the 'reload' method)
* Full Unicode support * Full Unicode support
%package -n python2-configobj
Summary: config file reader and writer
Requires: python2-six
%{?python_provide:%python_provide python2-configobj}
%description -n python2-configobj
config file reader and writer
%package -n python3-configobj %package -n python3-configobj
Summary: config file reader and writer Summary: config file reader and writer
@ -47,31 +40,35 @@ Requires: python3-six
config file reader and writer config file reader and writer
%prep %prep
%autosetup -n configobj-%{version} -p1 -Sgit %autosetup -n configobj-%{version} -p1
%build %build
%py2_build
%py3_build %py3_build
%install %install
%py2_install
%py3_install %py3_install
%check %check
export PYTHONWARNINGS=always export PYTHONWARNINGS=always
%{__python2} test_configobj.py
%{__python3} test_configobj.py %{__python3} test_configobj.py
%files -n python2-configobj
%doc README.md
%license LICENSE
%{python2_sitelib}/*
%files -n python3-configobj %files -n python3-configobj
%doc README.md %doc README.md
%license LICENSE %license LICENSE
%{python3_sitelib}/* %{python3_sitelib}/*
%changelog %changelog
* Mon May 8 2023 Jiangtian Feng <fengjiangtian@huawei.com> - 5.0.6-19
- update the introduction web link
* Fri Oct 21 2022 liubo <liubo254@huawei.com> - 5.0.6-18
- rebuild the version to 5.0.6-18
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 5.0.6-17
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Fri Oct 30 2020 yanglongkang <yanglongkang@huawei.com> - 5.0.6-16
- remove python2 dependency
* Sat Sep 7 2019 wubo<wubo40@huawei.com> - 5.0.6-15 * Sat Sep 7 2019 wubo<wubo40@huawei.com> - 5.0.6-15
- Package init - Package init