d3a5488
%global upstream_name ofxparse
d3a5488
Björn Esser d262c9b
d3a5488
Name:           python-%{upstream_name}
80f47c1
Version:        0.18
6412193
Release:        4%{?dist}
d3a5488
Summary:        Python library for working with the OFX (Open Financial Exchange) file format
d3a5488
License:        MIT
d3a5488
URL:            http://sites.google.com/site/ofxparse
40b7448
Source0:        https://files.pythonhosted.org/packages/source/o/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
d3a5488
BuildArch:      noarch
672db22
672db22
%description
672db22
ofxparse is a parser for Open Financial Exchange (.ofx) format files. OFX files 
672db22
are available from almost any online banking site, so they work well if you 
672db22
want to pull together your finances from multiple sources. Online trading 
672db22
accounts also provide account statements in OFX files.
672db22
d3a5488
%package -n python3-%{upstream_name}
672db22
Summary:        %{summary}
672db22
%{?python_provide:%python_provide python3-%{upstream_name}}
672db22
BuildRequires:  python3-devel
672db22
BuildRequires:  python3-setuptools
672db22
BuildRequires:  python3-nose
672db22
BuildRequires:  python3-beautifulsoup4
672db22
BuildRequires:  python3-six
Björn Esser 45eda33
BuildRequires:  python3-lxml
a7e8160
Requires:       python3-beautifulsoup4
a7e8160
Requires:       python3-six
Björn Esser 45eda33
Requires:       python3-lxml
d3a5488
d3a5488
%description -n python3-%{upstream_name}
d3a5488
ofxparse is a parser for Open Financial Exchange (.ofx) format files. OFX files 
d3a5488
are available from almost any online banking site, so they work well if you 
d3a5488
want to pull together your finances from multiple sources. Online trading 
d3a5488
accounts also provide account statements in OFX files.
d3a5488
d3a5488
%prep
d3a5488
%setup -q -n %{upstream_name}-%{version}
d3a5488
d3a5488
%build
672db22
%py3_build
d3a5488
d3a5488
%install
672db22
%py3_install
d3a5488
a7e8160
%check
07c7b00
%{__python3} setup.py test
d3a5488
d3a5488
%files -n python3-%{upstream_name}
672db22
%license LICENSE
672db22
%doc README.rst AUTHORS
d3a5488
%{python3_sitelib}/%{upstream_name}
d3a5488
%{python3_sitelib}/%{upstream_name}*.egg-info
d3a5488
d3a5488
%changelog
6412193
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.18-4
6412193
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6412193
1fd99ff
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.18-3
1fd99ff
- Subpackage python2-ofxparse has been removed
1fd99ff
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
1fd99ff
996bd93
* Wed Aug 01 2018 Dan Callaghan <dcallagh@redhat.com> - 0.18-2
996bd93
- conditionalize Python requirements so they still work in EPEL7
996bd93
80f47c1
* Wed Aug 01 2018 Dan Callaghan <dcallagh@redhat.com> - 0.18-1
80f47c1
- upstream release 0.18
80f47c1
901ce25
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-5
901ce25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
901ce25
faf70ea
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.17-4
faf70ea
- Rebuilt for Python 3.7
faf70ea
c29862e
* Tue Feb 27 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.17-3
c29862e
- Update Python 2 dependency declarations to new packaging standards
c29862e
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
c29862e
f326d3c
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-2
f326d3c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f326d3c
Fedora Release Monitoring 66cfa1e
* Wed Nov 15 2017 Fedora Release Monitoring  <release-monitoring@fedoraproject.org> - 0.17-1
Fedora Release Monitoring 66cfa1e
- Update to 0.17 bug fix release (#1513450)
Fedora Release Monitoring 66cfa1e
135df44
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-3
135df44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
135df44
0b5e4e9
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-2
0b5e4e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0b5e4e9
07c7b00
* Thu Jan 05 2017 Dan Callaghan <dcallagh@redhat.com> - 0.16-1
07c7b00
- upstream release 0.16
07c7b00
f408fa8
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.15-5
f408fa8
- Rebuild for Python 3.6
f408fa8
Björn Esser 45eda33
* Sat Oct 08 2016 Björn Esser <fedora@besser82.io> - 0.15-4
Björn Esser 45eda33
- add needed BuildRequires and Requires
Björn Esser 45eda33
- fix BuildRequires for epel7
Björn Esser 45eda33
Björn Esser d262c9b
* Sat Oct 08 2016 Björn Esser <fedora@besser82.io> - 0.15-3
Björn Esser d262c9b
- add conditional for Python3 to build on epel7
Björn Esser d262c9b
- do not remove upstream egg-info
Björn Esser d262c9b
672db22
* Mon Aug 01 2016 Dan Callaghan <dcallagh@redhat.com> - 0.15-2
672db22
- updated to latest Python guidelines
672db22
40b7448
* Mon Aug 01 2016 Dan Callaghan <dcallagh@redhat.com> - 0.15-1
40b7448
- upstream release 0.15
40b7448
1d8cd08
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-8
1d8cd08
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
1d8cd08
7130465
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-7
7130465
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7130465
b65a052
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-6
b65a052
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
b65a052
f0e485f
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-5
f0e485f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f0e485f
7204e53
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-4
7204e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7204e53
2c3c79e
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.14-3
2c3c79e
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
2c3c79e
fff725f
* Tue Jan 07 2014 Dan Callaghan <dcallagh@redhat.com> - 0.14-2
fff725f
- six is needed on Python 2 also
fff725f
a7e8160
* Fri Dec 27 2013 Dan Callaghan <dcallagh@redhat.com> - 0.14-1
a7e8160
- upstream release 0.14
a7e8160
d3a5488
* Wed Aug 14 2013 Dan Callaghan <dcallagh@redhat.com> - 0.12-1
d3a5488
- initial version