From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Aug 12 18:10:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F4901065693 for ; Thu, 12 Aug 2010 18:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 307208FC23 for ; Thu, 12 Aug 2010 18:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7CIA29c060930 for ; Thu, 12 Aug 2010 18:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7CIA2bF060929; Thu, 12 Aug 2010 18:10:02 GMT (envelope-from gnats) Resent-Date: Thu, 12 Aug 2010 18:10:02 GMT Resent-Message-Id: <201008121810.o7CIA2bF060929@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Greg Larkin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBE0C1065693 for ; Thu, 12 Aug 2010 18:08:40 +0000 (UTC) (envelope-from glarkin@sourcehosting.net) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 942AF8FC14 for ; Thu, 12 Aug 2010 18:08:40 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1OjcCe-000143-QR; Thu, 12 Aug 2010 14:08:39 -0400 Received: from fbsd70.entropy.prv (fbsd70.entropy.prv [192.168.1.14]) by cube.entropy.prv (Postfix) with ESMTP id 53DD04394D04; Thu, 12 Aug 2010 14:08:33 -0400 (EDT) Received: from fbsd70.entropy.prv (localhost [127.0.0.1]) by fbsd70.entropy.prv (8.14.2/8.14.2) with ESMTP id o7CI8W1E001162; Thu, 12 Aug 2010 14:08:32 -0400 (EDT) (envelope-from glarkin@fbsd70.entropy.prv) Received: (from glarkin@localhost) by fbsd70.entropy.prv (8.14.2/8.14.2/Submit) id o7CI8WNE001161; Thu, 12 Aug 2010 14:08:32 -0400 (EDT) (envelope-from glarkin) Message-Id: <201008121808.o7CI8WNE001161@fbsd70.entropy.prv> Date: Thu, 12 Aug 2010 14:08:32 -0400 (EDT) From: Greg Larkin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: nivit@FreeBSD.org Subject: ports/149584: [PATCH] devel/py-kid: Fix incorrect dependency list with Python 2.4 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2010 18:10:02 -0000 >Number: 149584 >Category: ports >Synopsis: [PATCH] devel/py-kid: Fix incorrect dependency list with Python 2.4 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Aug 12 18:10:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Greg Larkin >Release: FreeBSD 7.0-RELEASE i386 >Organization: The FreeBSD Project >Environment: System: FreeBSD fbsd70.entropy.prv 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 >Description: 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 >How-To-Repeat: >Fix: --- py25-kid-0.9.6_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/py-kid/Makefile,v retrieving revision 1.10 diff -u -u -r1.10 Makefile --- Makefile 4 Jun 2009 21:41:22 -0000 1.10 +++ Makefile 12 Aug 2010 18:04:38 -0000 @@ -37,9 +37,9 @@ .include -.if $(PYTHON_REL) < 250 -BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree -RUN_DEPENDS= ${BUILD_DEPENDS} +.if ${PYTHON_REL} < 250 +BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree +RUN_DEPENDS+= ${BUILD_DEPENDS} .endif .include --- py25-kid-0.9.6_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: