diff options
Diffstat (limited to 'python-pipen-args.spec')
| -rw-r--r-- | python-pipen-args.spec | 39 |
1 files changed, 30 insertions, 9 deletions
diff --git a/python-pipen-args.spec b/python-pipen-args.spec index 3e4aa6b..910177d 100644 --- a/python-pipen-args.spec +++ b/python-pipen-args.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-pipen-args -Version: 0.9.7 +Version: 0.9.11 Release: 1 Summary: Command-line argument parser for pipen. License: MIT URL: https://github.com/pwwang/pipen-args -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9e/3e/99d4195b9492afd5dac55cdb4063f5b97c360ae250d83ab5a9731473479e/pipen_args-0.9.7.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/8d/50/8c27627b74f113198b97cee02dcac95417133fc60d914eb751dbb3407fb5/pipen_args-0.9.11.tar.gz BuildArch: noarch Requires: python3-pipen-annotate @@ -63,6 +63,13 @@ Optional Arguments: See more examples in `tests/pipelines/` folder. +## Plugin options + +- `args_hide`: (process level) Hide the arguments in the help message. Default: `False` +- `args_group`: (pipeline level) The group name for the arguments. Default: `pipeline options` +- `args_flatten`: (pipeline level) Flatten the arguments in the help message when there is only one process in the pipeline. Default: `auto` (flatten if single process, otherwise not) + + ## Metadata for Proc envs items The metadata in the docstring of env items determines how the arguments are defined. @@ -144,6 +151,13 @@ Optional Arguments: See more examples in `tests/pipelines/` folder. +## Plugin options + +- `args_hide`: (process level) Hide the arguments in the help message. Default: `False` +- `args_group`: (pipeline level) The group name for the arguments. Default: `pipeline options` +- `args_flatten`: (pipeline level) Flatten the arguments in the help message when there is only one process in the pipeline. Default: `auto` (flatten if single process, otherwise not) + + ## Metadata for Proc envs items The metadata in the docstring of env items determines how the arguments are defined. @@ -222,6 +236,13 @@ Optional Arguments: See more examples in `tests/pipelines/` folder. +## Plugin options + +- `args_hide`: (process level) Hide the arguments in the help message. Default: `False` +- `args_group`: (pipeline level) The group name for the arguments. Default: `pipeline options` +- `args_flatten`: (pipeline level) Flatten the arguments in the help message when there is only one process in the pipeline. Default: `auto` (flatten if single process, otherwise not) + + ## Metadata for Proc envs items The metadata in the docstring of env items determines how the arguments are defined. @@ -245,7 +266,7 @@ will be set to `True`. The keys are valid arguments of `argx.ArgumentParser.add_ %prep -%autosetup -n pipen-args-0.9.7 +%autosetup -n pipen_args-0.9.11 %build %py3_build @@ -259,20 +280,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} 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 fi if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . @@ -285,5 +306,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.7-1 +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.11-1 - Package Spec generated |
