Diff nagstamon-2.0.1 with a nagstamon-3.0.2-r1

/usr/portage/net-analyzer/nagstamon/nagstamon-3.0.2-r1.ebuild 2020-01-05 14:15:00.000000000 +0300
8 8
inherit eutils python-r1 distutils-r1
9 9

  
10 10
MY_PN="Nagstamon"
11
MY_P="${MY_PN}-${PV/_}"
11
MY_P="${MY_PN}-${PV/_p/-}"
12 12

  
13
DESCRIPTION="Nagstamon is a systray monitor for displaying realtime status of a Nagios box"
14
HOMEPAGE="http://nagstamon.sourceforge.net"
15
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
13
DESCRIPTION="status monitor for the desktop"
14
DESCRIPTION="systray monitor for displaying realtime status of several monitoring systems"
15
HOMEPAGE="https://nagstamon.ifw-dresden.de"
16
SRC_URI="https://nagstamon.ifw-dresden.de/files/stable/${MY_P}.tar.gz"
16 17

  
17 18
LICENSE="GPL-2"
18 19
SLOT="0"
19
KEYWORDS="amd64 x86"
20
KEYWORDS="~amd64 ~x86"
20 21
IUSE=""
21 22
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
22 23

  
23
# TODO: secretstorage
24
# TODO: Xlib - https://github.com/python-xlib/python-xlib/tree/master/Xlib
25 24
RDEPEND="${PYTHON_DEPS}
25
	dev-python/lxml[${PYTHON_USEDEP}]
26 26
	dev-python/PyQt5[gui,multimedia,svg,widgets,${PYTHON_USEDEP}]
27 27
	dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
28 28
	dev-python/dbus-python[${PYTHON_USEDEP}]
29 29
	dev-python/keyring[${PYTHON_USEDEP}]
30 30
	dev-python/requests[${PYTHON_USEDEP}]
31
	dev-python/psutil[${PYTHON_USEDEP}]"
31
	dev-python/psutil[${PYTHON_USEDEP}]
32
	dev-python/cryptography[${PYTHON_USEDEP}]
33
	dev-python/secretstorage[${PYTHON_USEDEP}]
34
	>=dev-python/python-xlib-0.19[${PYTHON_USEDEP}]
35
	dev-python/requests-kerberos[${PYTHON_USEDEP}]
36
	virtual/python-typing[${PYTHON_USEDEP}]"
32 37
DEPEND="${RDEPEND}
33 38
	dev-python/setuptools[${PYTHON_USEDEP}]"
34 39

  
35 40
S="${WORKDIR}/${MY_PN}"
36 41

  
37
PATCHES="${FILESDIR}/${PN}-2.0-setup.patch"
42
PATCHES="${FILESDIR}/${PN}-3.0-setup.patch"
38 43

  
39 44
src_prepare() {
40
	default
45
	default_src_prepare
41 46

  
42 47
	mv ${PN}.py ${PN} || die
43 48

  
44
#	rm -rf "${S}/Nagstamon/thirdparty/Xlib/" || die
45
	rm -rf "${S}/Nagstamon/thirdparty/keyring/" || die
49
	rm -rf "${S}/Nagstamon/thirdparty/Xlib/" || die
46 50
}
Thank you!