From owner-freebsd-ports@FreeBSD.ORG Thu Feb 20 08:15:02 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 46DE867B; Thu, 20 Feb 2014 08:15:02 +0000 (UTC) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.31.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 01E381140; Thu, 20 Feb 2014 08:15:01 +0000 (UTC) Received: from [80.67.16.112] (helo=webmailfront02.ispgateway.de) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1WGOec-0001Pd-80; Thu, 20 Feb 2014 09:06:46 +0100 Received: from his1.his.de (his1.his.de [192.124.237.237]) by webmail.df.eu (Horde Framework) with HTTP; Thu, 20 Feb 2014 09:06:46 +0100 Date: Thu, 20 Feb 2014 09:06:46 +0100 Message-ID: <20140220090646.Horde.qZ-Zk2-10ldWyYYsdb3nIg2@webmail.df.eu> From: Marcus von Appen To: Lev Serebryakov Subject: Re: What should be in scripts shebangs for python2? References: <254945186.20140219190201@serebryakov.spb.ru> <20140219165500.Horde.vg_cyo2bAuxp6Rlju1rQeQ1@webmail.df.eu> <607902872.20140220111424@serebryakov.spb.ru> In-Reply-To: <607902872.20140220111424@serebryakov.spb.ru> User-Agent: Internet Messaging Program (IMP) H5 (6.0.4) Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Df-Sender: ZnJlZWJzZEBzeXNmYXVsdC5vcmc= Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: mva@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Feb 2014 08:15:02 -0000 Lev Serebryakov : > Hello, Marcus. > You wrote 19 февраля 2014 г., 19:55:00: > > > MvA> In short: > MvA> * Use ${PYTHON_CMD} to replace the shebang lines or references of the > MvA> python command > So, it is not possible to use "static" patch? It is pity :( It should be avoided, if possible. Especially, when it is a shebang line, since we have a quite powerful mechanism to replace shebangs with minimal effort. > MvA> * Use the proper supported python version (yes for any, 2 or 3 for a > MvA> branch, X.Y for a release) > MvA> for USE_PYTHON_BUILD > I've hoped, that USE_PYTHON_BUILD=2 guarantee me, that here is > /usr/local/bin/python2 in system, but looks like it depends on something > else. No, USE_PYTHON_BUILD=2 should provide lang/python2, which will install /usr/local/bin/python2. This works for many ports, so I have no idea, what's wrong with your port. Do you mind to send me a shar of the port, so I can have a look? [...] Cheers Marcus