Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2013 08:57:35 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335871 - in head/lang: python26 python27 python33
Message-ID:  <201312080857.rB88vZ7N080936@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Sun Dec  8 08:57:34 2013
New Revision: 335871
URL: http://svnweb.freebsd.org/changeset/ports/335871

Log:
  Reduce diffs, sort sections & Add LICENSE for Python 2.6, 2.7 & 3.3
  
  - Sort USE_*, *_WRKSRC and CONFIGURE/MAKE sections
  - Whitespace alignment for readability
  - Add LICENSE (PSFL)
  
  Reviewed by:	milki

Modified:
  head/lang/python26/Makefile
  head/lang/python27/Makefile
  head/lang/python33/Makefile

Modified: head/lang/python26/Makefile
==============================================================================
--- head/lang/python26/Makefile	Sun Dec  8 08:06:34 2013	(r335870)
+++ head/lang/python26/Makefile	Sun Dec  8 08:57:34 2013	(r335871)
@@ -1,28 +1,31 @@
 # Created by: Hye-Shik Chang <perky@FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=	python26
-PORTVERSION=	2.6.9
-PORTREVISION=	1
-CATEGORIES=	lang python ipv6
-MASTER_SITES=	PYTHON
+PORTNAME=		python26
+PORTVERSION=		2.6.9
+PORTREVISION=		1
+CATEGORIES=		lang python ipv6
+MASTER_SITES=		PYTHON
 MASTER_SITE_SUBDIR=	${PYTHON_MASTER_SITE_SUBDIR}
-DISTFILES=	${PYTHON_DISTFILE}
+DISTFILES=		${PYTHON_DISTFILE}
+DIST_SUBDIR=		python
 
 MAINTAINER=	python@FreeBSD.org
 COMMENT=	Interpreted object-oriented programming language
 
+LICENSE=	PSFL
+
 LIB_DEPENDS=	libffi.so:${PORTSDIR}/devel/libffi
 
-DEPRECATED=	Python 2.6 is now end-of-life, please migrate to lang/python27
-EXPIRATION_DATE=2014-01-01
+DEPRECATED=		Python 2.6 is now end-of-life, please migrate to lang/python27
+EXPIRATION_DATE=	2014-01-01
 
-DIST_SUBDIR=	python
-GNU_CONFIGURE=	yes
+GNU_CONFIGURE=		yes
 CONFIGURE_SCRIPT=	../configure # must be relative
 CONFIGURE_ARGS=		--with-system-ffi
-CONFIGURE_ENV=	SVNVERSION="echo freebsd" ac_cv_opt_olimit_ok=no
-MAKE_ENV=	VPATH="${PYTHON_WRKSRC}"
+CONFIGURE_ENV=		SVNVERSION="echo freebsd" ac_cv_opt_olimit_ok=no
+MAKE_ENV=		VPATH="${PYTHON_WRKSRC}"
+
 INSTALL_TARGET=	altinstall
 MAN1=		${PYTHON_VERSION}.1
 

Modified: head/lang/python27/Makefile
==============================================================================
--- head/lang/python27/Makefile	Sun Dec  8 08:06:34 2013	(r335870)
+++ head/lang/python27/Makefile	Sun Dec  8 08:57:34 2013	(r335871)
@@ -7,15 +7,18 @@ CATEGORIES=	lang python ipv6
 MASTER_SITES=	PYTHON
 MASTER_SITE_SUBDIR=	${PYTHON_MASTER_SITE_SUBDIR}
 DISTFILES=	${PYTHON_DISTFILE}
+DIST_SUBDIR=	python
 
 MAINTAINER=	python@FreeBSD.org
 COMMENT=	Interpreted object-oriented programming language
 
-DIST_SUBDIR=	python
-GNU_CONFIGURE=	yes
+LICENSE=	PSFL
+
+GNU_CONFIGURE=		yes
 CONFIGURE_SCRIPT=	../configure # must be relative
-CONFIGURE_ENV=	SVNVERSION="echo freebsd" ac_cv_opt_olimit_ok=no
-MAKE_ENV=	VPATH="${PYTHON_WRKSRC}"
+CONFIGURE_ENV=		SVNVERSION="echo freebsd" ac_cv_opt_olimit_ok=no
+MAKE_ENV=		VPATH="${PYTHON_WRKSRC}"
+
 INSTALL_TARGET=	altinstall
 MAN1=		${PYTHON_VERSION}.1
 

Modified: head/lang/python33/Makefile
==============================================================================
--- head/lang/python33/Makefile	Sun Dec  8 08:06:34 2013	(r335870)
+++ head/lang/python33/Makefile	Sun Dec  8 08:57:34 2013	(r335871)
@@ -1,35 +1,40 @@
 # $FreeBSD$
 
-PORTNAME=	python33
-PORTVERSION=	3.3.3
-CATEGORIES=	lang python ipv6
-MASTER_SITES=	PYTHON
+PORTNAME=		python33
+PORTVERSION=		3.3.3
+CATEGORIES=		lang python ipv6
+MASTER_SITES=		PYTHON
 MASTER_SITE_SUBDIR=	${PYTHON_MASTER_SITE_SUBDIR}
-DISTFILES=	${PYTHON_DISTFILE}
+DISTFILES=		${PYTHON_DISTFILE}
+DIST_SUBDIR=		python
 
 MAINTAINER=	python@FreeBSD.org
 COMMENT=	Interpreted object-oriented programming language
 
-DIST_SUBDIR=	python
-WRKSRC=		${PYTHON_WRKSRC}/portbld.static
-PATCH_WRKSRC=	${PYTHON_WRKSRC}
-GNU_CONFIGURE=	yes
+LICENSE=	PSFL
+
+GNU_CONFIGURE=		yes
 CONFIGURE_SCRIPT=	../configure # must be relative
-CONFIGURE_ENV=	OPT="" SVNVERSION="echo freebsd"
-MAKE_ENV=	VPATH="${PYTHON_WRKSRC}"
-USE_LDCONFIG=	yes
-INSTALL_TARGET=	altinstall
-MAN1=		${PYTHON_VERSION}.1
+CONFIGURE_ENV=		OPT="" SVNVERSION="echo freebsd"
+MAKE_ENV=		VPATH="${PYTHON_WRKSRC}"
+
+INSTALL_TARGET=		altinstall
+MAN1=			${PYTHON_VERSION}.1
 
-USE_XZ=		yes
-USE_PYTHON=	yes
 USES=		gmake
-PYTHON_VERSION=	python3.3
+USE_LDCONFIG=	yes
+USE_PYTHON=	yes
+USE_XZ=		yes
+
+PYTHON_VERSION=		python3.3
 PYTHON_NO_DEPENDS=	yes
 
+WRKSRC=		${PYTHON_WRKSRC}/portbld.static
+SHARED_WRKSRC=	${PYTHON_WRKSRC}/portbld.shared
+PATCH_WRKSRC=	${PYTHON_WRKSRC}
+
 PYABIVER=	# default empty, for after appending
 
-SHARED_WRKSRC=	${PYTHON_WRKSRC}/portbld.shared
 PLIST_SUB=	PYVER=${PYTHON_VERSION:S/python//} \
 		PYMAJOR=${PYTHON_MAJOR_VER} \
 		PYVER_WITHPAT=${PORTVERSION:S/.rc/rc/} \



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