aboutsummaryrefslogtreecommitdiff
blob: 92fd5f79aa8901bf855b33f189b7b71a8a1f0a75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )

inherit distutils-r1

MY_PN="newrelic"

DESCRIPTION="New Relic Python Agent"
HOMEPAGE="http://newrelic.com/docs/python/new-relic-for-python"

SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64"

LICENSE="newrelic"
SLOT="0"

RDEPEND="
	|| (
		dev-python/bottle[${PYTHON_USEDEP}]
		dev-python/cherrypy[${PYTHON_USEDEP}]
		dev-python/django[${PYTHON_USEDEP}]
		dev-python/flask[${PYTHON_USEDEP}]
		dev-python/pylons[${PYTHON_USEDEP}]
		dev-python/pyramid[${PYTHON_USEDEP}]
	)"
	#|| (
	#	dev-python/cython[${PYTHON_USEDEP}]
	#	virtual/pypy
	#	virtual/pypy3
	#)"
DEPEND="${RDEPEND}"

src_install() {
	default
	dobin scripts/newrelic-admin
}