!3 Upgrade to latest release [python-ConfigArgParse -> 1.5.5]
From: @lingjuer Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
b51a5aedfe
Binary file not shown.
BIN
ConfigArgParse-1.5.5.tar.gz
Normal file
BIN
ConfigArgParse-1.5.5.tar.gz
Normal file
Binary file not shown.
@ -1,15 +1,13 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-ConfigArgParse
|
Name: python-ConfigArgParse
|
||||||
Version: 1.5.3
|
Version: 1.5.5
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables.
|
Summary: A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables.
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/bw2/ConfigArgParse
|
URL: https://github.com/bw2/ConfigArgParse
|
||||||
Source0: https://files.pythonhosted.org/packages/16/05/385451bc8d20a3aa1d8934b32bd65847c100849ebba397dbf6c74566b237/ConfigArgParse-1.5.3.tar.gz
|
Source0: https://files.pythonhosted.org/packages/3c/fb/bf200c55a1e7014577c37fa9cbfa0148f629762bb3acff56299d8c58cbc3/ConfigArgParse-1.5.5.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: python3-PyYAML
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module is an extension of argparse module and adds support for config
|
This module is an extension of argparse module and adds support for config
|
||||||
files and environment variables. Using this module, applications can be
|
files and environment variables. Using this module, applications can be
|
||||||
@ -18,7 +16,7 @@ hard-coded defaults and environment variables.
|
|||||||
|
|
||||||
%package -n python3-ConfigArgParse
|
%package -n python3-ConfigArgParse
|
||||||
Summary: A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables.
|
Summary: A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables.
|
||||||
Provides: python-ConfigArgParse
|
Provides: python-ConfigArgParse = %{version}-%{release}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
%description -n python3-ConfigArgParse
|
%description -n python3-ConfigArgParse
|
||||||
@ -49,6 +47,9 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
|||||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi
|
||||||
pushd %{buildroot}
|
pushd %{buildroot}
|
||||||
if [ -d usr/lib ]; then
|
if [ -d usr/lib ]; then
|
||||||
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
@ -77,6 +78,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 03 2023 zhangchenglin <zhangchenglin@kylinos.cn> - 1.5.5-1
|
||||||
|
- Update package to version 1.5.5
|
||||||
|
|
||||||
* Sat Sep 24 2022 guozhengxin <guozhengxin@kylinos.cn> - 1.5.3-1
|
* Sat Sep 24 2022 guozhengxin <guozhengxin@kylinos.cn> - 1.5.3-1
|
||||||
- Upgrade package to version 1.5.3
|
- Upgrade package to version 1.5.3
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user