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.
Responsible Changed From-To: freebsd-ports-bugs->jgh I'll take it.
It appears that this can't be built against python27: ===> py27-importlib-1.0.2 depends on file: /usr/local/bin/python2.7 - found ===> Configuring for py27-importlib-1.0.2 Traceback (most recent call last): File "setup.py", line 6, in <module> raise Exception("importlib is included in Python 2.7 and newer for 2.x") Exception: importlib is included in Python 2.7 and newer for 2.x *** Error code 1 Stop in /a/ports/devel/py-importlib. I edited the Makefile to only build between 2.3 and 2.6 and it built with no issues. USE_PYTHON= 2.3-2.6 Is this enough, or should it require a CONFLICT, as well? Thanks, Jason -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh
State Changed From-To: open->feedback waiting on feedback from contributor...
On Fri, Feb 24, 2012 at 2:03 AM, Jason Helfman <jgh@freebsd.org> wrote: > It appears that this can't be built against python27: > > =3D=3D=3D> =C2=A0 py27-importlib-1.0.2 depends on file: /usr/local/bin/py= thon2.7 - > found > =3D=3D=3D> =C2=A0Configuring for py27-importlib-1.0.2 > Traceback (most recent call last): > =C2=A0File "setup.py", line 6, in <module> > =C2=A0 =C2=A0raise Exception("importlib is included in Python 2.7 and new= er for 2.x") > Exception: importlib is included in Python 2.7 and newer for 2.x > *** Error code 1 > > Stop in /a/ports/devel/py-importlib. > > > I edited the Makefile to only build between 2.3 and 2.6 and it built with= no > issues. > > USE_PYTHON=3D =C2=A0 =C2=A0 2.3-2.6 > > Is this enough, or should it require a CONFLICT, as well? > Hello, Seems like I misunderstood the USE_PYTHON directive and consequently the received errors in my tests. The change you performed should be adequate though. I doubt a CONFLICTS is necessary Could you also please change the the first line of the Makefile from New ports collection makefile for: py-celery to New ports collection makefile for: py-importlib? I plan to submit py-celery as well after py-importlib is accepted since it requires it and copy/paste betrayed me. Sorry about that.
jgh 2012-02-24 18:34:39 UTC FreeBSD ports repository Modified files: devel Makefile Added files: devel/py-importlib Makefile distinfo pkg-descr pkg-plist Log: New port: (devel/py-importlib) 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. For documentation, see the importlib docs for Python 2.7. WWW: http://pypi.python.org/pypi/importlib/1.0. PR: ports/165420 Submitted by: Alexandros Kosiaris <akosiaris@gmail.com> Revision Changes Path 1.4874 +1 -0 ports/devel/Makefile 1.1 +20 -0 ports/devel/py-importlib/Makefile (new) 1.1 +2 -0 ports/devel/py-importlib/distinfo (new) 1.1 +10 -0 ports/devel/py-importlib/pkg-descr (new) 1.1 +4 -0 ports/devel/py-importlib/pkg-plist (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
jgh 2012-02-24 18:39:14 UTC FreeBSD doc repository (ports committer) Modified files: en_US.ISO8859-1/articles/contributors contrib.additional.sgml Log: Add Alexandros Kosiaris <akosiaris+ports@gmail.com> for devel/py-importlib PR: ports/165420 Revision Changes Path 1.1063 +4 -0 doc/en_US.ISO8859-1/articles/contributors/contrib.additional.sgml _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed New port added, with minor changes. Thanks!