Add patch to setup.py to let it work with updated py-elasticsearch.

From Pavel Korovin, Thanks!
With comment to upstream git commit from me
This commit is contained in:
sebastia 2016-01-27 09:16:06 +00:00
parent 9607029fb0
commit e7111cc1d0
2 changed files with 18 additions and 1 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.1.1.1 2016/01/07 11:56:26 sebastia Exp $
# $OpenBSD: Makefile,v 1.2 2016/01/27 09:16:06 sebastia Exp $
COMMENT= manage Elasticsearch indices
MODPY_EGG_VERSION=3.4.0
DISTNAME= elasticsearch-curator-${MODPY_EGG_VERSION}
PKGNAME= py-elasticsearch-curator-${MODPY_EGG_VERSION}
REVISION= 0
CATEGORIES= sysutils

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-setup_py,v 1.1 2016/01/27 09:16:06 sebastia Exp $
Allow elasticsearch-py module versions through 2.3.0
from upstream git: dfe060e360aa6d5c22b0fe40b323bb646abc1d5e
--- setup.py.orig Wed Jan 27 01:07:34 2016
+++ setup.py Wed Jan 27 01:08:00 2016
@@ -22,7 +22,7 @@ def get_version():
return VERSION
def get_install_requires():
- res = ['elasticsearch>=1.8.0,<2.1.0' ]
+ res = ['elasticsearch>=1.8.0,<2.4.0' ]
res.append('click>=3.3')
return res