Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2018 22:08:47 +0000 (UTC)
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469978 - in head/textproc: . py-elasticsearch-dsl
Message-ID:  <201805142208.w4EM8lWV096414@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dbaio
Date: Mon May 14 22:08:47 2018
New Revision: 469978
URL: https://svnweb.freebsd.org/changeset/ports/469978

Log:
  Add textproc/py-elasticsearch-dsl: High level Python client for Elasticsearch
  
  - Repocopy from textproc/py-elasticsearch-dsl-py (v0.0.11)
  - Update to 6.1.0
  - PORTNAME equals to PyPI-name (Python Ports Policy)
  
  Version 6 (6.x.y) is for Elasticsearch 6.0 and later.
  
  PR:		227794
  Submitted by:	Jeremy Baggs <jbaggs2016@gmail.com>

Added:
  head/textproc/py-elasticsearch-dsl/
     - copied from r469965, head/textproc/py-elasticsearch-dsl-py/
Modified:
  head/textproc/Makefile
  head/textproc/py-elasticsearch-dsl/Makefile
  head/textproc/py-elasticsearch-dsl/distinfo
  head/textproc/py-elasticsearch-dsl/pkg-descr

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Mon May 14 21:55:09 2018	(r469977)
+++ head/textproc/Makefile	Mon May 14 22:08:47 2018	(r469978)
@@ -1294,6 +1294,7 @@
     SUBDIR += py-elasticsearch-async
     SUBDIR += py-elasticsearch5
     SUBDIR += py-elasticsearch-curator
+    SUBDIR += py-elasticsearch-dsl
     SUBDIR += py-elasticsearch-dsl-py
     SUBDIR += py-elasticsearch2-dsl-py
     SUBDIR += py-elib.intl

Modified: head/textproc/py-elasticsearch-dsl/Makefile
==============================================================================
--- head/textproc/py-elasticsearch-dsl-py/Makefile	Mon May 14 20:43:50 2018	(r469965)
+++ head/textproc/py-elasticsearch-dsl/Makefile	Mon May 14 22:08:47 2018	(r469978)
@@ -1,24 +1,30 @@
 # Created by: Dan Langille <dvl@FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=	elasticsearch-dsl-py
-PORTVERSION=	0.0.11
-PORTREVISION=	3
+PORTNAME=	elasticsearch-dsl
+PORTVERSION=	6.1.0
 CATEGORIES=	textproc python
+MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	dvl@FreeBSD.org
+MAINTAINER=	jbaggs2016@gmail.com
 COMMENT=	High level Python client for Elasticsearch
 
 LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}elasticsearch>=1.3.0:textproc/py-elasticsearch@${FLAVOR}
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}elasticsearch>=6.1.0:textproc/py-elasticsearch@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${FLAVOR}
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	elastic
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+NO_ARCH=	yes
 
-USES=		python:2.7
-USE_PYTHON=	autoplist distutils
+.include <bsd.port.pre.mk>
 
-.include <bsd.port.mk>
+.if ${PYTHON_REL} < 3000
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}ipaddress>=0:net/py-ipaddress@${FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>

Modified: head/textproc/py-elasticsearch-dsl/distinfo
==============================================================================
--- head/textproc/py-elasticsearch-dsl-py/distinfo	Mon May 14 20:43:50 2018	(r469965)
+++ head/textproc/py-elasticsearch-dsl/distinfo	Mon May 14 22:08:47 2018	(r469978)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1490198203
-SHA256 (elastic-elasticsearch-dsl-py-0.0.11_GH0.tar.gz) = 4771ca6bc9f57c053bd81f84164f0b0ccb44b7e6cc8edef56482ca8b2550c763
-SIZE (elastic-elasticsearch-dsl-py-0.0.11_GH0.tar.gz) = 75007
+TIMESTAMP = 1526332558
+SHA256 (elasticsearch-dsl-6.1.0.tar.gz) = 5114a38a88e93a4663782eae07a1e8084ba333c49887335c83de8b8043bc72b2
+SIZE (elasticsearch-dsl-6.1.0.tar.gz) = 44282

Modified: head/textproc/py-elasticsearch-dsl/pkg-descr
==============================================================================
--- head/textproc/py-elasticsearch-dsl-py/pkg-descr	Mon May 14 20:43:50 2018	(r469965)
+++ head/textproc/py-elasticsearch-dsl/pkg-descr	Mon May 14 22:08:47 2018	(r469978)
@@ -14,4 +14,4 @@ document data in user-defined classes.
 To use the other Elasticsearch APIs (eg. cluster health) just use the underlying
 client.
 
-WWW: http://elasticsearch-dsl.readthedocs.org/en/latest/
+WWW: https://pypi.org/project/elasticsearch-dsl/



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