27 lines
651 B
Bash
27 lines
651 B
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
PYTHON_COMPAT=( python{2_7,3_4} )
|
|
PYTHON_REQ_USE="sqlite"
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="real-time metrics for nginx server (and others)"
|
|
HOMEPAGE="https://github.com/lebinh/ngxtop"
|
|
SRC_URI="https://github.com/lebinh/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
SLOT="0"
|
|
LICENSE="MIT"
|
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
IUSE=""
|
|
|
|
RDEPEND="
|
|
dev-python/docopt[${PYTHON_USEDEP}]
|
|
dev-python/pyparsing[${PYTHON_USEDEP}]
|
|
dev-python/tabulate[${PYTHON_USEDEP}]"
|
|
DEPEND="${RDEPEND}
|
|
"
|
|
|
|
PATCHES=( "${FILESDIR}"/${P}-py3.patch )
|