From e7111cc1d0a76385a29f95849d7d9ce04fb1c381 Mon Sep 17 00:00:00 2001 From: sebastia Date: Wed, 27 Jan 2016 09:16:06 +0000 Subject: [PATCH] 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 --- sysutils/py-elasticsearch-curator/Makefile | 3 ++- .../patches/patch-setup_py | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 sysutils/py-elasticsearch-curator/patches/patch-setup_py diff --git a/sysutils/py-elasticsearch-curator/Makefile b/sysutils/py-elasticsearch-curator/Makefile index 3cae33a24ea..8569cc315e8 100644 --- a/sysutils/py-elasticsearch-curator/Makefile +++ b/sysutils/py-elasticsearch-curator/Makefile @@ -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 diff --git a/sysutils/py-elasticsearch-curator/patches/patch-setup_py b/sysutils/py-elasticsearch-curator/patches/patch-setup_py new file mode 100644 index 00000000000..b85eb87f0b8 --- /dev/null +++ b/sysutils/py-elasticsearch-curator/patches/patch-setup_py @@ -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 +