From owner-freebsd-python@FreeBSD.ORG Mon Oct 1 14:10:45 2012 Return-Path: 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 35F1E1065695 for ; Mon, 1 Oct 2012 14:10:45 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.31.38]) by mx1.freebsd.org (Postfix) with ESMTP id E80598FC14 for ; Mon, 1 Oct 2012 14:10:44 +0000 (UTC) Received: from [80.67.16.112] (helo=webmailfront01.ispgateway.de) by smtprelay04.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1TIghh-0008KK-G0 for python@FreeBSD.org; Mon, 01 Oct 2012 16:10:37 +0200 Received: from his1.his.de (his1.his.de [192.124.237.237]) by webmail.df.eu (Horde Framework) with HTTP; Mon, 01 Oct 2012 16:10:37 +0200 Date: Mon, 01 Oct 2012 16:10:37 +0200 Message-ID: <20121001161037.Horde.w6rVCKGZi1VQaaRdcWmiv-A@webmail.df.eu> From: Marcus von Appen To: python References: <50698A96.4000301@yandex.ru> In-Reply-To: <50698A96.4000301@yandex.ru> User-Agent: Internet Messaging Program (IMP) H4 (5.0.19) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-Df-Sender: ZnJlZWJzZEBzeXNmYXVsdC5vcmc= Cc: Subject: Re: Python distribution: switching to tar.xz X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2012 14:10:45 -0000 Ruslan Mahmatkhanov : > Hello, > > The python.org ftp provides lang/pythonXX source tarballs in a many formats: > - tar.bz2 > - tar.xz > - tgz > > Using .tgz is not in sports-way this days, so I'd prefer to use > tar.xz for new versions. But I can't actually choose there because > tarball format is hardcoded in Mk/bsd.python.mk as PYTHON_DISTFILE > variable: > > PYTHON_DISTFILE= Python-${PYTHON_PORTVERSION:S/.rc/rc/}.tgz > > And in particular python port we have this: > > DISTFILES= ${PYTHON_DISTFILE} > > Since I can't just choose tar.xz for some new python33 port, I > suggest to change PYTHON_DISTFILE to use tar.xz and to change all > the distinfos for lang/pythonXX (with changing SHA256/SIZE fields). > What do you think? I would rather see PYTHON_DISTFILE removed from bsd.python.mk and being moved back to the individual ports instead. Or, to stay compatible for whatever reason, change it to PYTHON_DISTFILE?= ..., so ports can override it. Or, even better in making things complicated, change it to PYTHON_DISTFILE = ${PYTHON_IMPLTYPE}_${PORTVERSION}${EXTRACT_SUFX} ;-) Cheers Marcus