diff --git a/openpyxl-2.3.3.tar.gz b/openpyxl-2.3.3.tar.gz deleted file mode 100644 index 6fea4ba..0000000 --- a/openpyxl-2.3.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:93d64157d8cab5c7040bc025f0a7a9ad3c05e2d3f11518329c3f1682f5f62ffe -size 141530 diff --git a/openpyxl-2.4.7.tar.gz b/openpyxl-2.4.7.tar.gz new file mode 100644 index 0000000..a5cb58c --- /dev/null +++ b/openpyxl-2.4.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe00ef04c5560504c625cac9f18913a1d3fb414f0560e715af95d894a6b43d63 +size 156579 diff --git a/python-openpyxl.changes b/python-openpyxl.changes index f4e3ed7..ab6276d 100644 --- a/python-openpyxl.changes +++ b/python-openpyxl.changes @@ -1,3 +1,160 @@ +------------------------------------------------------------------- +Tue Apr 25 21:49:58 UTC 2017 - toddrme2178@gmail.com + +- Fix URL. + +------------------------------------------------------------------- +Tue Apr 25 18:50:02 UTC 2017 - toddrme2178@gmail.com + +- Update to version 2.4.7 + * Sample files being included by mistake in sdist` +- Update to version 2.4.6 + + Bugfixes + * Cannot apply formatting to plot area` + * Exception when element attributes are Python keywords` + * Exception raised when saving files with styled columns` + * Number formats for data labels are incorrect` + * Worksheet titles not quoted in defined names` + * Font underlines not read correctly` +- Update to version 2.4.5 + + Bugfixes + * Adding images keeps file handles open + * Exception for column-only ranges + * Cannot copy worksheets with non-ascii titles on Python 2 + + Pull requests + * Support for non-standard names for Workbook part. + * Documentation correction +- Update to version 2.4.4 + + Bugfixes + * Add close method to workbooks + * openpyxl can create files with invalid style indices + * Allow images in write-only mode + * Rounded corners for charts + * Use repr when handling non-convertible objects + * Hashing function is incorrect + * Named styles share underlying array + + Minor Changes + * Add roundtrip support for worksheet tables. + + Pull requests + * Don't init mimetypes more than once. +- Update to version 2.4.2 + + Bug fixes + * DeprecationWarning is incorrect + * Exception raised if userName is missing + * Always provide a date1904 attribute + * Hashes should be stored as Base64 + * Print titles broken on sheetnames with spaces + * Workbook breaks when active sheet is removed + * Incorrect descriptor for Filter values + * Potential XXE vulerability + * Cannot create files with page breaks and charts + * Problems with worksheets with commas in their titles + + Minor Changes + * Add unicode support for sheet name incrementation. +- Update to version 2.4.1 + + Bug fixes + * Make checking for duplicate sheet titles case insensitive + * Trouble handling LibreOffice files with named styles + * Directly assigned new named styles always refer to "Normal" + * Cannot parse print titles with multiple sheet names + * Cannot work with macro files created by LibreOffice + * Prevent duplicate differential styles + * Allow sheet titles longer than 31 characters + * Cannot unset hyperlinks + * Exception raised when format objects use cell references + * Copy height and width when copying comments + * Incorrect content type for VBA macros + * IndexError raised in read-only mode when accessing individual cells + * Files with external links become corrupted + * Cannot read files containing macro sheets + * Details from named styles not preserved when reading files + * Remove broken Print Title and Print Area definitions + + Minor changes + * Add support for Python 3.6 + * Correct documentation for headers and footers + + Deprecations + * Worksheet methods `get_named_range()` and `get_sqaured_range()` + + Bug fixes +- Update to version 2.4.0 + + Bug fixes + * Exception raised when epoch is 1904 + * Cannot handle unicode in headers and footers in Python 2 + * Cannot handle unicode sheetnames in Python 2 + * Chart styles, and axis units should not be 0 + * Strings in external workbooks not unicode + + Major changes + * Add support for builtin styles and include one for Pandas + + Minor changes + * Add a `keep_links` option to `load_workbook`. External links contain cached + copies of the external workbooks. If these are big it can be advantageous to + be able to disable them. + * Provide an example for using cell ranges in DataValidation. + * PR 138 - add copy support to comments. +- Update to 2.4.0-b1 + + Minor changes + * Add an the alias `hide_drop_down` to DataValidation for `showDropDown` because that is how Excel works. + + Bug fixes + * Exception raises when inspecting EmptyCells in read-only mode + * Functions for handling OOXML "escaped" ST_XStrings + * Row Dimensions not supported in write-only mode + * Problems when removing worksheets with charts + * Cannot use SheetProtection in write-only mode + + Features + * Add write support for worksheet tables +- Update to 2.4.0-a1 + + Minor changes + * Remove deprecated methods from DataValidation + * Remove deprecated methods from PrintPageSetup + * Convert AutoFilter to Serialisable and extend support for filters + * Add support for SortState + * Removed `use_iterators` keyword when loading workbooks. Use `read_only` instead. + * Removed `optimized_write` keyword for new workbooks. Use `write_only` instead. + * Improve print title support + * Add print area support + * New implementation of defined names + * New implementation of page headers and footers + * Add support for Python's NaN + * Added iter_cols method for worksheets + * ws.rows and ws.columns now always return generators and start at the top of the worksheet + * Add a `values` property for worksheets + * Default column width changed to 8 as per the specification + + Deprecations + * Cell anchor method + * Worksheet point_pos method + * Worksheet add_print_title method + * Worksheet HeaderFooter attribute, replaced by individual ones + * Flatten function for cells + * Workbook get_named_range, add_named_range, remove_named_range, get_sheet_names, get_sheet_by_name + * Comment text attribute + * Use of range strings deprecated for ws.iter_rows() + * Use of coordinates deprecated for ws.cell() + * Deprecate .copy() method for StyleProxy objects + + Bug fixes + * Hyperlinks lost when reading files + * Add function for copying worksheets + * Cells with inline strings considered empty + * Add support for ranges of rows and columns + * Workbook with definedNames corrupted by openpyxl + * "safe" reserved ranges are not read from workbooks + * Discarding named ranges can lead to corrupt files + * Exception raised when using the class method to parse Relationships + * Crashes when reading defined names with no content + * Cannot read worksheets without coordinates + * Customised named styles not correctly preserved +- Update to version 2.3.5 + + Bug fixes + * Comments not written in write-only mode +- Update to version 2.3.4 + + Bug fixes + * Content types might be missing when keeping VBA + * Cells with only one cell look empty + * Serialise NaN as '' + + Minor changes + * Preserve the order of external references because formualae use numerical indices. + * Typo corrected in cell unit tests (PR 118) +- Fix source url +- Implement single-spec version + ------------------------------------------------------------------- Mon Feb 1 11:35:21 UTC 2016 - toddrme2178@gmail.com diff --git a/python-openpyxl.spec b/python-openpyxl.spec index 67d666f..b9e5f89 100644 --- a/python-openpyxl.spec +++ b/python-openpyxl.spec @@ -1,7 +1,7 @@ # # spec file for package python-openpyxl # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,28 +16,28 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-openpyxl -Version: 2.3.3 +Version: 2.4.7 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-jdcal -BuildRequires: python-setuptools -BuildRequires: python-xml +Source: https://files.pythonhosted.org/packages/source/o/openpyxl/openpyxl-%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module jdcal} +BuildRequires: %{python_module xml} Requires: python-jdcal 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 +%python_subpackages %description openpyxl is a pure python reader and writer of Excel OpenXML files. @@ -47,13 +47,14 @@ It is ported from the PHPExcel project %setup -q -n openpyxl-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} mv LICENCE.rst LICENSE.rst -%files +%files %{python_files} %defattr(-,root,root,-) %doc AUTHORS.rst LICENSE.rst README.rst %{python_sitelib}/*