7e73334
Name:           python-configobj
Fabio Alessandro Locati 69725a4
Version:        5.0.6
e75f659
Release:        27%{?dist}
28ee02e
Summary:        Config file reading, writing, and validation
28ee02e
License:        BSD
Luke Macken df536bf
URL:            http://configobj.readthedocs.org/
Fabio Alessandro Locati a2411e4
# Moved to the github release instead of the pypi one since multiple elements (License and tests)
Fabio Alessandro Locati a2411e4
# are not available using pypi. Two bugs have been filled about this:
Fabio Alessandro Locati a2411e4
# https://github.com/DiffSK/configobj/issues/98
Fabio Alessandro Locati a2411e4
# https://github.com/DiffSK/configobj/issues/99
Fabio Alessandro Locati a2411e4
# Source0:        https://pypi.python.org/packages/source/c/configobj/configobj-5.0.6.tar.gz
7e73334
Source0:        https://github.com/DiffSK/configobj/archive/v%{version}.tar.gz
28ee02e
BuildArch:      noarch
Sam P 9b31263
BuildRequires:  python%{python3_pkgversion}-devel
Sam P 9b31263
BuildRequires:  python%{python3_pkgversion}-setuptools
Sam P 9b31263
BuildRequires:  python%{python3_pkgversion}-six
Sam P 9b31263
BuildRequires:  python%{python3_pkgversion}-pytest
7e73334
%global _description \
7e73334
ConfigObj is a simple but powerful configuration file reader and writer: an ini\
7e73334
file round tripper. Its main feature is that it is very easy to use, with a\
7e73334
straightforward programmers interface and a simple syntax for config files. 
7e73334
%description %_description
7e73334
Sam P 9b31263
%package     -n python%{python3_pkgversion}-configobj
7e73334
Summary:        %{summary}
Sam P 9b31263
%{?python_provide:%python_provide python%{python3_pkgversion}-configobj}
Sam P 9b31263
Requires:       python%{python3_pkgversion}-six
Sam P 9b31263
%description -n python%{python3_pkgversion}-configobj %_description
Luke Macken df536bf
28ee02e
%prep
7e73334
%autosetup -n configobj-%{version}
5d10010
28ee02e
%build
Fabio Alessandro Locati 1bd9c0d
%py3_build
28ee02e
28ee02e
%install
Fabio Alessandro Locati 1bd9c0d
%py3_install
Luke Macken df536bf
Fabio Alessandro Locati a2411e4
%check
Fabio Alessandro Locati c2582bf
# this needs to be set for tests.test_configobj.test_options_deprecation
Fabio Alessandro Locati c2582bf
export PYTHONWARNINGS=always
Fabio Alessandro Locati a2411e4
%{__python3} test_configobj.py
Fabio Alessandro Locati c2582bf
py.test-%{python3_version} tests
28ee02e
Sam P 9b31263
%files -n python%{python3_pkgversion}-configobj
Fabio Alessandro Locati dbab34a
%doc README.md
Fabio Alessandro Locati 69725a4
%license LICENSE
7e73334
%{python3_sitelib}/_version.py
7e73334
%{python3_sitelib}/configobj.py
7e73334
%{python3_sitelib}/validate.py
7e73334
%{python3_sitelib}/__pycache__/*
b3fa09f
%{python3_sitelib}/configobj-%{version}-py%{python3_version}.egg-info
Luke Macken df536bf
28ee02e
%changelog
e75f659
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-27
e75f659
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
e75f659
Sam P 9b31263
* Sun Aug 08 2021 Sam P <survient@fedoraproject.org> - 5.0.6-26
Sam P 9b31263
- Change to use python3_pkgversion macro for EPEL 7 support
Sam P 9b31263
b334f8c
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-25
b334f8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
b334f8c
dcfb688
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 5.0.6-24
dcfb688
- Rebuilt for Python 3.10
dcfb688
393c57a
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-23
393c57a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
393c57a
9e80ad0
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-22
9e80ad0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9e80ad0
cc042eb
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 5.0.6-21
cc042eb
- Rebuilt for Python 3.9
cc042eb
3781701
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-20
3781701
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
3781701
bc68825
* Sun Oct 20 2019 Miro Hrončok <mhroncok@redhat.com> - 5.0.6-19
bc68825
- Subpackage python2-configobj has been removed
bc68825
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
bc68825
0902d4f
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 5.0.6-18
0902d4f
- Rebuilt for Python 3.8.0rc1 (#1748018)
0902d4f
bf9fad9
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 5.0.6-17
bf9fad9
- Rebuilt for Python 3.8
bf9fad9
624d5e0
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-16
624d5e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
624d5e0
1fde2a7
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-15
1fde2a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1fde2a7
5374118
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-14
5374118
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5374118
705f550
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 5.0.6-13
705f550
- Rebuilt for Python 3.7
705f550
7e73334
* Thu Mar 15 2018 Terje Rosten <terje.rosten@ntnu.no> - 5.0.6-12
7e73334
- Minor clean up
7e73334
f6e6545
* Tue Mar 13 2018 Iryna Shcherbina <ishcherb@redhat.com> - 5.0.6-11
f6e6545
- Update Python 2 dependency declarations to new packaging standards
f6e6545
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
f6e6545
f7eb1e9
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-10
f7eb1e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f7eb1e9
837a2fa
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-9
837a2fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
837a2fa
7b4bef1
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-8
7b4bef1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7b4bef1
0cc703d
* Tue Dec 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 5.0.6-7
0cc703d
- Enable tests
0cc703d
3a44a20
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 5.0.6-6
3a44a20
- Rebuild for Python 3.6
3a44a20
- Disable python3 tests for now
3a44a20
b42adf5
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.6-5
b42adf5
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
b42adf5
68c6cf9
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-4
68c6cf9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
68c6cf9
924d2c0
* Thu Jan 07 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 5.0.6-3
Fabio Alessandro Locati 9daded3
- Fix descriptions
Fabio Alessandro Locati 9daded3
- Fix for F22
Fabio Alessandro Locati 9daded3
924d2c0
* Thu Jan 07 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 5.0.6-2
Fabio Alessandro Locati dbb3889
- Simplify spec file
Fabio Alessandro Locati dbb3889
- Improve spec file
Fabio Alessandro Locati dbb3889
- Add tests
Fabio Alessandro Locati dbb3889
924d2c0
* Wed Jan 06 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 5.0.6-1
Fabio Alessandro Locati 69725a4
- Align to current upstream
Fabio Alessandro Locati 69725a4
7bef8cf
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.5-4
7bef8cf
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
7bef8cf
5db5290
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.5-3
5db5290
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5db5290
5d10010
* Thu Jul 31 2014 Tom Callaway <spot@fedoraproject.org> - 5.0.5-2
5d10010
- fix license handling
5d10010
Luke Macken df536bf
* Thu Jun 26 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 5.0.5-1
Luke Macken df536bf
- Updated to 5.0.5 (new upstream "with the blessing of original creator")
Luke Macken df536bf
- Introduced python3-configobj subpackage
Luke Macken df536bf
- Changed upstream url to documentation written by new upstream
Luke Macken df536bf
b1099e5
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7.2-8
b1099e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b1099e5
5eaf13c
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7.2-7
5eaf13c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
5eaf13c
6840188
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7.2-6
6840188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6840188
5840edc
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7.2-5
5840edc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5840edc
7b18d08
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7.2-4
7b18d08
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7b18d08
8078e25
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7.2-3
8078e25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8078e25
d64d3bc
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 4.7.2-2
d64d3bc
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
d64d3bc
27dad12
* Thu Jun 17 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 4.7.2-1
27dad12
- Fix traceback when doing from validate import *
27dad12
- Upstream bugfix release
27dad12
6f7f935
* Wed Jan 20 2010 Luke Macken <lmacken@redhat.com> - 4.7.0-2
6f7f935
- Merge a bunch of changes from Gareth Armstrong <gareth.armstrong@hp.com>
6f7f935
    - The src zip file should come either from http://www.voidspace.org.uk/
6f7f935
      downloads/ or http://code.google.com/p/configobj/ as the PyPI tarball is
6f7f935
      not complete.  No docs and no test code.
6f7f935
    - Added docs
6f7f935
    - Remove BR on python-setuptools-devel
6f7f935
a72990e
* Sun Jan 10 2010 Luke Macken <lmacken@redhat.com> - 4.7.0-1
a72990e
- Update to 4.7.0
a72990e
00e6bac
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6.0-2
00e6bac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
00e6bac
Yaakov Meir Nemoy cd095e7
* Thu May  7 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 4.6.0-1
Yaakov Meir Nemoy cd095e7
- updated to latest upstream
Yaakov Meir Nemoy cd095e7
455b24b
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.5.3-5
455b24b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
455b24b
78d4214
* Mon Feb 09 2009 Luke Macken <lmacken@redhat.com> - 4.5.3-4
78d4214
- Conditionally include the egg-info, when available (#478417)
78d4214
5a42fe6
* Mon Dec 1 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 4.5.3-3
5a42fe6
- Upload Source file so this actually builds.
5a42fe6
95e88cc
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 4.5.3-2
95e88cc
- Rebuild for Python 2.6
95e88cc
f30419e
* Sat Jun 28 2008 Luke Macken <lmacken@redhat.com> - 4.5.3-1
f30419e
- Update to 4.5.3
f30419e
f66c247
* Thu Feb 28 2008 Luke Macken <lmacken@redhat.com> - 4.5.2-1
f66c247
- Update to 4.5.2
f66c247
f4e14fb
* Sun Sep  2 2007 Luke Macken <lmacken@redhat.com> - 4.4.0-2
f4e14fb
- Update for python-setuptools changes in rawhide
f4e14fb
820e03d
* Sat Mar  3 2007 Luke Macken <lmacken@redhat.com> - 4.4.0-1
820e03d
- 4.4.0
820e03d
681f54b
* Sat Dec  9 2006 Luke Macken <lmacken@redhat.com> - 4.3.2-6
681f54b
- Rebuild for python 2.5
681f54b
96ce0c3
* Sun Sep  3 2006 Luke Macken <lmacken@redhat.com> - 4.3.2-5
96ce0c3
- Fix dist tag
96ce0c3
3ece588
* Sun Sep  3 2006 Luke Macken <lmacken@redhat.com> - 4.3.2-4
3ece588
- Rebuild for FC6
3ece588
3cbb368
* Mon Aug 14 2006 Luke Macken <lmacken@redhat.com> - 4.3.2-3
3cbb368
- Include pyo files
3cbb368
28ee02e
* Tue Jul 18 2006 Luke Macken <lmacken@redhat.com> - 4.3.2-2
28ee02e
- Fix typo in the url
28ee02e
28ee02e
* Mon Jul 10 2006 Luke Macken <lmacken@redhat.com> - 4.3.2-1
28ee02e
- Initial package