Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 May 2013 19:03:10 GMT
From:      Alexey Degtyarev <alexey@renatasystems.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/178351: New port: devel/py-jmespath - JSON Matching Expressions
Message-ID:  <201305051903.r45J3Aqt067868@oldred.FreeBSD.org>
Resent-Message-ID: <201305051910.r45JA2uC032520@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         178351
>Category:       ports
>Synopsis:       New port: devel/py-jmespath - JSON Matching Expressions
>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:   Sun May 05 19:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Degtyarev
>Release:        
>Organization:
>Environment:
>Description:
JMESPath (pronounced "jaymz path") allows you to declaratively specify how to extract elements from a JSON document.

For example, given this document: 

{"foo": {"bar": "baz"}}

The jmespath expression foo.bar will return "baz".

More info: https://github.com/boto/jmespath
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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-jmespath
#	py-jmespath/distinfo
#	py-jmespath/pkg-descr
#	py-jmespath/pkg-plist
#	py-jmespath/Makefile
#
echo c - py-jmespath
mkdir -p py-jmespath > /dev/null 2>&1
echo x - py-jmespath/distinfo
sed 's/^X//' >py-jmespath/distinfo << 'aff774c2dd6b4f094d6acbf3f9979837'
XSHA256 (jmespath-0.0.2.tar.gz) = 3ce34292993eff87d66e160496c74520e0938c3fce01c55220b98cb5ab976b19
XSIZE (jmespath-0.0.2.tar.gz) = 7325
aff774c2dd6b4f094d6acbf3f9979837
echo x - py-jmespath/pkg-descr
sed 's/^X//' >py-jmespath/pkg-descr << '37db43eb30f259b7afa474acd8863cfc'
XJMESPath (pronounced "jaymz path") allows you to declaratively specify how to
Xextract elements from a JSON document.
X
XWWW: https://github.com/boto/jmespath
37db43eb30f259b7afa474acd8863cfc
echo x - py-jmespath/pkg-plist
sed 's/^X//' >py-jmespath/pkg-plist << '0b3a6c23c691f26eb615f8f64048f891'
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/__init__.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/__init__.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/__init__.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/ast.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/ast.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/ast.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/lexer.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/lexer.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/lexer.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/parser.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/parser.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/parser.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/__init__.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/__init__.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/__init__.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_ast.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_ast.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_ast.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_compliance.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_compliance.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_compliance.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_parser.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_parser.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_parser.pyo
X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests
X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath
X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
0b3a6c23c691f26eb615f8f64048f891
echo x - py-jmespath/Makefile
sed 's/^X//' >py-jmespath/Makefile << '6406aec1a72fc212c4f02cf2daec7996'
X# Created by: Alexey V. Degtyarev <alexey@renatasystems.org>
X# $FreeBSD$
X
XPORTNAME=	jmespath
XPORTVERSION=	0.0.2
XCATEGORIES=	devel python
XMASTER_SITES=	CHEESESHOP
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	alexey@renatasystems.org
XCOMMENT=	JSON Matching Expressions
X
XLICENSE=	MIT
XLICENSE_FILE=	${WRKSRC}/LICENSE.txt
X
XRUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ply>=3.4:${PORTSDIR}/devel/py-ply
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=easy_install
X
X.include <bsd.port.mk>
6406aec1a72fc212c4f02cf2daec7996
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305051903.r45J3Aqt067868>