pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-elasticsearch-dsl: add new package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Sat Sep 17 17:38:49 2022 +0200
Changeset:	fcd1d9f05ca84350c75b175d383ce3efbd7dc294

Modified Files:
	Makefile
Added Files:
	py-elasticsearch-dsl/DESCR
	py-elasticsearch-dsl/Makefile
	py-elasticsearch-dsl/PLIST
	py-elasticsearch-dsl/distinfo

Log Message:
py-elasticsearch-dsl: add new package

Elasticsearch DSL is a high-level library whose aim is to help with
writing and running queries against Elasticsearch. It is built on
top of the official low-level client.

It provides a more convenient and idiomatic way to write and
manipulate queries. It stays close to the Elasticsearch JSON DSL,
mirroring its terminology and structure. It exposes the whole range
of the DSL from Python either directly using defined classes or a
queryset-like expressions.

It also provides an optional wrapper for working with documents as
Python objects: defining mappings, retrieving and saving documents,
wrapping the document data in user-defined classes.

To use the other Elasticsearch APIs (e.g., cluster health) just
use the underlying client.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fcd1d9f05ca84350c75b175d383ce3efbd7dc294

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                      |  1 +
 py-elasticsearch-dsl/DESCR    | 16 +++++++++++
 py-elasticsearch-dsl/Makefile | 22 +++++++++++++++
 py-elasticsearch-dsl/PLIST    | 66 +++++++++++++++++++++++++++++++++++++++++++
 py-elasticsearch-dsl/distinfo |  5 ++++
 5 files changed, 110 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index c935e8c6ff..c0459392b6 100644
--- a/Makefile
+++ b/Makefile
@@ -3757,6 +3757,7 @@ SUBDIR+=	py-einsteinpy
 SUBDIR+=	py-einsteinpy-geodesics
 SUBDIR+=	py-elastic-transport
 SUBDIR+=	py-elasticsearch
+SUBDIR+=	py-elasticsearch-dsl
 SUBDIR+=	py-email-reply-parser
 SUBDIR+=	py-emcee
 SUBDIR+=	py-emmsa
