diff options
Diffstat (limited to 'net-analyzer/namebench/namebench-1.3.1-r2.ebuild')
-rw-r--r-- | net-analyzer/namebench/namebench-1.3.1-r2.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/net-analyzer/namebench/namebench-1.3.1-r2.ebuild b/net-analyzer/namebench/namebench-1.3.1-r2.ebuild new file mode 100644 index 000000000000..b840a5e1117e --- /dev/null +++ b/net-analyzer/namebench/namebench-1.3.1-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="DNS Benchmark Utility" +HOMEPAGE="https://code.google.com/p/namebench/" +SRC_URI="https://namebench.googlecode.com/files/${P}-source.tgz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="X" + +# PYTHON_REQ_USE does not support X? ( tk ) syntax yet +DEPEND="X? ( $(python_gen_cond_dep dev-lang/python:2.7[tk] python2_7) )" +RDEPEND="${DEPEND} + >=dev-python/httplib2-0.6[${PYTHON_USEDEP}] + >=dev-python/graphy-1.0[${PYTHON_USEDEP}] + >=dev-python/jinja-2.2.1[${PYTHON_USEDEP}] + >=dev-python/simplejson-2.1.2[${PYTHON_USEDEP}] + virtual/dnspython[${PYTHON_USEDEP}] +" + +python_prepare_all() { + # don't include bundled libraries + export NO_THIRD_PARTY=1 + + distutils-r1_python_prepare_all +} + +python_install() { + #set prefix + distutils-r1_python_install --install-data=/usr/share +} + +python_install_all() { + dosym ${PN}.py /usr/bin/${PN} + distutils-r1_python_install_all +} |