Group :: Development/Python3
RPM: python3-module-configargparse
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%global oname ConfigArgParse
Name: python3-module-configargparse
Version: 1.5.3
Release: alt1
Summary: A Python module with support for argparse, config files, and env variables
License: MIT
Group: Development/Python3
Url: https://github.com/bw2/ConfigArgParse
Packager: Vitaly Lipatov <lav at altlinux.ru>
# Source-url: %__pypi_url %oname
Source: %name-%version.tar
BuildRequires(pre): rpm-build-intro >= 2.2.5
BuildRequires(pre): rpm-build-python3
BuildArch: noarch
#BuildRequires: python3-devel
#BuildRequires: python3-module-setuptools
%description
Applications with more than a handful of user-settable options are best
configured through a combination of command line args, config files, hard
coded defaults, and in some cases, environment variables.
Python's command line parsing modules such as argparse have very limited
support for config files and environment variables, so this module extends
argparse to add these features.
%prep
%setup
%build
%python3_build
%install
%python3_install
%files
%doc README.rst
%doc LICENSE
%python3_sitelibdir/configargparse.py*
%python3_sitelibdir/%{oname}*.egg-info
%python3_sitelibdir/__pycache__/configargparse*
%changelog
…
Full changelog you can see here
Name: python3-module-configargparse
Version: 1.5.3
Release: alt1
Summary: A Python module with support for argparse, config files, and env variables
License: MIT
Group: Development/Python3
Url: https://github.com/bw2/ConfigArgParse
Packager: Vitaly Lipatov <lav at altlinux.ru>
# Source-url: %__pypi_url %oname
Source: %name-%version.tar
BuildRequires(pre): rpm-build-intro >= 2.2.5
BuildRequires(pre): rpm-build-python3
BuildArch: noarch
#BuildRequires: python3-devel
#BuildRequires: python3-module-setuptools
%description
Applications with more than a handful of user-settable options are best
configured through a combination of command line args, config files, hard
coded defaults, and in some cases, environment variables.
Python's command line parsing modules such as argparse have very limited
support for config files and environment variables, so this module extends
argparse to add these features.
%prep
%setup
%build
%python3_build
%install
%python3_install
%files
%doc README.rst
%doc LICENSE
%python3_sitelibdir/configargparse.py*
%python3_sitelibdir/%{oname}*.egg-info
%python3_sitelibdir/__pycache__/configargparse*
%changelog
…
Full changelog you can see here