sysutils/py-salt: Move man pages to share/man

This commit is contained in:
Kirill Ponomarev 2024-03-03 10:37:28 +01:00
parent 3ab81f2970
commit 3e456bacfa
2 changed files with 1 additions and 13 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= salt
PORTVERSION= 3006.7
PORTREVISION= 1
CATEGORIES= sysutils python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -1,13 +0,0 @@
--- setup.py.orig 2023-06-13 13:00:08 UTC
+++ setup.py
@@ -951,8 +951,8 @@ class SaltDistribution(distutils.dist.Distribution):
def _property_data_files(self):
# Data files common to all scenarios
data_files = [
- ("share/man/man1", ["doc/man/salt-call.1"]),
- ("share/man/man7", ["doc/man/salt.7"]),
+ ("man/man1", ["doc/man/salt-call.1"]),
+ ("man/man7", ["doc/man/salt.7"]),
]
if self.ssh_packaging or PACKAGED_FOR_SALT_SSH:
data_files[0][1].append("doc/man/salt-ssh.1")