Bug 193885 - [exp-run] Normalize paths for python's autoplist feature
Summary: [exp-run] Normalize paths for python's autoplist feature
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Marcus von Appen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-24 09:06 UTC by Marcus von Appen
Modified: 2014-09-30 07:33 UTC (History)
1 user (show)

See Also:
mva: exp-run?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus von Appen freebsd_committer freebsd_triage 2014-09-24 09:06:58 UTC
An exp-run for https://reviews.freebsd.org/D812 is needed, which attempts to fix relative paths in the automatic plists from Python's autplist feature.
Comment 1 Marcus von Appen freebsd_committer freebsd_triage 2014-09-24 09:07:28 UTC
Over to portmgr@
Comment 2 Antoine Brodin freebsd_committer 2014-09-24 20:27:35 UTC
Take
Comment 3 Antoine Brodin freebsd_committer 2014-09-25 19:53:12 UTC
Exp-run results:  http://package18.nyi.freebsd.org/build.html?mastername=91amd64-default-D812&build=2014-09-24_23h57m47s

0 new failure when comparing with baseline
Comment 4 commit-hook freebsd_committer 2014-09-25 21:02:22 UTC
A commit references this bug:

Author: mva
Date: Thu Sep 25 21:01:57 UTC 2014
New revision: 369296
URL: http://svnweb.freebsd.org/changeset/ports/369296

Log:
  - Resolve relative paths, such as path/./file.py or path/../file.py for
    USE_PYTHON=autoplist, which can occur, if relative paths are set in a
    setup.py script. Those cause pkg and QA sanity checks to misbehave.
  - Remove @dirrm and @dirmmtry additions for USE_PYTHON=autoplist,
    USE_PYTHON=py3kplist and egg-info entries, if USES=python is set. pkg 1.3.8
    does not need those anymore.
  - Add ${PYTHON_VER} to the PLIST_SUB defaults, if USES=python is set.

  PR:		193885
  Differential Revision:	D812
  Reviewed by:	antoine@
  Exp-run by:	antoine@
  With hat:	python@

Changes:
  head/Mk/Uses/python.mk