Fabian Affolter 3e58387
%global srcname ConfigArgParse
Fabian Affolter 3e58387
Fabian Affolter 3e58387
Name:           python-configargparse
151be4d
Version:        0.15.2
6fcfd35
Release:        1%{?dist}
Fabian Affolter 3e58387
Summary:        A Python module with support for argparse, config files, and env variables
Fabian Affolter 3e58387
Fabian Affolter 3e58387
License:        MIT
Fabian Affolter 3e58387
URL:            https://github.com/bw2/ConfigArgParse
b732c42
Source0:        https://github.com/bw2/ConfigArgParse/archive/%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
Fabian Affolter 3e58387
Buildarch:      noarch
Fabian Affolter 3e58387
Fabian Affolter 3e58387
BuildRequires:  python3-devel
Fabian Affolter 3e58387
BuildRequires:  python3-setuptools
Fabian Affolter 3e58387
Fabian Affolter 3e58387
%description
Fabian Affolter 3e58387
Applications with more than a handful of user-settable options are best
Fabian Affolter 3e58387
configured through a combination of command line args, config files, hard
Fabian Affolter 3e58387
coded defaults, and in some cases, environment variables.
Fabian Affolter 3e58387
Fabian Affolter 3e58387
Python’s command line parsing modules such as argparse have very limited
Fabian Affolter 3e58387
support for config files and environment variables, so this module extends
Fabian Affolter 3e58387
argparse to add these features.
Fabian Affolter 3e58387
Fabian Affolter 3e58387
%package -n python3-configargparse
Fabian Affolter 3e58387
Summary:        %{summary}
Fabian Affolter 3e58387
%{?python_provide:%python_provide python3-configargparse}
Fabian Affolter 3e58387
Fabian Affolter 3e58387
%description -n python3-configargparse
Fabian Affolter 3e58387
Applications with more than a handful of user-settable options are best
Fabian Affolter 3e58387
configured through a combination of command line args, config files, hard
Fabian Affolter 3e58387
coded defaults, and in some cases, environment variables.
Fabian Affolter 3e58387
Fabian Affolter 3e58387
Python’s command line parsing modules such as argparse have very limited
Fabian Affolter 3e58387
support for config files and environment variables, so this module extends
Fabian Affolter 3e58387
argparse to add these features.
Fabian Affolter 3e58387
Fabian Affolter 3e58387
%prep
Fabian Affolter 3e58387
%autosetup -n %{srcname}-%{version}
Fabian Affolter 3e58387
Fabian Affolter 3e58387
%build
Fabian Affolter 3e58387
%py3_build
Fabian Affolter 3e58387
Fabian Affolter 3e58387
%install
Fabian Affolter 3e58387
%py3_install
Fabian Affolter 3e58387
Fabian Affolter 3e58387
%files -n python3-configargparse
Fabian Affolter 3e58387
%doc README.rst
Fabian Affolter 3e58387
%license LICENSE
Fabian Affolter 3e58387
%{python3_sitelib}/configargparse.py*
Fabian Affolter 3e58387
%{python3_sitelib}/%{srcname}*.egg-info
Fabian Affolter 3e58387
%{python3_sitelib}/__pycache__/configargparse*
Fabian Affolter 3e58387
Fabian Affolter 3e58387
%changelog
151be4d
* Wed Dec 11 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.15.2-1
151be4d
- Update to new upstream version 0.15.2 (rhbz#1782322)
151be4d
6fcfd35
* Mon Oct 14 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.15.1-1
6fcfd35
- Update to new upstream version 0.15.1 (rhbz#1759632)
6fcfd35
0baa3d1
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.14.0-5
0baa3d1
- Rebuilt for Python 3.8.0rc1 (#1748018)
0baa3d1
7dae868
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.14.0-4
7dae868
- Rebuilt for Python 3.8
7dae868
4290f70
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-3
4290f70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
4290f70
ff0eae4
* Thu Jun 27 2019 Eli Young <elyscape@gmail.com> - 0.14.0-2
ff0eae4
- Rebuilt to ensure upgrades from Fedora 29
ff0eae4
fbe4e71
* Sun Apr 28 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.14.0-1
fbe4e71
- Update to new upstream version 0.14.0
fbe4e71
fbe4e71
* Wed Apr 10 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.13.0-1
fbe4e71
- Update to new upstream version 0.13.0 (rhbz#1643700)
fbe4e71
e126d8a
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-7
e126d8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e126d8a
5677fe8
* Wed Jan 09 2019 Miro Hrončok <mhroncok@redhat.com> - 0.12.0-6
5677fe8
- Subpackage python2-configargparse has been removed
5677fe8
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
5677fe8
2ca3e23
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-5
2ca3e23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2ca3e23
a8daf23
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.12.0-4
a8daf23
- Rebuilt for Python 3.7
a8daf23
7b0a2ef
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-3
7b0a2ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7b0a2ef
8510396
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-2
8510396
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
8510396
59610c6
* Thu Jun 29 2017 Fabian Affolter <mail@fabian-affolter.ch> - 0.12.0-1
59610c6
- Update to new upstream version 0.12.0
59610c6
4c023d5
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-3
4c023d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4c023d5
906835d
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.11.0-2
906835d
- Rebuild for Python 3.6
906835d
b732c42
* Tue Nov 15 2016 Fabian Affolter <mail@fabian-affolter.ch> - 0.11.0-1
b732c42
- Update to new upstream version 0.11.0 (rhbz#1382975)
b732c42
7402114
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-3
7402114
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
7402114
9e92a7f
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-2
9e92a7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9e92a7f
5b39a6e
* Thu Jan 21 2016 Nick Bebout <nb@fedoraproject.org> - 0.10.0-1
5b39a6e
- Update to 0.10.0 for Let's Encrypt dep
5b39a6e
b732c42
* Thu Dec 03 2015 Robert Buchholz <rbu@goodpoint.de> - 0.9.3-5
b732c42
- epel7: Only build python2 package
b732c42
ce7ca95
* Thu Nov 12 2015 Kalev Lember <klember@redhat.com> - 0.9.3-4
ce7ca95
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
ce7ca95
Fabian Affolter 3e58387
* Thu Nov 05 2015 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.3-3
Fabian Affolter 3e58387
- Remove old parts
Fabian Affolter 3e58387
Fabian Affolter 3e58387
* Fri Oct 30 2015 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.3-2
Fabian Affolter 3e58387
- Update macros
Fabian Affolter 3e58387
Fabian Affolter 3e58387
* Thu Feb 05 2015 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.3-1
Fabian Affolter 3e58387
- Initial package