[python-ofxparse] upstream release 0.14

Dan Callaghan dcallagh at fedoraproject.org
Mon Jan 6 22:38:15 UTC 2014


commit a7e8160aa106314740c0620b6e9e4aeff0b6dc94
Author: Dan Callaghan <djc at djc.id.au>
Date:   Fri Dec 27 15:22:14 2013 +1000

    upstream release 0.14

 .gitignore           |    1 +
 python-ofxparse.spec |   33 ++++++++++++++++++---------------
 sources              |    2 +-
 3 files changed, 20 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0676f8f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ofxparse-0.14.tar.gz
diff --git a/python-ofxparse.spec b/python-ofxparse.spec
index 96e513b..c3ea639 100644
--- a/python-ofxparse.spec
+++ b/python-ofxparse.spec
@@ -7,23 +7,25 @@
 %endif
 
 Name:           python-%{upstream_name}
-Version:        0.12
+Version:        0.14
 Release:        1%{?dist}
 Summary:        Python library for working with the OFX (Open Financial Exchange) file format
 License:        MIT
 URL:            http://sites.google.com/site/ofxparse
 Source0:        http://pypi.python.org/packages/source/o/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
-# https://github.com/jseutter/ofxparse/issues/56
-Source1:        LICENSE
 BuildArch:      noarch
 BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
 BuildRequires:  python-nose
+BuildRequires:  python-beautifulsoup4
 %if %{with python3}
 BuildRequires:  python3-devel
 BuildRequires:  python3-setuptools
 BuildRequires:  python3-nose
+BuildRequires:  python3-beautifulsoup4
+BuildRequires:  python3-six
 %endif
+Requires:       python-beautifulsoup4
 
 %description
 ofxparse is a parser for Open Financial Exchange (.ofx) format files. OFX files 
@@ -34,6 +36,8 @@ accounts also provide account statements in OFX files.
 %if %{with python3}
 %package -n python3-%{upstream_name}
 Summary:        Python 3 library for working with the OFX (Open Financial Exchange) file format
+Requires:       python3-beautifulsoup4
+Requires:       python3-six
 
 %description -n python3-%{upstream_name}
 ofxparse is a parser for Open Financial Exchange (.ofx) format files. OFX files 
@@ -45,7 +49,6 @@ accounts also provide account statements in OFX files.
 %prep
 %setup -q -n %{upstream_name}-%{version}
 rm -rf %{upstream_name}.egg-info
-cp -p %{SOURCE1} .
 
 %if %{with python3}
 rm -rf %{py3dir}
@@ -70,17 +73,14 @@ popd
 
 %{__python} setup.py install --skip-build --root %{buildroot}
 
-# re-enable this when upstream puts tests in its tarball
-# https://github.com/jseutter/ofxparse/issues/56
-#%check
-#%{__python} setup.py test
-#
-#%if %{with python3}
-#pushd %{py3dir}
-##nosetests-3.3 build/lib
-#%{__python3} setup.py test
-#popd
-#%endif
+%check
+%{__python} setup.py test
+
+%if %{with python3}
+pushd %{py3dir}
+%{__python3} setup.py test
+popd
+%endif
 
 %files
 %doc README LICENSE
@@ -95,5 +95,8 @@ popd
 %endif
 
 %changelog
+* Fri Dec 27 2013 Dan Callaghan <dcallagh at redhat.com> - 0.14-1
+- upstream release 0.14
+
 * Wed Aug 14 2013 Dan Callaghan <dcallagh at redhat.com> - 0.12-1
 - initial version
diff --git a/sources b/sources
index e3d53cb..da8e75f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2d00dec8f2ccb2935f5f218553cbf483  ofxparse-0.12.tar.gz
+4ad8a34e008d4893a61eadd593176f0f  ofxparse-0.14.tar.gz


More information about the scm-commits mailing list