Bug 226439 - devel/bmake: spurious Python 2 explicit dependency
Summary: devel/bmake: spurious Python 2 explicit dependency
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Mikolaj Golub
Depends on:
Reported: 2018-03-08 02:28 UTC by Phil Pennock
Modified: 2018-03-26 05:48 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Phil Pennock 2018-03-08 02:28:02 UTC
The Makefile for devel/bmake has `USES= python:2.7,build shebangfix`

The only Python file within the source tarball was converted to be ready for Python3 on 2013-12-12, per the ChangeLog file.

By locally setting the USES to just refer to `python:build` instead of `python:2.7/build`, I am able to successfully (poudriere) build a bmake package, using `python36-3.6.4` as the python dependency, and the resulting package has been successfully used within poudriere to build `textproc/dict` and `net/dictd`
Comment 1 commit-hook freebsd_committer 2018-03-11 21:06:08 UTC
A commit references this bug:

Author: trociny
Date: Sun Mar 11 21:06:02 UTC 2018
New revision: 464209
URL: https://svnweb.freebsd.org/changeset/ports/464209

  * Update to 20180222.
  * Use mk included to bmake dist.
  * Remove python build dependency. It was here just to fix
    the shebang in the installed meta2deps.py, which is not
    necessary because META2DEPS_CMD is defined in mk files as
    `${PYTHON} meta2deps.py` (if python is installed).

  PR:		226439