diff options
author | wg <wg@FreeBSD.org> | 2013-09-12 05:23:11 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-09-12 05:23:11 +0800 |
commit | af79b63b18dbb722123365678199b308c00a4288 (patch) | |
tree | 8efab41be804732190b2f5ac5c462b22e6c81114 /devel | |
parent | f7fd57dfdda1b1ad0f4355d331a91ba93e70ef4a (diff) | |
download | freebsd-ports-graphics-af79b63b18dbb722123365678199b308c00a4288.tar.gz freebsd-ports-graphics-af79b63b18dbb722123365678199b308c00a4288.tar.zst freebsd-ports-graphics-af79b63b18dbb722123365678199b308c00a4288.zip |
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>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-resolver/Makefile | 22 | ||||
-rw-r--r-- | devel/py-resolver/distinfo | 2 | ||||
-rw-r--r-- | devel/py-resolver/pkg-descr | 9 | ||||
-rw-r--r-- | devel/py-resolver/pkg-plist | 10 |
5 files changed, 44 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 800f003b9d3..e0448b533a5 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/py-resolver/Makefile b/devel/py-resolver/Makefile new file mode 100644 index 00000000000..1948fe1baee --- /dev/null +++ b/devel/py-resolver/Makefile @@ -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> diff --git a/devel/py-resolver/distinfo b/devel/py-resolver/distinfo new file mode 100644 index 00000000000..f379e869edd --- /dev/null +++ b/devel/py-resolver/distinfo @@ -0,0 +1,2 @@ +SHA256 (resolver-0.2.1.tar.gz) = 70d3122c545302d222fe0fd95d6aadd262ca45733be37bf439cfdd057802c7c2 +SIZE (resolver-0.2.1.tar.gz) = 14679 diff --git a/devel/py-resolver/pkg-descr b/devel/py-resolver/pkg-descr new file mode 100644 index 00000000000..370a37f090b --- /dev/null +++ b/devel/py-resolver/pkg-descr @@ -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/ diff --git a/devel/py-resolver/pkg-plist b/devel/py-resolver/pkg-plist new file mode 100644 index 00000000000..9c1aa4ad7b7 --- /dev/null +++ b/devel/py-resolver/pkg-plist @@ -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%% |