You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/nagstamon/nagstamon-2.0.1.ebuild

46 lines
982 B

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
PYTHON_COMPAT=( python3_4 )
inherit eutils python-r1 distutils-r1
MY_PN="Nagstamon"
MY_P="${MY_PN}-${PV/_}"
DESCRIPTION="status monitor for the desktop"
HOMEPAGE="http://nagstamon.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# TODO: secretstorage
# TODO: Xlib - https://github.com/python-xlib/python-xlib/tree/master/Xlib
RDEPEND="dev-python/PyQt5[gui,multimedia,svg,widgets]
dev-python/beautifulsoup:4
dev-python/dbus-python
dev-python/keyring
dev-python/requests
dev-python/psutil
dev-python/setuptools"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_PN}"
PATCHES="${FILESDIR}/${PN}-2.0-setup.patch"
src_prepare() {
default_src_prepare
mv ${PN}.py ${PN} || die
# rm -rf "${S}/Nagstamon/thirdparty/Xlib/" || die
rm -rf "${S}/Nagstamon/thirdparty/keyring/" || die
}