Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2019 05:38:28 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505266 - in head/textproc: . yq
Message-ID:  <201906280538.x5S5cSCW031880@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



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