git: 14bbde55872f - main - misc/py-tes: New port: Tool for Elasticsearch

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 08 May 2022 18:02:21 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=14bbde55872f95bfdd4a2398a39f8598295c64c2

commit 14bbde55872f95bfdd4a2398a39f8598295c64c2
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-05-08 17:56:56 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-05-08 18:02:07 +0000

    misc/py-tes: New port: Tool for Elasticsearch
---
 misc/Makefile         |  1 +
 misc/py-tes/Makefile  | 22 ++++++++++++++++++++++
 misc/py-tes/distinfo  |  3 +++
 misc/py-tes/pkg-descr |  6 ++++++
 4 files changed, 32 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index 48c27615550d..286686573d42 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -417,6 +417,7 @@
     SUBDIR += py-spdx-lookup
     SUBDIR += py-spdx-tools
     SUBDIR += py-spinners
+    SUBDIR += py-tes
     SUBDIR += py-tflearn
     SUBDIR += py-tflite
     SUBDIR += py-tflite-support
diff --git a/misc/py-tes/Makefile b/misc/py-tes/Makefile
new file mode 100644
index 000000000000..f5ca5d080ffa
--- /dev/null
+++ b/misc/py-tes/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	tes
+DISTVERSION=	1.1.1
+CATEGORIES=	misc python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Tool for Elasticsearch
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}elasticsearch>0:textproc/py-elasticsearch@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}texttable>0:textproc/py-texttable@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-tes/distinfo b/misc/py-tes/distinfo
new file mode 100644
index 000000000000..d2db9c7a393f
--- /dev/null
+++ b/misc/py-tes/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1652031548
+SHA256 (tes-1.1.1.tar.gz) = 1c8116e54b9ac047e3596ab29c9c6f91d9ea7639668f109edc577558a3fda383
+SIZE (tes-1.1.1.tar.gz) = 18156
diff --git a/misc/py-tes/pkg-descr b/misc/py-tes/pkg-descr
new file mode 100644
index 000000000000..9ae5f0681e64
--- /dev/null
+++ b/misc/py-tes/pkg-descr
@@ -0,0 +1,6 @@
+Tes stands for Tool for Elasticsearch. Tes is a command-line tool
+based on python elasticsearch APIs. Following are the various
+subtools under tes which can be used to invoke different kinds of
+elasticsearch APIs.
+
+WWW: https://github.com/deeshugupta/tes