Support for ES 2.0.
Created attachment 416398 [details] elasticsearch-curator-3.4.0.ebuild
Created attachment 416400 [details] build_test.log
Created attachment 416662 [details] elasticsearch-curator-3.4.0.ebuild Adding python 3.5 support. Depends on: https://bugs.gentoo.org/show_bug.cgi?id=565470
Created attachment 416668 [details] elasticsearch-curator-3.4.0.ebuild Using ~ for mock 1.0.1 dep.
commit b6d222f596c32514bf78deb3832b6455207f6d0b Author: Ian Delaney <idella4@gentoo.org> Date: Wed Nov 11 22:13:45 2015 +0800 dev-python/elasticsearch-curator: set req'd version to dep 'mock' Required for test phase, fixes gentoo bug Gentoo bug: #565502
Previous was accidental entry in the wrong bug. However it does contribute a step towards the end goal here. Running this under py3.5 reveals * Waiting for Elasticsearch [ !! ] /usr/bin/python3.5 setup.py test running test Searching for elasticsearch<2.1.0,>=1.8.0 Reading https://pypi.python.org/simple/elasticsearch/ * app-misc/elasticsearch Available versions: (~)1.6.2^s (~)1.7.1^s (~)1.7.3^s elasticsearch-py-1.9.0.ebuild does not dep on app-misc/elasticsearch, so it appears this elasticsearch-curator-3.4.0 requires a dep on >=elasticsearch-1.8.0 <2.1.0. at least behind the IUSE test to support python 3.5. The run under python3.4 was successful. Also, PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) requires dropping of 3_3 since it has been deprecated. If left to support only py3.5, this bump would be viable.
Actually we have a depend on a good version of elasticsearch-py: >=dev-python/elasticsearch-py-1.8.0[${PYTHON_USEDEP}] <dev-python/elasticsearch-py-2.1.0[${PYTHON_USEDEP}] Have you tested this before or after this commit please: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef51f927241abb7ebb40e5ebd87892579f58ff94 Here we added python 3.5 support for elasticsearch-py 1.9 which is ok for elasticsearch-curator.
commit 2d6ac3e91c86331a3fd83110983f3e9c9d1ec93c Author: Ian Delaney <idella4@gentoo.org> Date: Thu Nov 12 16:17:24 2015 +0800 dev-python/elasticsearch-curator: bump to 3.4.0 closes the gentoo bug Gentoo bug: 564612