diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-10-12 08:41:55 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-10-12 08:42:51 +0200 |
commit | d5d60b9389ae30276e40cfc86a22fdb6c2e6ae86 (patch) | |
tree | dc89bbebcfe59bd74dd31f4f3cafd5d66571de37 /net-analyzer | |
parent | net-analyzer/nagstamon: move ~x86 forward (diff) | |
download | gentoo-d5d60b9389ae30276e40cfc86a22fdb6c2e6ae86.tar.gz gentoo-d5d60b9389ae30276e40cfc86a22fdb6c2e6ae86.tar.bz2 gentoo-d5d60b9389ae30276e40cfc86a22fdb6c2e6ae86.zip |
net-analyzer/nagstamon: add 3.16.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/nagstamon/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/nagstamon/nagstamon-3.16.0.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/net-analyzer/nagstamon/Manifest b/net-analyzer/nagstamon/Manifest index ff966dc10895..ea1a769718a4 100644 --- a/net-analyzer/nagstamon/Manifest +++ b/net-analyzer/nagstamon/Manifest @@ -1,2 +1,3 @@ DIST nagstamon-3.12.0.tar.gz 581087 BLAKE2B 1f54decdd6cf1fdba8abd7f97102cd84d9f38e68391c31f413860d7c80410e38ee8929cf4d1bfbf7cca1fa54b9088409a47ba669c6ff78d8edecb3313a7e5690 SHA512 029d3dcf5ea5a512940b8e6ed0d3a146e727b3c8ffcbd530fc28f4a896a1a801bb0029a33b62e311c1b0c281810bd001f323c9e3e4c4fc9199bacc7b962ff794 DIST nagstamon-3.14.0.tar.gz 585452 BLAKE2B a05c6a5a4a2b1e98d2831bef8000f81e306807f0706915d73bcf04f67a070fbd1787d0f98f8650b08bcd94a13b13f21c2b36ef79ee820bb526ff7074b5b5d996 SHA512 6896b0c1a58f1ee6f597ff5022d3bd675760a2c7a0403fc72f0e5c7edde6e2177f0eddb2af5a66e0fbe6166d85394fdcedc92cc0e64e0ac469681a380879a0ab +DIST nagstamon-3.16.0.tar.gz 582759 BLAKE2B 7bda897d0c796229eb14c0482d86f717ad0c314024f4501cc4c6a7575baebfc0958207772b48be3374aa0ab466a29ef7bfd860f9a4d856ef1699b48679846e08 SHA512 08c9758c35bd930a009f63534e667ae7c87c84c76ef2041bc5f95fb962b98bd88567cd734b70f19affec8dc5038263fa7201359631ab2d8ba4437676a0304708 diff --git a/net-analyzer/nagstamon/nagstamon-3.16.0.ebuild b/net-analyzer/nagstamon/nagstamon-3.16.0.ebuild new file mode 100644 index 000000000000..53cc8d22f9f9 --- /dev/null +++ b/net-analyzer/nagstamon/nagstamon-3.16.0.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 ~x86" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/PyQt6[gui,multimedia,svg,widgets,${PYTHON_USEDEP}] + dev-python/PySocks[${PYTHON_USEDEP}] + dev-python/arrow[${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 +} |