Created attachment 143581 [details] Proposed patch This was first sent to Phabricator (https://phabric.freebsd.org/D191), so trying here as well. When using the plist hack to add __pycache__ entries for Python >= 3.2.0, take @dirrmtry entries into account as well, otherwise if those directories happen to contain __pycache__ subdirectories the latter will not be removed.
Created attachment 143752 [details] Patch v2 Sync patch with the version in Phabricator, as updating the bug here seems to be the easiest way to trigger activity there...
A commit references this bug: Author: rakuco Date: Wed Jun 18 19:37:50 UTC 2014 New revision: 358308 URL: http://svnweb.freebsd.org/changeset/ports/358308 Log: PYTHON_PY3K_PLIST_HACK: Take @dirrmtry entries into account as well. When using the plist hack to add __pycache__ entries for Python >= 3.2.0, take @dirrmtry entries into account as well, otherwise if those directories happen to contain __pycache__ subdirectories the latter will not be removed. CR: D191 PR: 190847 Changes: head/Mk/bsd.python.mk
A commit references this bug: Author: rakuco Date: Sat Jun 21 16:48:02 UTC 2014 New revision: 358717 URL: http://svnweb.freebsd.org/changeset/ports/358717 Log: MFH: r358308 PYTHON_PY3K_PLIST_HACK: Take @dirrmtry entries into account as well. When using the plist hack to add __pycache__ entries for Python >= 3.2.0, take @dirrmtry entries into account as well, otherwise if those directories happen to contain __pycache__ subdirectories the latter will not be removed. CR: D191 PR: 190847 Approved by: portmgr (erwin) Changes: _U branches/2014Q2/ branches/2014Q2/Mk/bsd.python.mk