From 658f1fef704835f7f83d691fe1cd751fcbad5131cd4e81eb714dd0651e61edbc Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 22 Apr 2016 14:23:38 +0000 Subject: [PATCH] Accepting request 381378 from devel:languages:python - install LICENSE.txt - Fixed source download link. - Update to 3.2.0 * Added proportional underlining specific to font sizes, set via the `underlineProportion` attribute of ParagraphStyles. * TrueType fonts: added support for cmaps 10 & 13 * DocTemplate class now supports a boolean `displayDocTitle` argument. * TableofContents now supports a formatter argument to allow formatting of the displayed page numbers (eg for appendices etc). * Table `repeatRows` can now be a tuple of row numbers to allow incomplete ranges of rows to be repeated. * Tables now do pass instance.`spaceBefore` & `spaceAfter` to their split children when split * Several strangenesses were fixed in the pdfbase.pdfform module; Multiple usage is now allowed. * Error message fixes * Various environment fixes for Google Application Environment * Resource fixes * PDFDoc can now set the `Lang` attribute * canvas.drawString and similar now allow the character spacing to be set * Index of accented stuff has been improved * RTL code was improved * fix Propertyset.clone * `flowables.py`: fix ImageAndFlowables so it avoids testing negative availableWidth - Update to 3.1 OBS-URL: https://build.opensuse.org/request/show/381378 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-reportlab?expand=0&rev=15 --- python-reportlab.changes | 85 ++++++++++++++++++++++++++++++++++++++++ python-reportlab.spec | 22 ++++++----- reportlab-2.7.tar.gz | 3 -- reportlab-3.2.0.tar.gz | 3 ++ 4 files changed, 100 insertions(+), 13 deletions(-) delete mode 100644 reportlab-2.7.tar.gz create mode 100644 reportlab-3.2.0.tar.gz diff --git a/python-reportlab.changes b/python-reportlab.changes index f3b471f..8821ca1 100644 --- a/python-reportlab.changes +++ b/python-reportlab.changes @@ -1,3 +1,88 @@ +------------------------------------------------------------------- +Tue Mar 29 22:22:27 UTC 2016 - dmueller@suse.com + +- install LICENSE.txt + +------------------------------------------------------------------- +Sat Nov 7 10:47:45 UTC 2015 - freitag@opensuse.org + +- Fixed source download link. + +------------------------------------------------------------------- +Fri Jun 5 07:15:04 UTC 2015 - kkaempf@suse.com + +- Update to 3.2.0 + * Added proportional underlining specific to font sizes, set via + the `underlineProportion` attribute of ParagraphStyles. + * TrueType fonts: added support for cmaps 10 & 13 + * DocTemplate class now supports a boolean `displayDocTitle` argument. + * TableofContents now supports a formatter argument to allow + formatting of the displayed page numbers (eg for appendices etc). + * Table `repeatRows` can now be a tuple of row numbers to allow + incomplete ranges of rows to be repeated. + * Tables now do pass instance.`spaceBefore` & `spaceAfter` to + their split children when split + * Several strangenesses were fixed in the pdfbase.pdfform module; + Multiple usage is now allowed. + * Error message fixes + * Various environment fixes for Google Application Environment + * Resource fixes + * PDFDoc can now set the `Lang` attribute + * canvas.drawString and similar now allow the character spacing + to be set + * Index of accented stuff has been improved + * RTL code was improved + * fix Propertyset.clone + * `flowables.py`: fix ImageAndFlowables so it avoids testing + negative availableWidth + +------------------------------------------------------------------- +Fri Jun 5 07:15:03 UTC 2015 - kkaempf@suse.com + +- Update to 3.1 + * support for emoji + * improved pip-based installers + +------------------------------------------------------------------- +Fri Jun 5 07:15:02 UTC 2015 - kkaempf@suse.com + +- Update to 3.0 + * ReportLab 3.0 now supports Python 2.7, 3.3 and higher. + * There has been a substantial internal rewrite to ensure + consistent use of unicode strings for natural-language text, + and of bytes for all file format internals. + * Python 3.x compatibility + * New features + - Add ability to output greyscale and 1-bit PIL images without + conversion to RGB. (contributed by Matthew Duggan) + - highlight annotation (contributed by Ben Echols) + * Other + - numerous very minor fixes, visible through BitBucket. + +------------------------------------------------------------------- +Sun Nov 24 18:38:52 UTC 2013 - kkaempf@suse.com + +- Update to version 2.7 + * Charts / graphics enhancements + - Added SimpleTimeSeriesPlot + - added _computeMaxSpace + - added in lineStyle (for bars) + - improved SVG rendering + - Pie Chart now has an `innerRadiusFraction` to allow doughnut-like + appearance for 2d charts + * Charts/graphics bug fixes + - piecharts.py: fix Pie3d __init__ to call its superclass + - linecharts.py: fix swatch creation + - fixed `y` axis in the simple time series plot + * PDF + - Fixes to testshapes & pdfform resetting + - colors.py + - various minor fixes + * Platypus + - Defined a small bullet rather than a big circle as the default for unordered lists + - fixed attribute spelling bug + - fixed CJK + endDots + ------------------------------------------------------------------- Sun Nov 24 18:38:51 UTC 2013 - p.drouand@gmail.com diff --git a/python-reportlab.spec b/python-reportlab.spec index 940878b..50b2b0d 100644 --- a/python-reportlab.spec +++ b/python-reportlab.spec @@ -1,7 +1,7 @@ # # spec file for package python-reportlab # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -15,15 +15,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define modname reportlab Name: python-%{modname} -Version: 2.7 +Version: 3.2.0 Release: 0 Url: http://www.reportlab.com/ Summary: The Reportlab Toolkit -License: BSD-2-Clause +License: BSD-3-Clause Group: Development/Languages/Python -Source: http://www.reportlab.com/ftp/%{modname}-%{version}.tar.gz +Source: https://pypi.python.org/packages/source/r/reportlab/reportlab-%{version}.tar.gz Patch0: reportlab-missing-includes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: freetype2-devel @@ -45,7 +46,7 @@ The ReportLab Toolkit. An Open Source Python library for generating PDFs and gra %prep %setup -q -n %{modname}-%{version} %patch0 -sed -i "1d" src/reportlab/lib/{formatters,fonts,set_ops,corp,units,pagesizes,__init__,randomtext,logger,normalDate}.py +sed -i "1d" src/reportlab/lib/{formatters,fonts,corp,units,pagesizes,__init__,randomtext,logger,normalDate}.py sed -i "1d" src/reportlab/graphics/{widgets/table,barcode/test,testdrawings,testshapes}.py # Fix non-executable bits %build @@ -59,11 +60,12 @@ python setup.py tests %files %defattr(-,root,root,-) -%doc CHANGES.txt README.txt -%{python_sitearch}/_renderPM.so -%{python_sitearch}/_rl_accel.so -%{python_sitearch}/pyHnj.so -%{python_sitearch}/sgmlop.so +%if 0%{?suse_version} > 1315 +%license LICENSE.txt +%else +%doc LICENSE.txt +%endif +%doc CHANGES.md README.txt %{python_sitearch}/%{modname}/ %{python_sitearch}/%{modname}-%{version}-py%{py_ver}.egg-info diff --git a/reportlab-2.7.tar.gz b/reportlab-2.7.tar.gz deleted file mode 100644 index 9b52a4c..0000000 --- a/reportlab-2.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:82b56935e4a75641b40eb22050f0b6e46a0f0a9ebfacdf3b24a1e9c0eef2af6d -size 1951460 diff --git a/reportlab-3.2.0.tar.gz b/reportlab-3.2.0.tar.gz new file mode 100644 index 0000000..781da0f --- /dev/null +++ b/reportlab-3.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:72e687662bd854776407b9108483561831b45546d935df8b0477708199086293 +size 1948090