diff options
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/nagstamon/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/nagstamon/nagstamon-3.16.2.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/net-analyzer/nagstamon/Manifest b/net-analyzer/nagstamon/Manifest index e97449948e7b..7f1e10936ead 100644 --- a/net-analyzer/nagstamon/Manifest +++ b/net-analyzer/nagstamon/Manifest @@ -2,3 +2,4 @@ DIST nagstamon-3.12.0.tar.gz 581087 BLAKE2B 1f54decdd6cf1fdba8abd7f97102cd84d9f3 DIST nagstamon-3.14.0.tar.gz 585452 BLAKE2B a05c6a5a4a2b1e98d2831bef8000f81e306807f0706915d73bcf04f67a070fbd1787d0f98f8650b08bcd94a13b13f21c2b36ef79ee820bb526ff7074b5b5d996 SHA512 6896b0c1a58f1ee6f597ff5022d3bd675760a2c7a0403fc72f0e5c7edde6e2177f0eddb2af5a66e0fbe6166d85394fdcedc92cc0e64e0ac469681a380879a0ab DIST nagstamon-3.16.0.tar.gz 582759 BLAKE2B 7bda897d0c796229eb14c0482d86f717ad0c314024f4501cc4c6a7575baebfc0958207772b48be3374aa0ab466a29ef7bfd860f9a4d856ef1699b48679846e08 SHA512 08c9758c35bd930a009f63534e667ae7c87c84c76ef2041bc5f95fb962b98bd88567cd734b70f19affec8dc5038263fa7201359631ab2d8ba4437676a0304708 DIST nagstamon-3.16.1.tar.gz 582806 BLAKE2B 09ced97d5a9f81d89390160118d69a0289ab6089a5f88569dc23d945b8e9bd822b7bf8a518ed65c2823a703f8baa52d50b7dbacf18d331c9591bdcb14a690952 SHA512 6bee2e7bf849f4361c982d13bb2634f4e635176fc394c592cbcbab7e1ebb0eababcf11925602b03fbcd06d743fc21c1789b33e42a64e32b06f1bc07a60905deb +DIST nagstamon-3.16.2.tar.gz 582957 BLAKE2B a4c50f0d754590e81ee76bc8f97be8a15878575831b370fec68f713f8d09fcd48f54158f2656d5e46acb45c122054ff0e0cc4424ab39cbd438a1e7e713b27eb4 SHA512 af8e4f4db0be6966a93c636ad7a44da11d54376c866034dc2779d72250f6e22603f86aedd736cf4d476aae44950f0a02953c7c2dc71ec88d4685f46b05d11a29 diff --git a/net-analyzer/nagstamon/nagstamon-3.16.2.ebuild b/net-analyzer/nagstamon/nagstamon-3.16.2.ebuild new file mode 100644 index 000000000000..53cc8d22f9f9 --- /dev/null +++ b/net-analyzer/nagstamon/nagstamon-3.16.2.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 +} |