Bug 149584

Summary: [PATCH] devel/py-kid: Fix incorrect dependency list with Python 2.4
Product: Ports & Packages Reporter: Greg Larkin <glarkin>
Component: Individual Port(s)Assignee: Nicola Vitale <nivit>
Status: Closed FIXED    
Severity: Affects Only Me CC: nivit
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
py25-kid-0.9.6_1.patch none

Description Greg Larkin freebsd_committer freebsd_triage 2010-08-12 19:10:01 UTC
py-kid fails to install py24-setuptools when installed with Python 2.4
selected:

make PYTHON_VERSION=python2.4 PYTHON_DEFAULT_VERSION=python2.4 install

This is caused because BUILD_DEPENDS and RUN_DEPENDS are reset in the
Makefile, instead of appending the dependency values on the rhs. The
dependencies inserted by bsd.python.mk are lost in this case.

Deinstallation can fail like so:

===>  Deinstalling for devel/py-kid
===>   Deinstalling py24-kid-0.9.6_1
/usr/local/bin/easy_install-2.4: not found
pkg_delete: unexec command for '/usr/local/bin/easy_install-2.4 -q -m -S /usr/local/lib/python2.4/site-packages  -d /usr/local/lib/python2.4/site-packages  -s /usr/local/bin  kid==0.9.6' failed
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)

The attached patch fixes the problem and removes a portlint warning.

Port maintainer (nivit@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-08-12 19:13:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nivit

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Nicola Vitale freebsd_committer freebsd_triage 2010-08-15 09:17:43 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-08-15 09:18:20 UTC
nivit       2010-08-15 08:17:17 UTC

  FreeBSD ports repository

  Modified files:
    devel/py-kid         Makefile 
  Log:
  - Fix dependencies when PYTHON_REL < 250
  
  PR:             ports/149584
  Submitted by:   glarkin
  
  Revision  Changes    Path
  1.11      +3 -3      ports/devel/py-kid/Makefile
_______________________________________________
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"