From owner-freebsd-python@FreeBSD.ORG Mon Oct 1 18:11:38 2012 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 09DCF106566B; Mon, 1 Oct 2012 18:11:38 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.31.41]) by mx1.freebsd.org (Postfix) with ESMTP id 8CBC28FC20; Mon, 1 Oct 2012 18:11:37 +0000 (UTC) Received: from [89.182.27.113] (helo=localhost) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1TIkHR-0004rS-2M; Mon, 01 Oct 2012 19:59:45 +0200 Date: Mon, 1 Oct 2012 20:03:41 +0200 From: Marcus von Appen To: Li-Wen Hsu , freebsd-python@freebsd.org Message-ID: <20121001180341.GA27664@medusa.sysfault.org> Mail-Followup-To: Li-Wen Hsu , freebsd-python@freebsd.org References: <50698A96.4000301@yandex.ru> <20121001161037.Horde.w6rVCKGZi1VQaaRdcWmiv-A@webmail.df.eu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Df-Sender: MTEyNTc0Mg== Cc: Subject: Re: Python distribution: switching to tar.xz X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcus von Appen List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2012 18:11:38 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On, Mon Oct 01, 2012, Li-Wen Hsu wrote: > On Mon, Oct 1, 2012 at 10:10 PM, Marcus von Appen wrote: > > > > 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} > > > > I'm not sure introducing ${PYTHON_IMPLTYPE} is a good idea... but it > might be good to > change hard-coded .tgz: [...] PYTHON_IMPLTYPE was not meant seriously. However, I would love to have PyPy as some default Python choice at some point in the future, with all the oddities, incompatibilies and pitfalls for 3rd party packages. Hence moving the DISTFILE out of bsd.python.mk might not be all that bad. Cheers Marcus --17pEHd4RhPHOinZp Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlBp2v0ACgkQi68/ErJnpkcZhACfaarJbGEEnHx0rLxXDQAn5SQi 6E4AoMoPgV1WpfC0uFoGWXOjthacm2/1 =CXfD -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--