commit python-reportlab for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package python-reportlab for openSUSE:Factory checked in at 2017-04-28 10:42:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-reportlab (Old) and /work/SRC/openSUSE:Factory/.python-reportlab.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-reportlab" Fri Apr 28 10:42:37 2017 rev:16 rq:489460 version:3.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-reportlab/python-reportlab.changes 2016-04-22 16:23:40.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-reportlab.new/python-reportlab.changes 2017-04-28 10:42:38.337391245 +0200 @@ -1,0 +2,16 @@ +Wed Apr 19 20:33:58 UTC 2017 - toddrme2178@gmail.com + +- Update to 3.4.0 + * We now support SVG as a format for embedded vector graphics. + * The <barCodeFlowable> and <barCode> tags now support additional + encodings. + * We have considerably expanded our support for fillable forms + within PDF files. The <textField> tag has many more attributes + <checkboxField>, <radioField>, <choiceField> & <listboxField> + which along with the new <textField> make possible PDF forms. + * The <ul> & <ol> tags now support automatic style change for the + start/type parameter, by using a space separated list fo start + values +- Implement single-spec version + +------------------------------------------------------------------- Old: ---- reportlab-3.2.0.tar.gz New: ---- reportlab-3.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-reportlab.spec ++++++ --- /var/tmp/diff_new_pack.kaPFwM/_old 2017-04-28 10:42:41.588931655 +0200 +++ /var/tmp/diff_new_pack.kaPFwM/_new 2017-04-28 10:42:41.592931089 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-reportlab # -# 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,57 +16,58 @@ # -%define modname reportlab -Name: python-%{modname} -Version: 3.2.0 +%bcond_without tests + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-reportlab +Version: 3.4.0 Release: 0 Url: http://www.reportlab.com/ Summary: The Reportlab Toolkit License: BSD-3-Clause Group: Development/Languages/Python -Source: https://pypi.python.org/packages/source/r/reportlab/reportlab-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/r/reportlab/reportlab-%{version}.tar.gz Patch0: reportlab-missing-includes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: freetype2-devel -BuildRequires: python-devel -BuildRequires: python-imaging -BuildRequires: python-xml -Requires: python-imaging +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module Pillow} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module xml} +Requires: python-Pillow Provides: python-ReportLab = %{version} Obsoletes: python-ReportLab < %{version} -%if 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -%else -%py_requires -%endif +%python_subpackages %description The ReportLab Toolkit. An Open Source Python library for generating PDFs and graphics. %prep -%setup -q -n %{modname}-%{version} +%setup -q -n reportlab-%{version} %patch0 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 -CFLAGS="%{optflags}" python setup.py build +export CFLAGS="%{optflags}" +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} +%if %{with tests} %check -python setup.py tests +%python_exec setup.py tests +%endif -%files +%files %{python_files} %defattr(-,root,root,-) -%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 +%{python_sitearch}/reportlab/ +%{python_sitearch}/reportlab-%{version}-py*.egg-info %changelog ++++++ reportlab-3.2.0.tar.gz -> reportlab-3.4.0.tar.gz ++++++ ++++ 12577 lines of diff (skipped)
participants (1)
-
root@hilbert.suse.de