Created attachment 177857 [details]
www/py-pelican: Fix RUN_DEPENDS on textproc/py-docutils
www/py-pelican specifies its dependency on textproc/py-docutils by having ports check for the presence of the rst2html script. When built with a non-default version of python, textproc/py-docutils installs a version-qualified copy of the script (e.g. rst2html-3.4), and the dependency check fails even when textproc/py-docutils is available. Futhermore, www/py-pelican does not use the rst2html script.
The attached patch updates the dependency specification to seek the (dynamically versioned) package name instead. It does not bump PORTREVISION because this does not affect the default build nor change what is installed upon successful build.
* portlint: OK
* poudirere: OK on 10.3R amd64 with py27 (default), py34 (non-default), and py35 (non-default)
A commit references this bug:
Date: Sun Feb 5 09:03:41 UTC 2017
New revision: 433387
Use python-version-specific dependencies so they work as expected with
Submitted by: John W. O'Brien <email@example.com>