blob: 1883f64fc44e37f9980515ff439ae586f6caeafb (
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
41
42
43
44
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
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
}
|