diff --git a/py-elasticsearch-dsl/DESCR b/py-elasticsearch-dsl/DESCR
new file mode 100644
index 0000000000..71c1956718
--- /dev/null
+++ b/py-elasticsearch-dsl/DESCR
@@ -0,0 +1,16 @@
+Elasticsearch DSL is a high-level library whose aim is to help with
+writing and running queries against Elasticsearch. It is built on
+top of the official low-level client.
+
+It provides a more convenient and idiomatic way to write and
+manipulate queries. It stays close to the Elasticsearch JSON DSL,
+mirroring its terminology and structure. It exposes the whole range
+of the DSL from Python either directly using defined classes or a
+queryset-like expressions.
+
+It also provides an optional wrapper for working with documents as
+Python objects: defining mappings, retrieving and saving documents,
+wrapping the document data in user-defined classes.
+
+To use the other Elasticsearch APIs (e.g., cluster health) just
+use the underlying client.
diff --git a/py-elasticsearch-dsl/Makefile b/py-elasticsearch-dsl/Makefile
new file mode 100644
index 0000000000..aa385209f3
--- /dev/null
+++ b/py-elasticsearch-dsl/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME=	elasticsearch-dsl-7.4.0
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	python # TODO: add primary category
+MASTER_SITES=	${MASTER_SITE_PYPI:=e/elasticsearch-dsl/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/elasticsearch/elasticsearch-dsl-py
+COMMENT=	Python client for Elasticsearch
+LICENSE=	apache-2.0
+
+DEPENDS+=	${PYPKGPREFIX}-six>=0:../../lang/py-six
+DEPENDS+=	${PYPKGPREFIX}-dateutil>=0:../../time/py-dateutil
+#DEPENDS+=	elasticsearch>=7.0.0,<8.0.0:../../databases/elasticsearch
+# pkgsrc version too new
+DEPENDS+=	${PYPKGPREFIX}-elasticsearch>=0:../../wip/py-elasticsearch
+
+USE_LANGUAGES=	# none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-elasticsearch-dsl/PLIST b/py-elasticsearch-dsl/PLIST
new file mode 100644
index 0000000000..3c9a3a8956
--- /dev/null
+++ b/py-elasticsearch-dsl/PLIST
@@ -0,0 +1,66 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/elasticsearch_dsl/__init__.py
+${PYSITELIB}/elasticsearch_dsl/__init__.pyc
+${PYSITELIB}/elasticsearch_dsl/__init__.pyo
+${PYSITELIB}/elasticsearch_dsl/aggs.py
+${PYSITELIB}/elasticsearch_dsl/aggs.pyc
+${PYSITELIB}/elasticsearch_dsl/aggs.pyo
+${PYSITELIB}/elasticsearch_dsl/analysis.py
+${PYSITELIB}/elasticsearch_dsl/analysis.pyc
+${PYSITELIB}/elasticsearch_dsl/analysis.pyo
+${PYSITELIB}/elasticsearch_dsl/connections.py
+${PYSITELIB}/elasticsearch_dsl/connections.pyc
+${PYSITELIB}/elasticsearch_dsl/connections.pyo
+${PYSITELIB}/elasticsearch_dsl/document.py
+${PYSITELIB}/elasticsearch_dsl/document.pyc
+${PYSITELIB}/elasticsearch_dsl/document.pyo
+${PYSITELIB}/elasticsearch_dsl/exceptions.py
+${PYSITELIB}/elasticsearch_dsl/exceptions.pyc
+${PYSITELIB}/elasticsearch_dsl/exceptions.pyo
+${PYSITELIB}/elasticsearch_dsl/faceted_search.py
+${PYSITELIB}/elasticsearch_dsl/faceted_search.pyc
+${PYSITELIB}/elasticsearch_dsl/faceted_search.pyo
+${PYSITELIB}/elasticsearch_dsl/field.py
+${PYSITELIB}/elasticsearch_dsl/field.pyc
+${PYSITELIB}/elasticsearch_dsl/field.pyo
+${PYSITELIB}/elasticsearch_dsl/function.py
+${PYSITELIB}/elasticsearch_dsl/function.pyc
+${PYSITELIB}/elasticsearch_dsl/function.pyo
+${PYSITELIB}/elasticsearch_dsl/index.py
+${PYSITELIB}/elasticsearch_dsl/index.pyc
+${PYSITELIB}/elasticsearch_dsl/index.pyo
+${PYSITELIB}/elasticsearch_dsl/mapping.py
+${PYSITELIB}/elasticsearch_dsl/mapping.pyc
+${PYSITELIB}/elasticsearch_dsl/mapping.pyo
+${PYSITELIB}/elasticsearch_dsl/query.py
+${PYSITELIB}/elasticsearch_dsl/query.pyc
+${PYSITELIB}/elasticsearch_dsl/query.pyo
+${PYSITELIB}/elasticsearch_dsl/response/__init__.py
+${PYSITELIB}/elasticsearch_dsl/response/__init__.pyc
+${PYSITELIB}/elasticsearch_dsl/response/__init__.pyo
+${PYSITELIB}/elasticsearch_dsl/response/aggs.py
+${PYSITELIB}/elasticsearch_dsl/response/aggs.pyc
+${PYSITELIB}/elasticsearch_dsl/response/aggs.pyo
+${PYSITELIB}/elasticsearch_dsl/response/hit.py
+${PYSITELIB}/elasticsearch_dsl/response/hit.pyc
+${PYSITELIB}/elasticsearch_dsl/response/hit.pyo
+${PYSITELIB}/elasticsearch_dsl/search.py
+${PYSITELIB}/elasticsearch_dsl/search.pyc
+${PYSITELIB}/elasticsearch_dsl/search.pyo
+${PYSITELIB}/elasticsearch_dsl/serializer.py
+${PYSITELIB}/elasticsearch_dsl/serializer.pyc
+${PYSITELIB}/elasticsearch_dsl/serializer.pyo
+${PYSITELIB}/elasticsearch_dsl/update_by_query.py
+${PYSITELIB}/elasticsearch_dsl/update_by_query.pyc
+${PYSITELIB}/elasticsearch_dsl/update_by_query.pyo
+${PYSITELIB}/elasticsearch_dsl/utils.py
+${PYSITELIB}/elasticsearch_dsl/utils.pyc
+${PYSITELIB}/elasticsearch_dsl/utils.pyo
+${PYSITELIB}/elasticsearch_dsl/wrappers.py
+${PYSITELIB}/elasticsearch_dsl/wrappers.pyc
+${PYSITELIB}/elasticsearch_dsl/wrappers.pyo
diff --git a/py-elasticsearch-dsl/distinfo b/py-elasticsearch-dsl/distinfo
new file mode 100644
index 0000000000..79ae7d4d2b
--- /dev/null
+++ b/py-elasticsearch-dsl/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (elasticsearch-dsl-7.4.0.tar.gz) = 98e2f3e9c269513ba865f91412b23ce6a73cdd21284db59e418ad2cf4da2b992
+SHA512 (elasticsearch-dsl-7.4.0.tar.gz) = 4f125cbf3750e31b1ba18f988950377db04f13c59dd2336745c5fbbf056f7a482686ca486ec41c203098f5fdfb519fb1fdac893887b06b596863f72ad430cf4e
+Size (elasticsearch-dsl-7.4.0.tar.gz) = 56549 bytes


Home | Main Index | Thread Index | Old Index