Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2012 04:06:38 +0000 (UTC)
From:      Ruslan Mahmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305181 - in head: Mk databases/py-bsddb databases/py-gdbm databases/py-sqlite3 lang/python26 lang/python27 lang/python31 lang/python32 x11-toolkits/py-tkinter
Message-ID:  <201210030406.q9346cWu058134@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Wed Oct  3 04:06:37 2012
New Revision: 305181
URL: http://svn.freebsd.org/changeset/ports/305181

Log:
  - do not hardcode distfile extension for lang/python ports in bsd.python.mk
    (PYTHON_DISTFILE variable)
  - switch lang/python ports (and it's slaves) to tar.xz
  
  I compared all the four pairs .tgz/.tar.xz and they have no content differences.
  
  Discussed on:	python@

Modified:
  head/Mk/bsd.python.mk
  head/databases/py-bsddb/Makefile
  head/databases/py-gdbm/Makefile
  head/databases/py-sqlite3/Makefile
  head/lang/python26/Makefile
  head/lang/python26/distinfo
  head/lang/python27/Makefile
  head/lang/python27/distinfo
  head/lang/python31/Makefile
  head/lang/python31/distinfo
  head/lang/python32/Makefile
  head/lang/python32/distinfo
  head/x11-toolkits/py-tkinter/Makefile

Modified: head/Mk/bsd.python.mk
==============================================================================
--- head/Mk/bsd.python.mk	Wed Oct  3 01:15:48 2012	(r305180)
+++ head/Mk/bsd.python.mk	Wed Oct  3 04:06:37 2012	(r305181)
@@ -414,7 +414,7 @@ check-makevars::
 
 PYTHON_MASTER_SITES=		${MASTER_SITE_PYTHON}
 PYTHON_MASTER_SITE_SUBDIR=	ftp/python/${PYTHON_PORTVERSION:C/rc[0-9]//}
-PYTHON_DISTFILE=			Python-${PYTHON_PORTVERSION:S/.rc/rc/}.tgz
+PYTHON_DISTFILE=		Python-${PYTHON_PORTVERSION:S/.rc/rc/}${EXTRACT_SUFX}
 PYTHON_WRKSRC=				${WRKDIR}/Python-${PYTHON_PORTVERSION:S/.rc/rc/}
 
 PYTHON_ABIVER?=			# empty

Modified: head/databases/py-bsddb/Makefile
==============================================================================
--- head/databases/py-bsddb/Makefile	Wed Oct  3 01:15:48 2012	(r305180)
+++ head/databases/py-bsddb/Makefile	Wed Oct  3 04:06:37 2012	(r305181)
@@ -20,6 +20,7 @@ COMMENT=	Python bindings to the Berkeley
 USE_BDB=	yes
 USE_PYTHON?=	yes
 USE_PYDISTUTILS=yes
+USE_XZ=		yes
 PYDISTUTILS_PKGNAME=	_bsddb
 PYDISTUTILS_PKGVERSION=	0.0.0
 DIST_SUBDIR=	python

Modified: head/databases/py-gdbm/Makefile
==============================================================================
--- head/databases/py-gdbm/Makefile	Wed Oct  3 01:15:48 2012	(r305180)
+++ head/databases/py-gdbm/Makefile	Wed Oct  3 04:06:37 2012	(r305181)
@@ -23,6 +23,7 @@ PLIST_FILES=	%%PYTHON_SITELIBDIR%%/gdbm.
 DIST_SUBDIR=	python
 USE_PYTHON=	yes
 USE_PYDISTUTILS=yes
+USE_XZ=		yes
 PYDISTUTILS_PKGVERSION=	0.0.0
 WRKSRC=		${PYTHON_WRKSRC}/Modules
 DISTINFO_FILE=	${PORTSDIR}/lang/python${PYTHON_SUFFIX}/distinfo

Modified: head/databases/py-sqlite3/Makefile
==============================================================================
--- head/databases/py-sqlite3/Makefile	Wed Oct  3 01:15:48 2012	(r305180)
+++ head/databases/py-sqlite3/Makefile	Wed Oct  3 04:06:37 2012	(r305181)
@@ -23,6 +23,7 @@ PLIST_FILES=	%%PYTHON_SITELIBDIR%%/_sqli
 DIST_SUBDIR=	python
 USE_PYTHON=	2.5+
 USE_PYDISTUTILS=yes
+USE_XZ=		yes
 WRKSRC=		${PYTHON_WRKSRC}/Modules
 DISTINFO_FILE=	${PORTSDIR}/lang/python${PYTHON_SUFFIX}/distinfo
 

Modified: head/lang/python26/Makefile
==============================================================================
--- head/lang/python26/Makefile	Wed Oct  3 01:15:48 2012	(r305180)
+++ head/lang/python26/Makefile	Wed Oct  3 04:06:37 2012	(r305181)
@@ -29,6 +29,7 @@ INSTALL_TARGET=	altinstall
 MAN1=		${PYTHON_VERSION}.1
 
 USE_PYTHON=	yes
+USE_XZ=		yes
 PYTHON_VERSION=	python2.6
 PYTHON_NO_DEPENDS=	yes
 

Modified: head/lang/python26/distinfo
==============================================================================
--- head/lang/python26/distinfo	Wed Oct  3 01:15:48 2012	(r305180)
+++ head/lang/python26/distinfo	Wed Oct  3 04:06:37 2012	(r305181)
@@ -1,2 +1,2 @@
-SHA256 (python/Python-2.6.8.tgz) = 5bf02a75ffa2fcaa5a3cabb8201998519b045541975622316888ea468d9512f7
-SIZE (python/Python-2.6.8.tgz) = 13282574
+SHA256 (python/Python-2.6.8.tar.xz) = 39c5fd7c66d57a09e739605e64a4bba7552e1a094dd4ce062a207095011b80ac
+SIZE (python/Python-2.6.8.tar.xz) = 9331140

Modified: head/lang/python27/Makefile
==============================================================================
--- head/lang/python27/Makefile	Wed Oct  3 01:15:48 2012	(r305180)
+++ head/lang/python27/Makefile	Wed Oct  3 04:06:37 2012	(r305181)
@@ -29,6 +29,7 @@ INSTALL_TARGET=	altinstall
 MAN1=		${PYTHON_VERSION}.1
 
 USE_PYTHON=	yes
+USE_XZ=		yes
 PYTHON_VERSION=	python2.7
 PYTHON_NO_DEPENDS=	yes
 

Modified: head/lang/python27/distinfo
==============================================================================
--- head/lang/python27/distinfo	Wed Oct  3 01:15:48 2012	(r305180)
+++ head/lang/python27/distinfo	Wed Oct  3 04:06:37 2012	(r305181)
@@ -1,2 +1,2 @@
-SHA256 (python/Python-2.7.3.tgz) = d4c20f2b5faf95999fd5fecb3f7d32071b0820516224a6d2b72932ab47a1cb8e
-SIZE (python/Python-2.7.3.tgz) = 14135620
+SHA256 (python/Python-2.7.3.tar.xz) = 61d36be58e9e9c733c49d7b76858d5c08e2c63a84f2066b29d35d3521057c985
+SIZE (python/Python-2.7.3.tar.xz) = 9976088

Modified: head/lang/python31/Makefile
==============================================================================
--- head/lang/python31/Makefile	Wed Oct  3 01:15:48 2012	(r305180)
+++ head/lang/python31/Makefile	Wed Oct  3 04:06:37 2012	(r305181)
@@ -29,6 +29,7 @@ INSTALL_TARGET=	altinstall
 MAN1=		${PYTHON_VERSION}.1
 
 USE_PYTHON=	yes
+USE_XZ=		yes
 PYTHON_VERSION=	python3.1
 PYTHON_NO_DEPENDS=	yes
 

Modified: head/lang/python31/distinfo
==============================================================================
--- head/lang/python31/distinfo	Wed Oct  3 01:15:48 2012	(r305180)
+++ head/lang/python31/distinfo	Wed Oct  3 04:06:37 2012	(r305181)
@@ -1,2 +1,2 @@
-SHA256 (python/Python-3.1.5.tgz) = d12dae6d06f52ef6bf1271db4d5b4d14b5dd39813e324314e72b648ef1bc0103
-SIZE (python/Python-3.1.5.tgz) = 11798798
+SHA256 (python/Python-3.1.5.tar.xz) = 035c4370354d901924ce0fd8df65c5452839f590ec1b9c17fae2ada3e5f3b4d7
+SIZE (python/Python-3.1.5.tar.xz) = 8189536

Modified: head/lang/python32/Makefile
==============================================================================
--- head/lang/python32/Makefile	Wed Oct  3 01:15:48 2012	(r305180)
+++ head/lang/python32/Makefile	Wed Oct  3 04:06:37 2012	(r305181)
@@ -29,6 +29,7 @@ INSTALL_TARGET=	altinstall
 MAN1=		${PYTHON_VERSION}.1
 
 USE_PYTHON=	yes
+USE_XZ=		yes
 PYTHON_VERSION=	python3.2
 PYTHON_NO_DEPENDS=	yes
 

Modified: head/lang/python32/distinfo
==============================================================================
--- head/lang/python32/distinfo	Wed Oct  3 01:15:48 2012	(r305180)
+++ head/lang/python32/distinfo	Wed Oct  3 04:06:37 2012	(r305181)
@@ -1,2 +1,2 @@
-SHA256 (python/Python-3.2.3.tgz) = 74c33e165edef7532cef95fd9a325a06878b5bfc8a5d038161573f283eaf9809
-SIZE (python/Python-3.2.3.tgz) = 12787688
+SHA256 (python/Python-3.2.3.tar.xz) = 23c16f621f21e54987079765c060196cbe50235c7867147c6126d433054b1754
+SIZE (python/Python-3.2.3.tar.xz) = 8970368

Modified: head/x11-toolkits/py-tkinter/Makefile
==============================================================================
--- head/x11-toolkits/py-tkinter/Makefile	Wed Oct  3 01:15:48 2012	(r305180)
+++ head/x11-toolkits/py-tkinter/Makefile	Wed Oct  3 04:06:37 2012	(r305181)
@@ -21,6 +21,7 @@ DIST_SUBDIR=	python
 PLIST_FILES=	%%PYTHON_SITELIBDIR%%/_tkinter.so
 USE_PYTHON=	yes
 USE_PYDISTUTILS=yes
+USE_XZ=		yes
 PYDISTUTILS_PKGNAME=	Tkinter
 PYDISTUTILS_PKGVERSION=	0.0.0
 USE_TK=	82+



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