summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2022-12-26 09:37:39 +0100
committerConrad Kostecki <conikost@gentoo.org>2022-12-26 14:40:24 +0100
commit1f729554b5fe009e1cbf1ad0c574f544de78c2fa (patch)
treef2443f8826715cca4a27bd4622697af6fdf49b57 /net-analyzer/nagstamon
parentmedia-video/mpv: require drm with wayland+vaapi (diff)
downloadgentoo-1f729554b5fe009e1cbf1ad0c574f544de78c2fa.tar.gz
gentoo-1f729554b5fe009e1cbf1ad0c574f544de78c2fa.tar.bz2
gentoo-1f729554b5fe009e1cbf1ad0c574f544de78c2fa.zip
net-analyzer/nagstamon: remove unused patches
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/28807 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-analyzer/nagstamon')
-rw-r--r--net-analyzer/nagstamon/files/nagstamon-3.0-setup.patch27
-rw-r--r--net-analyzer/nagstamon/files/nagstamon-3.4.1-unknown-version-id.patch14
2 files changed, 0 insertions, 41 deletions
diff --git a/net-analyzer/nagstamon/files/nagstamon-3.0-setup.patch b/net-analyzer/nagstamon/files/nagstamon-3.0-setup.patch
deleted file mode 100644
index 26bb22fec4df..000000000000
--- a/net-analyzer/nagstamon/files/nagstamon-3.0-setup.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-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/files/nagstamon-3.4.1-unknown-version-id.patch b/net-analyzer/nagstamon/files/nagstamon-3.4.1-unknown-version-id.patch
deleted file mode 100644
index a71d9d97e5b1..000000000000
--- a/net-analyzer/nagstamon/files/nagstamon-3.4.1-unknown-version-id.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Fix for unknown VERSION_ID which is now a fatal error in python
-3.7. Backported from upstream 638c7c7a22156ca7e542725d32dbbc71f2f008a9
-
---- a/Nagstamon/Helpers.py.~1~ 2020-01-24 16:12:12.000000000 +0100
-+++ b/Nagstamon/Helpers.py 2020-08-29 07:39:26.999988228 +0200
-@@ -454,7 +454,7 @@
- for property in os_release_file.read_text().splitlines():
- key, value = property.split('=', 1)
- os_release_dict[key] = value.strip('"').strip("'")
-- return (os_release_dict['ID'], os_release_dict['VERSION_ID'], os_release_dict['NAME'])
-+ return (os_release_dict['ID'], os_release_dict.get('VERSION_ID', 'unknown'), os_release_dict['NAME'])
- else:
- return False
- else: