summaryrefslogtreecommitdiff
path: root/sys-process/glances/files/glances-4.0.6-doc-install-path.patch
blob: 077cd0924c4b85333ab425c7d03428ea7df1a684 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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