Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510740 - dev-python/pyes - Python Elastic Search driver
Summary: dev-python/pyes - Python Elastic Search driver
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Default Assignee for New Packages
URL: http://pypi.python.org/pypi/pyes/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-19 12:48 UTC by Tomáš Mózes
Modified: 2015-04-14 11:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2014-05-19 12:48:03 UTC
Python Elastic Search driver

Taken from https://github.com/travisghansen/chaos/blob/master/dev-python/pyes/pyes-0.19.1.ebuild

Tested on logstash / elasticsearch / kibana.

# cat pyes-0.99.0.ebuild

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit distutils

DESCRIPTION="Python Elastic Search driver"
HOMEPAGE="http://pypi.python.org/pypi/pyes/"
SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="BSD-4"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND="dev-python/simplejson"
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2014-05-29 09:34:44 UTC
oh dear. missing PYTHON_COMPAT all together.
oh dear, because it inherits distutils.  This really need to inherit distutils-r1 or equiv.
Comment 2 Tomáš Mózes 2014-05-30 06:43:50 UTC
--- pyes-0.99.0.ebuild       2014-05-19 14:27:17.788248212 +0200
+++ pyes-0.99.0-r1.ebuild    2014-05-28 12:19:36.223754391 +0200
@@ -4,7 +4,9 @@
 
 EAPI=5
 
-inherit distutils
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+
+inherit distutils-r1
 
 DESCRIPTION="Python Elastic Search driver"
 HOMEPAGE="http://pypi.python.org/pypi/pyes/"
Comment 3 Mike Gilbert gentoo-dev 2014-05-30 13:43:56 UTC
Thanks for the ebuild!

The Gentoo python team has the following requirements for adding new ebuilds which we maintain:

1. The package is a dependency of a package which is already in the tree.

or

2. Several people want the package added for some reason.

I do not think this package meets either condition at this time.
Comment 4 Dirkjan Ochtman (RETIRED) gentoo-dev 2014-05-30 13:47:33 UTC
You might consider starting your own overlay or contributing it to the sunrise project.
Comment 5 Tomáš Mózes 2014-05-30 14:02:40 UTC
I forgot forgot to mention that logstash depends on this.
Comment 6 Tomáš Mózes 2015-04-14 10:48:27 UTC
Not needed anymore, we have dev-python/elasticsearch-py in portage.