Date: Sun, 7 Oct 2012 05:21:59 +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: r305431 - head/devel/py-importlib Message-ID: <201210070521.q975LxJ1025705@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@gmail.com> -# +# Created by: Alexandros Kosiaris <akosiaris+ports@gmail.com> # $FreeBSD$ -# PORTNAME= importlib PORTVERSION= 1.0.2 @@ -14,7 +10,12 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= akosiaris+ports@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210070521.q975LxJ1025705>