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