ports/textproc/py-CommonMark/files/patch-setup.py
Romain Tartière 2c93a03bbc
textproc/py-CommonMark: Allow installation with textproc/cmark
Both ports install bin/cmark.  Users of textproc/py-CommonMark are
supposely more interested in the python module rather than the command
line tool: nothing in the ports tree seems to use bin/cmark from this
port.

Rename the command to cmark-py to fix conflict

PR:		274848
Reported by:	jcfyecrayz@liamekaens.com
2023-11-10 15:54:11 -10:00

11 lines
326 B
Python

--- setup.py.orig 2023-11-11 01:20:49 UTC
+++ setup.py
@@ -48,7 +48,7 @@ setup(
keywords=["markup", "markdown", "commonmark"],
entry_points={
'console_scripts': [
- 'cmark = commonmark.cmark:main',
+ 'cmark-py = commonmark.cmark:main',
]
},
cmdclass={'test': Test},