commit 512db87358b0708694f88cbd86994e07260a54ad79561604664a98bfaecbc5c1 Author: Stephan Kulow Date: Fri Jul 18 04:40:35 2014 +0000 Accepting request 241299 from devel:languages:python I intend to submit python-pandas to openSUSE:Factory. python-pandas is a tool that makes it easy to do complex data import, export, and manipulation. It has become one of the critical tools for data analysis in python, like python-numpy, python-scipy, python-matplotlib, and IPython (all of which are in openSUSE:Factory). This is a dependency of python-pandas. This package is also useful on its own for reading microsoft excel spreadsheets into python. OBS-URL: https://build.opensuse.org/request/show/241299 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-openpyxl?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/openpyxl-1.7.0.tar.gz b/openpyxl-1.7.0.tar.gz new file mode 100644 index 0000000..e44b2ec --- /dev/null +++ b/openpyxl-1.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:12b72aff88ba7edd39c5f7cff9284c2ef2478cd926823fbf3dccebbfd7b2d840 +size 68072 diff --git a/python-openpyxl.changes b/python-openpyxl.changes new file mode 100644 index 0000000..fe90cb8 --- /dev/null +++ b/python-openpyxl.changes @@ -0,0 +1,21 @@ +------------------------------------------------------------------- +Thu Jul 17 07:54:48 UTC 2014 - toddrme2178@gmail.com + +- Add LICENSE to %doc + +------------------------------------------------------------------- +Thu Dec 5 20:53:52 UTC 2013 - p.drouand@gmail.com + +- Update to version 1.7.0 + + Read CHANGES file from package documentation + +------------------------------------------------------------------- +Thu Oct 24 11:09:42 UTC 2013 - speilicke@suse.com + +- Require python-setuptools instead of distribute (upstreams merged) + +------------------------------------------------------------------- +Fri May 10 11:39:07 UTC 2013 - toddrme2178@gmail.com + +- Initial version + diff --git a/python-openpyxl.spec b/python-openpyxl.spec new file mode 100644 index 0000000..dcbe10c --- /dev/null +++ b/python-openpyxl.spec @@ -0,0 +1,63 @@ +# +# spec file for package python-openpyxl +# +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: python-openpyxl +Version: 1.7.0 +Release: 0 +Summary: A Python library to read/write Excel 2007 xlsx/xlsm files +License: MIT and Python-2.0 +Group: Development/Languages/Python +Url: http://openpyxl.readthedocs.org +Source: http://pypi.python.org/packages/source/o/openpyxl/openpyxl-%{version}.tar.gz +BuildRequires: python-devel +BuildRequires: python-nose +BuildRequires: python-setuptools +BuildRequires: python-xml +Requires: python-xml +# for embedded image support +Recommends: python-Pillow +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%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 + +%description +openpyxl is a pure python reader and writer of Excel OpenXML files. +It is ported from the PHPExcel project + +%prep +%setup -q -n openpyxl-%{version} + +%build +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} +mv LICENCE LICENSE + +%check +nosetests + +%files +%defattr(-,root,root,-) +%doc AUTHORS CHANGES LICENSE README +%{python_sitelib}/* + +%changelog