Files
gentoo/sys-process/glances/files/glances-4.0.6-doc-install-path.patch
John Helmert III d243977905 sys-process/glances: add 4.0.6
Forward-port update check patch and convert (and remove) some install
path sed's into a patch.

Also drop the commented lists of unpackaged optfeature packages due to a
bunch of upstream dependency changes.

Signed-off-by: John Helmert III <ajak@gentoo.org>
2024-05-25 14:41:35 -07:00

21 lines
691 B
Diff

From b90ce653b99f4efa15e27f4a71a4e251d0b34d2c Mon Sep 17 00:00:00 2001
From: John Helmert III <ajak@gentoo.org>
Date: Sat, 25 May 2024 14:21:50 -0700
Subject: [PATCH] setup.py: install docs to versioned directory
Signed-off-by: John Helmert III <ajak@gentoo.org>
--- a/setup.py
+++ b/setup.py
@@ -31,7 +31,7 @@ with builtins.open('README.rst', encoding='utf-8') as f:
def get_data_files():
return [
(
- 'share/doc/glances',
+ f'share/doc/glances-{version}',
['AUTHORS', 'COPYING', 'NEWS.rst', 'README.rst', "SECURITY.md", 'CONTRIBUTING.md', 'conf/glances.conf'],
),
('share/man/man1', ['docs/man/glances.1']),
--
2.45.1