git: 151a5279de95 - main - textproc/py-sphinx-markdown-tables: Install LICENSE file to correct path

From: Wen Heping <wen_at_FreeBSD.org>
Date: Sun, 04 May 2025 09:34:49 UTC
The branch main has been updated by wen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=151a5279de959431beea9f8104c92804b4d958bb

commit 151a5279de959431beea9f8104c92804b4d958bb
Author:     John Hein <jcfyecrayz@liamekaens.com>
AuthorDate: 2025-05-04 09:23:47 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2025-05-04 09:33:57 +0000

    textproc/py-sphinx-markdown-tables: Install LICENSE file to correct path
    
    PR:             281042
    Reported by:    John Hein <jcfyecrayz@liamekaens.com>
---
 textproc/py-sphinx-markdown-tables/Makefile             |  3 +--
 textproc/py-sphinx-markdown-tables/files/patch-setup.py | 11 +++++++++++
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/textproc/py-sphinx-markdown-tables/Makefile b/textproc/py-sphinx-markdown-tables/Makefile
index 1babe66c37dd..e58b9fcbd7ef 100644
--- a/textproc/py-sphinx-markdown-tables/Makefile
+++ b/textproc/py-sphinx-markdown-tables/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	sphinx-markdown-tables
 PORTVERSION=	0.0.17
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
@@ -11,7 +11,6 @@ COMMENT=	Sphinx extension for rendering tables written in markdown
 WWW=		https://github.com/ryanfox/sphinx-markdown-tables
 
 LICENSE=	GPLv3
-LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}markdown>=3.4:textproc/py-markdown@${PY_FLAVOR}
 
diff --git a/textproc/py-sphinx-markdown-tables/files/patch-setup.py b/textproc/py-sphinx-markdown-tables/files/patch-setup.py
new file mode 100644
index 000000000000..ef1387c2193f
--- /dev/null
+++ b/textproc/py-sphinx-markdown-tables/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2025-05-04 09:13:44 UTC
++++ setup.py
+@@ -29,7 +29,7 @@ setup(
+     keywords='sphinx markdown tables',
+     packages=['sphinx_markdown_tables'],
+     install_requires=['markdown>=3.4'],
+-    data_files=[('', ['LICENSE'])],
++#    data_files=[('', ['LICENSE'])],
+     project_urls={
+         'Bug Reports': 'https://github.com/ryanfox/sphinx-markdown-tables/issues',
+         'Say Thanks!': 'https://foxrow.com',