Hello community, here is the log from the commit of package python-reportlab for openSUSE:Factory checked in at 2017-08-08 11:59:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-reportlab (Old) and /work/SRC/openSUSE:Factory/.python-reportlab.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-reportlab" Tue Aug 8 11:59:11 2017 rev:18 rq:512552 version:3.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-reportlab/python-reportlab.changes 2017-05-22 10:46:29.169348125 +0200 +++ /work/SRC/openSUSE:Factory/.python-reportlab.new/python-reportlab.changes 2017-08-08 11:59:16.243760647 +0200 @@ -1,0 +2,10 @@ +Tue Jul 25 14:45:47 UTC 2017 - jmate...@suse.com + +- drop-requirements.patch: do not list setuptools and pip in egg-info + as requirements + (fixes bsc#1049516, upstream issue https://bitbucket.org/rptlab/reportlab/issues/113 ) +- set LANG variable correctly to help with test suite + * note that test suite is broken, multiple tests fail and this does not stop build + * causes of failure are spurious though + +------------------------------------------------------------------- New: ---- drop-requirements.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-reportlab.spec ++++++ --- /var/tmp/diff_new_pack.QO1FFe/_old 2017-08-08 11:59:17.023650804 +0200 +++ /var/tmp/diff_new_pack.QO1FFe/_new 2017-08-08 11:59:17.039648550 +0200 @@ -29,14 +29,16 @@ Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/r/reportlab/reportlab-%{version}.tar.gz Patch0: reportlab-missing-includes.patch +# PATCH-FIX-UPSTREAM drop unneeded requirements https://bitbucket.org/rptlab/reportlab/issues/113 +Patch1: drop-requirements.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: freetype2-devel -BuildRequires: fdupes -BuildRequires: python-rpm-macros -BuildRequires: %{python_module devel} BuildRequires: %{python_module Pillow} +BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module xml} +BuildRequires: fdupes +BuildRequires: freetype2-devel +BuildRequires: python-rpm-macros Requires: python-Pillow %ifpython2 Obsoletes: %{oldpython}-ReportLab < %{version} @@ -54,6 +56,7 @@ %prep %setup -q -n reportlab-%{version} %patch0 +%patch1 -p1 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 @@ -67,6 +70,7 @@ %if %{with tests} %check +export LANG=en_US.UTF-8 %python_exec setup.py tests %endif ++++++ drop-requirements.patch ++++++ Index: reportlab-3.4.0/setup.py =================================================================== --- reportlab-3.4.0.orig/setup.py +++ reportlab-3.4.0/setup.py @@ -539,7 +539,7 @@ def main(): ], #this probably only works for setuptools, but distutils seems to ignore it - install_requires=['pillow>=2.4.0','pip>=1.4.1', 'setuptools>=2.2'], + install_requires=['pillow>=2.4.0'], ) print() print('########## SUMMARY INFO #########')