ports/devel/py-amalgamate/files/patch-setup.py
Fukang Chen 33e2061728 devel/py-amalgamate: Fix data_files install location
- Install data_files into ${DOCSDIR} instead of ${PREFIX}
- Allow concurrent installation for bin/amalgamate.py and ${DOCSDIR}

PR:		261159
Approved by:	lwhsu (python)
MFH:		2022Q1 (ports compliance)
2022-02-10 10:55:14 +00:00

11 lines
293 B
Python

--- setup.py.orig 2022-01-18 11:48:00 UTC
+++ setup.py
@@ -26,7 +26,7 @@ setup_kwargs = {
],
"zip_safe": False,
"scripts": ['amalgamate.py'],
- "data_files": [("", ['LICENSE', 'README.rst']),],
+ "data_files": [("%%DOCSDIR%%", ['LICENSE', 'README.rst']),],
}