#1 Correct egg-info dependency info.
Merged 5 years ago by williamjmorenor. Opened 5 years ago by qulogic.
Unknown source fix-deps  into  master

@@ -0,0 +1,19 @@

+ # HG changeset patch

+ # User robin <robin@reportlab.com>

+ # Date 1495525707 -3600

+ # Node ID 0fbf25e4857423f6a38ca7f5aeee1c84acaa3fc1

+ # Parent  0f6004ec2916b76cfbd0444de6f551bcb1949781

+ fix bitbucket issue 113

+ 

+ diff --git a/setup.py b/setup.py

+ --- a/setup.py

+ +++ b/setup.py

+ @@ -539,7 +539,7 @@

+                  ],

+              

+              #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 #########')

file modified
+7 -2
@@ -3,11 +3,13 @@

  

  Name:           python-%{pypi}

  Version:        3.4.0

- Release:        7%{?dist}

+ Release:        8%{?dist}

  Summary:        Library for generating PDFs and graphics

  License:        BSD

  URL:            http://www.reportlab.org/

  Source0:        https://pypi.python.org/packages/source/r/%{pypi}/%{pypi}-%{version}.tar.gz

+ # https://bitbucket.org/rptlab/reportlab/commits/0fbf25e4857423f6a38ca7f5aeee1c84acaa3fc1

+ Patch0001:      0fbf25e4857423f6a38ca7f5aeee1c84acaa3fc1.patch

  

  %package -n     python2-%{pypi}

  Summary:        Library for generating PDFs and graphics
@@ -56,7 +58,7 @@

  Contains the documentation for ReportLab.

  

  %prep

- %setup -qn reportlab-%{version}

+ %autosetup -n reportlab-%{version} -p1

  # clean up hashbangs from libraries

  find src -name '*.py' | xargs sed -i -e '/^#!\//d'

  # patch the CMap path by adding Fedora ghostscript path before the match
@@ -106,6 +108,9 @@

  #%doc docs/*.pdf

  

  %changelog

+ * Thu Aug 23 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.4.0-8

+ - Correct egg-info dependency information

+ 

  * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0-7

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

  

Both pip and setuptools are not really needed, and are not listed in the RPM's Requires. This makes reportlab unusable with downstream packaging if pip and setuptools are not otherwise installed.

Pull-Request has been merged by williamjmorenor

5 years ago