diff options
Diffstat (limited to 'net-analyzer/nagstamon/nagstamon-2.0.1.ebuild')
-rw-r--r-- | net-analyzer/nagstamon/nagstamon-2.0.1.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/net-analyzer/nagstamon/nagstamon-2.0.1.ebuild b/net-analyzer/nagstamon/nagstamon-2.0.1.ebuild new file mode 100644 index 000000000000..4b6cb94a77d7 --- /dev/null +++ b/net-analyzer/nagstamon/nagstamon-2.0.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit eutils python-r1 distutils-r1 + +MY_PN="Nagstamon" +MY_P="${MY_PN}-${PV/_}" + +DESCRIPTION="Nagstamon is a systray monitor for displaying realtime status of a Nagios box" +HOMEPAGE="http://nagstamon.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# TODO: secretstorage +# TODO: Xlib - https://github.com/python-xlib/python-xlib/tree/master/Xlib +RDEPEND="${PYTHON_DEPS} + dev-python/PyQt5[gui,multimedia,svg,widgets,${PYTHON_USEDEP}] + dev-python/beautifulsoup:4[${PYTHON_USEDEP}] + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/keyring[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${MY_PN}" + +PATCHES="${FILESDIR}/${PN}-2.0-setup.patch" + +src_prepare() { + default + + mv ${PN}.py ${PN} || die + +# rm -rf "${S}/Nagstamon/thirdparty/Xlib/" || die + rm -rf "${S}/Nagstamon/thirdparty/keyring/" || die +} |