Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Oct 2012 16:20:38 +0400
From:      Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To:        python <python@FreeBSD.org>
Subject:   Python distribution: switching to tar.xz
Message-ID:  <50698A96.4000301@yandex.ru>

next in thread | raw e-mail | index | archive | help

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?

Surely, I will compare the contents of current tgz with new tar.xz for 
the case, but does the whole idea is correct? May be it's more correct 
to not use ${PYTHON_DISTFILE} in first place? I'd prefer to change it in 
bsd.python.mk, but it will require to redownload the new tarballs.

-- 
Regards,
Ruslan

Tinderboxing kills... the drives.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50698A96.4000301>