svn commit: r505266 - in head/textproc: . yq
Yuri Victorovich
yuri at FreeBSD.org
Fri Jun 28 05:38:30 UTC 2019
Author: yuri
Date: Fri Jun 28 05:38:28 2019
New Revision: 505266
URL: https://svnweb.freebsd.org/changeset/ports/505266
Log:
New port: textproc/yq: Command-line YAML and XML processor, jq wrapper for YAML/XML documents
Added:
head/textproc/yq/
head/textproc/yq/Makefile (contents, props changed)
head/textproc/yq/distinfo (contents, props changed)
head/textproc/yq/pkg-descr (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Fri Jun 28 05:04:05 2019 (r505265)
+++ head/textproc/Makefile Fri Jun 28 05:38:28 2019 (r505266)
@@ -1854,6 +1854,7 @@
SUBDIR += yi-hunspell
SUBDIR += yodl
SUBDIR += yould
+ SUBDIR += yq
SUBDIR += zenxml
SUBDIR += zorba
SUBDIR += zu-aspell
Added: head/textproc/yq/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/yq/Makefile Fri Jun 28 05:38:28 2019 (r505266)
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME= yq
+DISTVERSIONPREFIX= v
+DISTVERSION= 2.7.2
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= Command-line YAML and XML processor, jq wrapper for YAML/XML documents
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= jq:textproc/jq \
+ ${PYTHON_PKGNAMEPREFIX}pyaml>=0:textproc/py-pyaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}xmltodict>=0.11.0:devel/py-xmltodict@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}flake8>0:devel/py-flake8@${PY_FLAVOR}
+
+USES= python
+USE_GITHUB= yes
+GH_ACCOUNT= kislyuk
+USE_PYTHON= distutils noflavors autoplist
+
+NO_ARCH= yes
+
+do-test: # tests fail: https://github.com/kislyuk/yq/issues/62
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
+.include <bsd.port.mk>
Added: head/textproc/yq/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/yq/distinfo Fri Jun 28 05:38:28 2019 (r505266)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1561699265
+SHA256 (kislyuk-yq-v2.7.2_GH0.tar.gz) = 6f42327e38f67c77ef67c2e9bd75bc2ef63ec82a086d60e9466c245d73ee3f87
+SIZE (kislyuk-yq-v2.7.2_GH0.tar.gz) = 16644
Added: head/textproc/yq/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/yq/pkg-descr Fri Jun 28 05:38:28 2019 (r505266)
@@ -0,0 +1,4 @@
+yq is a command line processor for Yaml/Xml documents, similar to jq
+for Json.
+
+WWW: https://github.com/kislyuk/yq
More information about the svn-ports-head
mailing list