Bug 149584 - [PATCH] devel/py-kid: Fix incorrect dependency list with Python 2.4
Summary: [PATCH] devel/py-kid: Fix incorrect dependency list with Python 2.4
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: Nicola Vitale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 19:10 UTC by Greg Larkin
Modified: 2010-08-15 09:20 UTC (History)
1 user (show)

See Also:


Attachments
py25-kid-0.9.6_1.patch (661 bytes, patch)
2010-08-12 19:10 UTC, Greg Larkin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Larkin freebsd_committer 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 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 2010-08-15 09:17:43 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer 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"