diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2017-09-14 13:12:54 +0200 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2017-09-14 13:12:54 +0200 |
commit | 2dd0bda4630437875239bd75dbe79f826e90dbcf (patch) | |
tree | 154722d1d8938d8e3d90bf1d561bd00eda67032c | |
parent | dev-python/requests-kerberos: Initial import, Nagstamon-3.x dependency (diff) | |
download | gentoo-2dd0bda4630437875239bd75dbe79f826e90dbcf.tar.gz gentoo-2dd0bda4630437875239bd75dbe79f826e90dbcf.tar.bz2 gentoo-2dd0bda4630437875239bd75dbe79f826e90dbcf.zip |
net-analyzer/nagstamon: Version bump to 3.0
Package-Manager: Portage-2.3.8, Repoman-2.3.3
RepoMan-Options: --force
-rw-r--r-- | net-analyzer/nagstamon/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/nagstamon/files/nagstamon-3.0-setup.patch | 27 | ||||
-rw-r--r-- | net-analyzer/nagstamon/nagstamon-3.0.ebuild | 50 |
3 files changed, 78 insertions, 0 deletions
diff --git a/net-analyzer/nagstamon/Manifest b/net-analyzer/nagstamon/Manifest index d4aa70190a28..80be04be2c69 100644 --- a/net-analyzer/nagstamon/Manifest +++ b/net-analyzer/nagstamon/Manifest @@ -1,3 +1,4 @@ DIST Nagstamon-1.0.1.tar.gz 455110 SHA256 e60a2b1fef842deb8377ace02df6791f3dcc5683d9dae4323de3f5f1f8a9893b SHA512 040f3ac03c4945b25345f36d4749903238e05001f40f2777afe5277588aababb24212b538890c4b0ff0e1edef9a950804deb93fb2111bc25c8a773a84b69c353 WHIRLPOOL 8d040c7bb1573451ec0bb7439f0795b8ec6003d292429d3a96a07bb68d0617b23838677c93183d22a9cea10620152b51a3e7d4940642560986d5890f98b13822 DIST Nagstamon-2.0.1.tar.gz 535814 SHA256 3d4b22190d47250b175a4a70b12391c694ba2399832320887e5909e1ce3dfd7b SHA512 f9c8ab928a78f289693ae58cd3dde6fa75dd66dc931dbec6a4affc35bd96f16c39a03cb441575c9ca42e810ae5962fc7226513b8cc2a17871e0365aa3a207db6 WHIRLPOOL fb1ab6f9c3ccef81f4d62f238bf998d98186ff24d44e2a41554a13f82a783e8a14a1ac21d046f179ef62347dd252cb34d818d032c0ef78d7f742fd45acbec033 +DIST Nagstamon-3.0.tar.gz 541842 SHA256 cf606078cdec66081d6b63a0d6dbc2c13cbeb1408df09d57c1bf4742b6eebd70 SHA512 21558b8bdd9464b4d6cfb1cb3cf759775595e108fa5ac81286d51c32415bcfbd8b3c439aa95433682867f0bb73669a4b051085a92c236f5eb9e48b84f2910fbe WHIRLPOOL 85f46f1933d451a881c5c5c7d8af27194cf155f2784be53d37f397513113e5ad398c377ba18edbd4c28eac06231f8788a2c4945f4fd1395b86b941ed879ac247 DIST Nagstamon-b7a91e68ca93ead4e5cfef22e2226c1ff9c7b52c.tar.gz 7021698 SHA256 0f3a6552d033ce91a5070ddb7570ce83c99f74b4e13f8e504f6d3fafc7b3f6a3 SHA512 f24d561127d6ae82acd084fbc4d7eeec6a31f0d37b123e42565347cd8eb2e8cac4f6c9ed77c50f8d16cc7f94fdf771404397ac7f847e7a7a094a7bb53c3fadab WHIRLPOOL 45d03e134687a7716a148d4cbff716cc8e933aef51eb9cdc46403f08243cc66afeb431eac2e1f18c8f0683ca4d5cf2bf8f9fd677f4d4df0f6e55a7b26b7ddda0 diff --git a/net-analyzer/nagstamon/files/nagstamon-3.0-setup.patch b/net-analyzer/nagstamon/files/nagstamon-3.0-setup.patch new file mode 100644 index 000000000000..26bb22fec4df --- /dev/null +++ b/net-analyzer/nagstamon/files/nagstamon-3.0-setup.patch @@ -0,0 +1,27 @@ +diff --git a/setup.py b/setup.py +index 267ced2..538c5bb 100644 +--- a/setup.py ++++ b/setup.py +@@ -37,7 +37,7 @@ if OS not in ['Windows', 'Darwin']: + NAME = NAME.lower() + VERSION = AppInfo.VERSION.replace('-', '.') + '.' + DIST + DIST_VERSION + +-NAGSTAMON_SCRIPT = 'nagstamon.py' ++NAGSTAMON_SCRIPT = 'nagstamon' + + # workaround to get directory of Qt5 plugins to add missing 'mediaservice' folder needed for audio on OSX and Windows + from PyQt5 import QtCore +@@ -130,12 +130,7 @@ setup(name=NAME, + packages=['Nagstamon', + 'Nagstamon.QUI', + 'Nagstamon.Servers', +- 'Nagstamon.thirdparty', +- 'Nagstamon.thirdparty.Xlib', +- 'Nagstamon.thirdparty.Xlib.ext', +- 'Nagstamon.thirdparty.Xlib.protocol', +- 'Nagstamon.thirdparty.Xlib.support', +- 'Nagstamon.thirdparty.Xlib.xobject'], ++ 'Nagstamon.thirdparty',], + package_dir={'Nagstamon': 'Nagstamon'}, + package_data={'Nagstamon': ['resources/*']}, + data_files=[('%s/share/man/man1' % sys.prefix, ['Nagstamon/resources/nagstamon.1.gz']), diff --git a/net-analyzer/nagstamon/nagstamon-3.0.ebuild b/net-analyzer/nagstamon/nagstamon-3.0.ebuild new file mode 100644 index 000000000000..866cc9000c98 --- /dev/null +++ b/net-analyzer/nagstamon/nagstamon-3.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit eutils python-r1 distutils-r1 + +MY_PN="Nagstamon" +MY_P="${MY_PN}-${PV/_p/-}" + +DESCRIPTION="status monitor for the desktop" +DESCRIPTION="systray monitor for displaying realtime status of several monitoring systems" +HOMEPAGE="https://nagstamon.ifw-dresden.de" +SRC_URI="https://nagstamon.ifw-dresden.de/files/stable/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,multimedia,svg,widgets,${PYTHON_USEDEP}] + dev-python/beautifulsoup:4[${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/cryptography[${PYTHON_USEDEP}] + dev-python/secretstorage[${PYTHON_USEDEP}] + >=dev-python/python-xlib-0.19[${PYTHON_USEDEP}] + dev-python/requests-kerberos[${PYTHON_USEDEP}] + dev-python/typing[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${MY_PN}" + +PATCHES="${FILESDIR}/${P}-setup.patch" + +src_prepare() { + default_src_prepare + + mv ${PN}.py ${PN} || die + + rm -rf "${S}/Nagstamon/thirdparty/Xlib/" || die +} |