Fabian Affolter 3e58387
%global srcname ConfigArgParse
Fabian Affolter 3e58387
Fabian Affolter 3e58387
Name:           python-configargparse
e283405
Version:        1.7
08d4495
Release:        1%{?dist}
8dd328c
Summary:        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
9cf5e36
Source0:        %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
f822896
f822896
BuildArch:      noarch
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}
b402732
b402732
BuildRequires:  python3-devel
1bf4283
BuildRequires:  python3-pytest
b402732
BuildRequires:  python3-setuptools
08d4495
BuildRequires:  python3-pyyaml
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
f822896
%autosetup -p0 -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
1bf4283
%check
95e4048
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -k "not TestMisc"
1bf4283
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
e283405
* Fri Sep 15 2023 Jonathan Wright <jonathan@almalinux.org> - 1.7-1
e283405
- Update to 1.7 rhbz#2225187
e283405
c8ec440
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.5-2
c8ec440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
c8ec440
08d4495
* Fri Jul 14 2023 Jonathan Wright <jonathan@almalinux.org> - 1.5.5-1
08d4495
- Update to 1.5.5 rhbz#2218395
08d4495
a4da340
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.5.3-5
a4da340
- Rebuilt for Python 3.12
a4da340
3faa375
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-4
3faa375
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
3faa375
26158b1
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-3
26158b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
26158b1
16d9cf2
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.5.3-2
16d9cf2
- Rebuilt for Python 3.11
16d9cf2
9cf5e36
* Tue Feb 22 2022 Fabian Affolter <mail@fabian-affolter.ch> - 1.5.3-1
9cf5e36
- Update to new upstream version 1.5.3 (closes rhbz#2010146)
9cf5e36
353d6e9
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-2
353d6e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
353d6e9
115245c
* Thu Aug 26 2021 Fabian Affolter <mail@fabian-affolter.ch> - 1.5.2-1
9cf5e36
- Update to new upstream version 1.5.2 (closes rhbz#1974548)
115245c
d2d2018
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-2
d2d2018
- Second attempt - Rebuilt for
d2d2018
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
d2d2018
f822896
* Mon Jun 14 2021 Major Hayden <major@mhtx.net> - 1.4.1-1
f822896
- Add patch to temporarily make tests work with argparse in Python 3.10. (BZ 1914818)
f822896
- Update to version 1.4.1.
f822896
a85f56d
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.4-2
a85f56d
- Rebuilt for Python 3.10
a85f56d
8162b08
* Tue Mar 16 2021 Fabian Affolter <mail@fabian-affolter.ch> - 1.4-1
8162b08
- Update to new upstream version 1.4 (#1928695)
8162b08
8dd328c
* Mon Feb 15 2021 Fabian Affolter <mail@fabian-affolter.ch> - 1.3-1
8dd328c
- Update to new upstream version 1.3 (#1928695)
8dd328c
93b443e
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-4
93b443e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
93b443e
59ab1ad
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-3
59ab1ad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
59ab1ad
9ccbed6
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.3-2
9ccbed6
- Rebuilt for Python 3.9
9ccbed6
95e4048
* Thu May 07 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.2.3-2
95e4048
- Update check section
95e4048
bd404f7
* Wed May 06 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 1.2.3-1
bd404f7
- update to new upstream version 1.2.3 (rhbz#1827624)
1bf4283
- run tests in %%check
bd404f7
f181d34
* Thu Apr 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.2.2-1
f181d34
- Update to new upstream version 1.2.2 (rhbz#1827055)
f181d34
51d2340
* Fri Apr 10 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.2.1-1
51d2340
- Update to new upstream version 1.2.1 (rhbz#1820195)
51d2340
16a036b
* Thu Apr 02 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.2-1
16a036b
- Update to new upstream version 1.2 (rhbz#1820195)
16a036b
b402732
* Tue Mar 17 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.1-1
b402732
- Update to new upstream version 1.1 (rhbz#1813693)
b402732
e0bdac7
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.2-2
e0bdac7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
e0bdac7
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