summaryrefslogtreecommitdiff
path: root/net-analyzer/nagstamon
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/nagstamon')
-rw-r--r--net-analyzer/nagstamon/Manifest1
-rw-r--r--net-analyzer/nagstamon/nagstamon-3.14.0-r1.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/net-analyzer/nagstamon/Manifest b/net-analyzer/nagstamon/Manifest
index 2d47f862b4fa..7a235b611d63 100644
--- a/net-analyzer/nagstamon/Manifest
+++ b/net-analyzer/nagstamon/Manifest
@@ -4,5 +4,6 @@ DIST nagstamon-3.12.0.tar.gz 581087 BLAKE2B 1f54decdd6cf1fdba8abd7f97102cd84d9f3
DIST nagstamon-3.14.0.tar.gz 585452 BLAKE2B a05c6a5a4a2b1e98d2831bef8000f81e306807f0706915d73bcf04f67a070fbd1787d0f98f8650b08bcd94a13b13f21c2b36ef79ee820bb526ff7074b5b5d996 SHA512 6896b0c1a58f1ee6f597ff5022d3bd675760a2c7a0403fc72f0e5c7edde6e2177f0eddb2af5a66e0fbe6166d85394fdcedc92cc0e64e0ac469681a380879a0ab
EBUILD nagstamon-3.12.0-r1.ebuild 1946 BLAKE2B bba87fae070fbf9c38cab0add246b2053c24ffd73e324e4ba2115e00da21e181811a8ccc5d94c95b9071db94a295ec622b4d7faf0717318384fffb15cbfc7743 SHA512 06c572aa5f97d7d1fb8790278ff8294e9bfc7479cd1daf2212a7043f6a95b8f9111205cb37de6662fdf37b5c61a33a0a7262c73b4e6ba417d6f63f701253e4cf
EBUILD nagstamon-3.12.0.ebuild 1732 BLAKE2B ea3d36f71f7609fe992084911b8cf7d07e0e5bd639ded37bd01da6b69e6b92e906f3e1618f376486d47474b9d030ebd96e07981e6cd1710a7111a50750070a63 SHA512 8cb377ce52b2bca78818fbe461b0acc33af9997811f4aaf26556571866bc42775bdc62bc8253fce3ebe31b3245177cbd846d4b96aba3f3bbd8fb164935bfc9ef
+EBUILD nagstamon-3.14.0-r1.ebuild 1947 BLAKE2B 8c8c9db8eb314e97dfc07d14bfd6214fc52154f5c2a9a69c253ee76d0626f482efa8bf6c7b86bf63f729ee34835c82ae9d47eb8937010a4e359b50e0039c0782 SHA512 c51365177e1a3dfe6186d0da2e7760707a0d3d3223735883b0697dfdd107b54f3ef5d96fc5cd51319a6c36f8262171df213ff17562a5b4402a51c4fc07fc54b9
EBUILD nagstamon-3.14.0.ebuild 1946 BLAKE2B 9599823d25cbd7f23ff88e697a9911fd00cf7d5166ca17fe3ae9dad1ab39d2653c7f47d3da8eb726d7a22be4c03aebf49cd2cedd0fc2aa39f23999a6bf43bf41 SHA512 12cd76a397e6734d1f14a686e66f48cd2d1adf238be9649153e7585bc0e6f2bcbb8709bbfdb203f15a6a537461954a892f74e32caf8e5f2cb476fbd4ad671ecf
MISC metadata.xml 524 BLAKE2B 4c3356f78441905ea0100c68e3dc806032b4bfa3173b908b9f66c8ac196db9d3928dfac4dd68b1e0a25d7718bdc1209a7196a5d0adced5631f6f5c9734554866 SHA512 9ad5a7226bca2718b698c6af71d98ee34c0f7f422112d7ebb21c55c4f68bc021229d48a0aaa514304d84968cce1ca659f91632857faa35af18e465a989490981
diff --git a/net-analyzer/nagstamon/nagstamon-3.14.0-r1.ebuild b/net-analyzer/nagstamon/nagstamon-3.14.0-r1.ebuild
new file mode 100644
index 000000000000..1458041bbc81
--- /dev/null
+++ b/net-analyzer/nagstamon/nagstamon-3.14.0-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit desktop distutils-r1 virtualx
+
+distutils_enable_tests pytest
+
+MY_PN="Nagstamon"
+MY_P="${MY_PN}-${PV/_p/-}"
+
+DESCRIPTION="systray monitor for displaying realtime status of several monitoring systems"
+HOMEPAGE="https://nagstamon.de"
+SRC_URI="https://github.com/HenriWahl/Nagstamon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="qt6 test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/lxml[${PYTHON_USEDEP}]
+ qt6? ( dev-python/PyQt6[gui,multimedia,svg,widgets,${PYTHON_USEDEP}] )
+ !qt6? ( dev-python/PyQt5[gui,multimedia,svg,widgets,${PYTHON_USEDEP}] )
+ dev-python/PySocks[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/keyring[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/psutil[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/cryptography[${PYTHON_USEDEP}]
+ dev-python/secretstorage[${PYTHON_USEDEP}]
+ >=dev-python/python-xlib-0.19[${PYTHON_USEDEP}]
+ dev-python/requests-kerberos[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/pylint[${PYTHON_USEDEP}] )"
+
+PATCHES=( "${FILESDIR}/${PN}-3.14.0-setup.patch" )
+
+src_prepare() {
+ default_src_prepare
+
+ # pre-compressed already
+ rm Nagstamon/resources/nagstamon.1.gz || die
+ sed -e 's:\(nagstamon\.1\)\.gz:\1:' \
+ -e '/share/ s:^:#:' \
+ -i setup.py || die
+
+ mv ${PN}.py ${PN} || die
+
+ rm -rf "${S}/Nagstamon/thirdparty/Xlib/" || die
+}
+
+python_test() {
+ virtx epytest
+}
+
+distutils-r1_python_install_all() {
+ default
+
+ doman Nagstamon/resources/nagstamon.1
+ domenu Nagstamon/resources/nagstamon.desktop
+ doicon Nagstamon/resources/nagstamon.svg
+}