ports/165420: New port: devel/py-importlib Backport of importlib.import_module() from Python 2.7
Alexandros Kosiaris
akosiaris at gmail.com
Thu Feb 23 13:30:07 UTC 2012
>Number: 165420
>Category: ports
>Synopsis: New port: devel/py-importlib Backport of importlib.import_module() from Python 2.7
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 23 13:30:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Alexandros Kosiaris <akosiaris at gmail.com>
>Release: FreeBSD 8.2-RELEASE-p3 amd64
>Organization:
<organization of PR author (multiple lines)>
>Environment:
I already tested the submitted port using tinderbox in freebsd-[78].x
+ python2[67].
Should work fine. I have not not tested explicitly against 9.x since
tinderbox's LFTP mode
is not exactly 9.x friendly at this point.
System: FreeBSD alex-bsd.vm.grnet.gr 8.2-RELEASE-p3 FreeBSD
8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
This package contains the code from importlib as found in Python 2.7.
It is provided so that people who wish to use importlib.import_module()
with a version of Python prior to 2.7 or in 3.0 have the function readily
available. The code in no way deviates from what can be found in the 2.7 trunk.
>How-To-Repeat:
>Fix:
--- py-importlib.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# py-importlib
# py-importlib/Makefile
# py-importlib/distinfo
# py-importlib/pkg-descr
# py-importlib/pkg-plist
#
echo c - py-importlib
mkdir -p py-importlib > /dev/null 2>&1
echo x - py-importlib/Makefile
sed 's/^X//' >py-importlib/Makefile << 'ed7b3a90149c263e5eea790f1a9e4c62'
X# New ports collection makefile for: py-celery
X# Date created: 2012-02-14
X# Whom: Alexandros Kosiaris<akosiaris+ports at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= importlib
XPORTVERSION= 1.0.2
XCATEGORIES= devel python
XMASTER_SITES= CHEESESHOP
XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER= akosiaris+ports at gmail.com
XCOMMENT= Backport of importlib.import_module() from Python 2.7
X
XUSE_PYTHON= 2.3-2.7
XUSE_PYDISTUTILS= yes
X
X.include <bsd.port.mk>
ed7b3a90149c263e5eea790f1a9e4c62
echo x - py-importlib/distinfo
sed 's/^X//' >py-importlib/distinfo << 'eac6c34936225230a0bc982c83f5714f'
XSHA256 (importlib-1.0.2.tar.gz) =
24d0966aa76859b288485803f310076512f87377e6c9afe9c28c52a8ccdd328c
XSIZE (importlib-1.0.2.tar.gz) = 1724
eac6c34936225230a0bc982c83f5714f
echo x - py-importlib/pkg-descr
sed 's/^X//' >py-importlib/pkg-descr << '9a8b2d35413d7d3ff84900f918531f4b'
XThis package contains the code from importlib as found in Python 2.7.
X
XIt is provided so that people who wish to use importlib.import_module()
Xwith a version of Python prior to 2.7 or in 3.0 have the function readily
Xavailable. The code in no way deviates from what can be found in the 2.7
Xtrunk.
X
XFor documentation, see the importlib docs for Python 2.7.
X
XWWW: http://pypi.python.org/pypi/importlib/1.0.1
9a8b2d35413d7d3ff84900f918531f4b
echo x - py-importlib/pkg-plist
sed 's/^X//' >py-importlib/pkg-plist << 'e0ea343019289d6d9fa5630e3d71fc64'
X%%PYTHON_SITELIBDIR%%/importlib/__init__.py
X%%PYTHON_SITELIBDIR%%/importlib/__init__.pyc
X%%PYTHON_SITELIBDIR%%/importlib/__init__.pyo
X at dirrm %%PYTHON_SITELIBDIR%%/importlib
e0ea343019289d6d9fa5630e3d71fc64
exit
--- py-importlib.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list