Hello community, here is the log from the commit of package python-xlwt for openSUSE:Factory checked in at 2015-05-19 23:44:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-xlwt (Old) and /work/SRC/openSUSE:Factory/.python-xlwt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-xlwt" Changes: -------- --- /work/SRC/openSUSE:Factory/python-xlwt/python-xlwt.changes 2013-09-23 11:17:56.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-xlwt.new/python-xlwt.changes 2015-05-19 23:44:14.000000000 +0200 @@ -1,0 +2,19 @@ +Thu May 14 16:06:30 UTC 2015 - [email protected] + +- update to version 1.0.0: + * Python 3 support. + * Initial set of unit tests. + * An initial set of Sphinx documentation. + * Move to setuptools for packaging. + * Wire up Travis, Coveralls and ReadTheDocs. + * Allow longs as row indexes. +- add new dependencies python-Sphinx, python-nose, python-pkginfo, + python-setuptools +- only define python_sitelib for SLE11 and remove %py_requires +- fix end of line encoding of examples scripts +- remove CFLAGS declaration +- build the documentation with sphinx +- run the tests with nosetests +- update the paths of doc and examples: changed upstream + +------------------------------------------------------------------- Old: ---- xlwt-0.7.5.tar.gz New: ---- xlwt-1.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-xlwt.spec ++++++ --- /var/tmp/diff_new_pack.YN0Zd4/_old 2015-05-19 23:44:15.000000000 +0200 +++ /var/tmp/diff_new_pack.YN0Zd4/_new 2015-05-19 23:44:15.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-xlwt # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-xlwt -Version: 0.7.5 +Version: 1.0.0 Release: 0 Url: https://secure.simplistix.co.uk/svn/xlwt/trunk Summary: Library to Create Spreadsheet Files Compatible With MS Excel 97/2000/XP/2003 @@ -25,15 +25,16 @@ Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/x/xlwt/xlwt-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-Sphinx BuildRequires: python-devel -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} > 1110 +BuildRequires: python-nose +BuildRequires: python-pkginfo +BuildRequires: python-setuptools +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%else BuildArch: noarch %endif -%endif -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %description xlwt is a library for generating spreadsheet files that are compatible @@ -44,16 +45,22 @@ %prep %setup -q -n xlwt-%{version} +# fix end of line encoding +sed -i 's/\r$//' examples/{numbers_demo.py,panes2.py,image_chg_col_wid.py,zoom_magnification.py} %build -CFLAGS="%{optflags}" python setup.py build +python setup.py build +cd docs && make html && rm _build/html/.buildinfo %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%check +nosetests + %files %defattr(-,root,root,-) -%doc xlwt/doc/* xlwt/examples +%doc docs/_build/html examples %{python_sitelib}/* %changelog ++++++ xlwt-0.7.5.tar.gz -> xlwt-1.0.0.tar.gz ++++++ ++++ 6909 lines of diff (skipped)
