From owner-svn-ports-head@FreeBSD.ORG Sun Oct 7 05:22:00 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F32EE106566C; Sun, 7 Oct 2012 05:21:59 +0000 (UTC) (envelope-from rm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C3E518FC08; Sun, 7 Oct 2012 05:21:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q975Lxdk025708; Sun, 7 Oct 2012 05:21:59 GMT (envelope-from rm@svn.freebsd.org) Received: (from rm@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q975LxJ1025705; Sun, 7 Oct 2012 05:21:59 GMT (envelope-from rm@svn.freebsd.org) Message-Id: <201210070521.q975LxJ1025705@svn.freebsd.org> From: Ruslan Mahmatkhanov Date: Sun, 7 Oct 2012 05:21:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r305431 - head/devel/py-importlib X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Oct 2012 05:22:00 -0000 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 (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 -# +# Created by: Alexandros Kosiaris # $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 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