From owner-freebsd-python@FreeBSD.ORG Tue Jul 31 16:23:54 2007 Return-Path: <owner-freebsd-python@FreeBSD.ORG> Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E44D16A417 for <python@FreeBSD.org>; Tue, 31 Jul 2007 16:23:54 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [82.208.36.70]) by mx1.freebsd.org (Postfix) with ESMTP id EBF6813C45A for <python@FreeBSD.org>; Tue, 31 Jul 2007 16:23:53 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 9CC4319E053 for <python@FreeBSD.org>; Tue, 31 Jul 2007 18:05:34 +0200 (CEST) Received: from [192.168.1.2] (grimm.quip.cz [213.220.192.218]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTP id E568E19E02A for <python@FreeBSD.org>; Tue, 31 Jul 2007 18:05:31 +0200 (CEST) Message-ID: <46AF5DF2.8020100@quip.cz> Date: Tue, 31 Jul 2007 18:06:10 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: python@FreeBSD.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: lang/python - wrong usage of PORTUPGRADE variable X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python> List-Post: <mailto:freebsd-python@freebsd.org> List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 31 Jul 2007 16:23:54 -0000 Hi, there is a problem with lang/python/Makefile and usage of PORTUPGRADE variable, which is in conflict with portupgrade environment variable of the same name. I am using environment variable PORTUPGRADE according to portupgrade manpage (to set default options for portupgrade, eg: -b -e -p) This variable in Makefile should be renamed. I can not use `make upgrade-site-packages`, because it reteruns errors like this (i have portupgrade installed!): -------- | root@track python/# env | grep PORTUPGRADE | PORTUPGRADE=-b -e -p | | root@track python/# make upgrade-site-packages | [: -b: unexpected operator -------- or -------- | root@mule python/# env | grep PORTUPGRADE | PORTUPGRADE=-e | | root@mule python/# make upgrade-site-packages | Please install ports-mgmt/portupgrade. | *** Error code 1 | | Stop in /usr/ports/lang/python. -------- I expect, that upgrade of site packages should work with default options mentioned above (backup & make tbz packages in directory defined by env variable PACKAGES, or any other options from PORTUPGRADE env variable) Please CC me, I am not subscribed. Miroslav Lachman PS: I did `grep -rsn "PORTUPGRADE" /usr/ports` and lang/python is only one port using this "wrong" variable.