Bug 215201

Summary: [PATCH] www/py-pelican: build fails on RUN_DEPENDS non-default python
Product: Ports & Packages Reporter: John W. O'Brien <john>
Component: Individual Port(s)Assignee: Julien Laffaye <jlaffaye>
Status: Closed FIXED    
Severity: Affects Only Me CC: demon
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (jlaffaye)
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 216585    
Attachments:
Description Flags
www/py-pelican: Fix RUN_DEPENDS on textproc/py-docutils john: maintainer-approval?

Description John W. O'Brien 2016-12-10 21:10:54 UTC
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.

QA:

*   portlint: OK
*   poudirere: OK on 10.3R amd64 with py27 (default), py34 (non-default), and py35 (non-default)
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-02-05 09:04:34 UTC
A commit references this bug:

Author: demon
Date: Sun Feb  5 09:03:41 UTC 2017
New revision: 433387
URL: https://svnweb.freebsd.org/changeset/ports/433387

Log:
  Use python-version-specific dependencies so they work as expected with
  non-default python.

  PR:		215201
  Submitted by:	John W. O'Brien <john@saltant.com>
  Maintainer timeout.

Changes:
  head/www/py-pelican/Makefile