Bug 178351 - New port: devel/py-jmespath - JSON Matching Expressions
Summary: New port: devel/py-jmespath - JSON Matching Expressions
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ruslan Makhmatkhanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-05 20:10 UTC by Alexey Degtyarev
Modified: 2013-05-10 21:50 UTC (History)
0 users

See Also:


Attachments
file.shar (3.88 KB, text/plain)
2013-05-05 20:10 UTC, Alexey Degtyarev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Degtyarev 2013-05-05 20:10:00 UTC
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

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-05-05 20:10:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2013-05-10 21:41:09 UTC
Responsible Changed
From-To: freebsd-python->rm

I will take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-05-10 21:43:28 UTC
Author: rm
Date: Fri May 10 20:43:14 2013
New Revision: 317839
URL: http://svnweb.freebsd.org/changeset/ports/317839

Log:
  JMESPath (pronounced "jaymz path") allows you to declaratively specify how to
  extract elements from a JSON document.
  
  WWW: https://github.com/boto/jmespath
  
  PR:		178351
  Submitted by:	Alexey V. Degtyarev <alexey@renatasystems.org>

Added:
  head/devel/py-jmespath/
  head/devel/py-jmespath/Makefile   (contents, props changed)
  head/devel/py-jmespath/distinfo   (contents, props changed)
  head/devel/py-jmespath/pkg-descr   (contents, props changed)
  head/devel/py-jmespath/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri May 10 20:11:20 2013	(r317838)
+++ head/devel/Makefile	Fri May 10 20:43:14 2013	(r317839)
@@ -3525,6 +3525,7 @@
     SUBDIR += py-iterpipes
     SUBDIR += py-itools
     SUBDIR += py-jcc
+    SUBDIR += py-jmespath
     SUBDIR += py-jsmin
     SUBDIR += py-json-py
     SUBDIR += py-jsonlib

Added: head/devel/py-jmespath/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-jmespath/Makefile	Fri May 10 20:43:14 2013	(r317839)
@@ -0,0 +1,20 @@
+# Created by: Alexey V. Degtyarev <alexey@renatasystems.org>
+# $FreeBSD$
+
+PORTNAME=	jmespath
+PORTVERSION=	0.0.2
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	alexey@renatasystems.org
+COMMENT=	JSON Matching Expressions
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ply>=3.4:${PORTSDIR}/devel/py-ply
+
+USE_PYTHON=	yes
+USE_PYDISTUTILS=easy_install
+
+.include <bsd.port.mk>

Added: head/devel/py-jmespath/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-jmespath/distinfo	Fri May 10 20:43:14 2013	(r317839)
@@ -0,0 +1,2 @@
+SHA256 (jmespath-0.0.2.tar.gz) = 3ce34292993eff87d66e160496c74520e0938c3fce01c55220b98cb5ab976b19
+SIZE (jmespath-0.0.2.tar.gz) = 7325

Added: head/devel/py-jmespath/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-jmespath/pkg-descr	Fri May 10 20:43:14 2013	(r317839)
@@ -0,0 +1,4 @@
+JMESPath (pronounced "jaymz path") allows you to declaratively specify how to
+extract elements from a JSON document.
+
+WWW: https://github.com/boto/jmespath

Added: head/devel/py-jmespath/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-jmespath/pkg-plist	Fri May 10 20:43:14 2013	(r317839)
@@ -0,0 +1,34 @@
+%%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/requires.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/ast.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/ast.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/ast.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/lexer.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/lexer.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/lexer.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/parser.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/parser.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath/parser.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_ast.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_ast.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_ast.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_compliance.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_compliance.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_compliance.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_parser.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_parser.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_parser.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jmespath
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2013-05-10 21:44:37 UTC
State Changed
From-To: open->closed

New port added, thank you.