FS#33699 - [python2-rst2pdf] Depends on python2-pdfrw, which is not listed as dependency.

Attached to Project: Community Packages
Opened by Samantha Baldwin (Shardz) - Monday, 04 February 2013, 09:08 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 05 February 2013, 23:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
This package actually depends on python2-pdfrw, which is only available in AUR, and not marked as a dependency of python2-rst2pdf. If you install python2-rst2pdf and run 'rst2pdf' on an input file, you will receive the error below. Installing the latest version of python2-pdfrw from AUR makes this package work as expected.

Error:

Traceback (most recent call last):
File "/usr/bin/rst2pdf", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2803, in <module>
working_set.require(__requires__)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 696, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 594, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pdfrw


Additional info:
* Version 0.93-1

Steps to reproduce:
Make sure python2-pdfrw wasn't installed by anything else, install this package, run 'rst2pdf' on an RST file, and watch the error come forth.
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Tuesday, 05 February 2013, 23:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  The updated package will appear in [community] shortly.
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 05 February 2013, 23:02 GMT
Thanks for reporting.

Loading...