Bug 215201 - [PATCH] www/py-pelican: build fails on RUN_DEPENDS non-default python
Summary: [PATCH] www/py-pelican: build fails on RUN_DEPENDS non-default python
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Julien Laffaye
URL:
Keywords: patch
Depends on:
Blocks: 216585
  Show dependency treegraph
 
Reported: 2016-12-10 21:10 UTC by John W. O'Brien
Modified: 2017-02-05 09:04 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (jlaffaye)


Attachments
www/py-pelican: Fix RUN_DEPENDS on textproc/py-docutils (552 bytes, patch)
2016-12-10 21:10 UTC, John W. O'Brien
john: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 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