svn commit: r305431 - head/devel/py-importlib

Ruslan Mahmatkhanov rm at FreeBSD.org
Sun Oct 7 05:22:00 UTC 2012


Author: rm
Date: Sun Oct  7 05:21:59 2012
New Revision: 305431
URL: http://svn.freebsd.org/changeset/ports/305431

Log:
  importlib module is available in Python standard library since 2.7
  (in 2.x branch) and 3.1 (in 3.x branch). Since we don't have 3.0
  in ports, nor anything less 2.6, set USE_PYTHON to exactly 2.6
  
  while here:
  - trim Makefile header
  - move pkg-plist contents to Makefile:PLIST_FILES
  - correct WWW in pkg-descr
  
  PR:		172409
  Submitted by:	rm (myself)
  Approved by:	Alexandros Kosiaris <akosiaris at gmail dot com> (maintainer)

Deleted:
  head/devel/py-importlib/pkg-plist
Modified:
  head/devel/py-importlib/Makefile
  head/devel/py-importlib/pkg-descr

Modified: head/devel/py-importlib/Makefile
==============================================================================
--- head/devel/py-importlib/Makefile	Sun Oct  7 04:49:08 2012	(r305430)
+++ head/devel/py-importlib/Makefile	Sun Oct  7 05:21:59 2012	(r305431)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	py-importlib
-# Date created:		14 February 2012
-# Whom:			Alexandros Kosiaris <akosiaris+ports at gmail.com>
-#
+# Created by: Alexandros Kosiaris <akosiaris+ports at gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	importlib
 PORTVERSION=	1.0.2
@@ -14,7 +10,12 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	akosiaris+ports at gmail.com
 COMMENT=	Backport of importlib.import_module() from Python 2.7
 
-USE_PYTHON=	2.3-2.6
+USE_PYTHON=	2.6
 USE_PYDISTUTILS=	yes
 
+PLIST_FILES=	%%PYTHON_SITELIBDIR%%/importlib/__init__.py \
+		%%PYTHON_SITELIBDIR%%/importlib/__init__.pyc \
+		%%PYTHON_SITELIBDIR%%/importlib/__init__.pyo
+PLIST_DIRS=	%%PYTHON_SITELIBDIR%%/importlib
+
 .include <bsd.port.mk>

Modified: head/devel/py-importlib/pkg-descr
==============================================================================
--- head/devel/py-importlib/pkg-descr	Sun Oct  7 04:49:08 2012	(r305430)
+++ head/devel/py-importlib/pkg-descr	Sun Oct  7 05:21:59 2012	(r305431)
@@ -7,4 +7,4 @@ trunk.
 
 For documentation, see the importlib docs for Python 2.7.
 
-WWW: http://pypi.python.org/pypi/importlib/1.0.1
+WWW: http://pypi.python.org/pypi/importlib



More information about the svn-ports-all mailing list