Bug 116278 - [Patch]: bsd.python.mk - Fix PYDISTUTILS_EGGINFODIR for ports that use a PREFIX different from python's PREFIX
Summary: [Patch]: bsd.python.mk - Fix PYDISTUTILS_EGGINFODIR for ports that use a PREF...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Hye-Shik Chang
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-11 09:00 UTC by Marcus von Appen
Modified: 2007-10-07 15:00 UTC (History)
0 users

See Also:


Attachments
file.diff (560 bytes, patch)
2007-09-11 09:00 UTC, Marcus von Appen
no flags Details | Diff

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 2007-09-11 09:00:08 UTC
If a port uses a PREFIX different from the installation PREFIX of
lang/python25, the egg-info files are not recorded correctly within the
PLIST, if the port does not override PYDISTUTILS_EGGINFODIR within its
Makefile.

Fix: I am not entirely sure, if the following patch has negative
side-effect. I did not recognize one however.
How-To-Repeat: 
Try to install and deinstall devel/py-vmaps (or any other port that does
not set PYDISTUTILS_EGGINFODIR) with a PREFIX different from
lang/python25's:

install:
[...]
running install_egg_info
Writing /usr/local/ports/test/lib/python2.5/site-packages/Vmaps-1.0-py2.5.egg-info
[...]

deinstall:
[...]
===>   Deinstalling py25-vmaps-1.1
pkg_delete: file '/usr/local/ports/test//usr/local/lib/python2.5/site-packages/Vmaps-1.0-py2.5.egg-info' doesn't exist
[...]
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-09-11 13:10:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perky

bsd.python.mk is perky territory
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-10-07 14:50:26 UTC
perky       2007-10-07 13:50:16 UTC

  FreeBSD ports repository

  Modified files:
    Mk                   bsd.python.mk 
  Log:
  - Correct installation paths in plist for PREFIX != LOCALBASE [1]
  - Fix typo on comment about SZOPEBASEDIR and ZOPEBASEDIR [2]
  - Fix type on Zope 2.10 support [3]
  - Add a workaround for package building of ports using easy_install
    on jail environments [4]
  
  PR:             116278 [1], 116428 [2], 116520 [3]
  Submitted by:   Marcus von Appen <mva@sysfault.org> [1],
                  nakaji [2], Christian Ullrich <chris@chrullrich.net> [3]
  Reported by:    sat [4]
  
  Revision  Changes    Path
  1.100     +35 -7     ports/Mk/bsd.python.mk
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Hye-Shik Chang freebsd_committer freebsd_triage 2007-10-07 14:51:10 UTC
State Changed
From-To: open->closed

Committed. Thank you!