Date: Wed, 11 Sep 2013 21:23:11 +0000 (UTC) From: William Grzybowski <wg@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327011 - in head/devel: . py-resolver Message-ID: <201309112123.r8BLNBBp051760@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wg Date: Wed Sep 11 21:23:11 2013 New Revision: 327011 URL: http://svnweb.freebsd.org/changeset/ports/327011 Log: devel/py-resolver: Resolve specially formatted statements to Python objects Resolve specially formated statements to Python objects. Turn strings like "packagename.modulename:Eval().the_rest()" into whatever you would get back by performing a similar sequence of imports and calls. This is useful for config files and situations where you would like to import things in a lazy way. Later this package will probably provide a way to restrict resolution for safety. WWW: http://lukearno.com/projects/resolver/ PR: ports/181859 Submitted by: Trevor Caira <trevor bitba.se> Added: head/devel/py-resolver/ head/devel/py-resolver/Makefile (contents, props changed) head/devel/py-resolver/distinfo (contents, props changed) head/devel/py-resolver/pkg-descr (contents, props changed) head/devel/py-resolver/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Sep 11 20:34:23 2013 (r327010) +++ head/devel/Makefile Wed Sep 11 21:23:11 2013 (r327011) @@ -3710,6 +3710,7 @@ SUBDIR += py-repoze.who-friendlyform SUBDIR += py-repoze.who-testutil SUBDIR += py-repoze.xmliter + SUBDIR += py-resolver SUBDIR += py-resourcepackage SUBDIR += py-rlcompleter2 SUBDIR += py-robotframework Added: head/devel/py-resolver/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-resolver/Makefile Wed Sep 11 21:23:11 2013 (r327011) @@ -0,0 +1,22 @@ +# Created by: Trevor Caira <trevor@bitba.se> +# $FreeBSD$ + +PORTNAME= resolver +PORTVERSION= 0.2.1 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= trevor@bitba.se +COMMENT= Resolve specially formatted statements to Python objects + +LICENSE= LGPL21 + +USE_PYTHON= yes +USE_PYDISTUTILS= easy_install + +post-patch: + @${REINPLACE_CMD} 's/license="LGPL",/license="LGPL", zip_safe=False,/' \ + ${WRKSRC}/setup.py + +.include <bsd.port.mk> Added: head/devel/py-resolver/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-resolver/distinfo Wed Sep 11 21:23:11 2013 (r327011) @@ -0,0 +1,2 @@ +SHA256 (resolver-0.2.1.tar.gz) = 70d3122c545302d222fe0fd95d6aadd262ca45733be37bf439cfdd057802c7c2 +SIZE (resolver-0.2.1.tar.gz) = 14679 Added: head/devel/py-resolver/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-resolver/pkg-descr Wed Sep 11 21:23:11 2013 (r327011) @@ -0,0 +1,9 @@ +Resolve specially formated statements to Python objects. + +Turn strings like "packagename.modulename:Eval().the_rest()" into +whatever you would get back by performing a similar sequence of +imports and calls. This is useful for config files and situations +where you would like to import things in a lazy way. Later this +package will probably provide a way to restrict resolution for safety. + +WWW: http://lukearno.com/projects/resolver/ Added: head/devel/py-resolver/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-resolver/pkg-plist Wed Sep 11 21:23:11 2013 (r327011) @@ -0,0 +1,10 @@ +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/resolver.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/resolver.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/resolver.pyo +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309112123.r8BLNBBp051760>