Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2024 02:41:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281042] textproce/py-sphinx-markdown-tables: LICENSE file installed to ${PREFIX}/LICENSE
Message-ID:  <bug-281042-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281042

            Bug ID: 281042
           Summary: textproce/py-sphinx-markdown-tables: LICENSE file
                    installed to ${PREFIX}/LICENSE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com

textproce/py-sphinx-markdown-tables installs a LICENSE file to
${PREFIX}/LICENSE after the ports f7213edc202f27211c7400fc59049012cfd72c42
commit (Mar 18, 2024).

That is the wrong place for that file, of course.  But it should not be
installed at all there as the license framework (bsd.license.mk) does the r=
ight
things to install the license files in the right place

 - ${PREFIX}/LICENSE is a verbatim copy of
${PREFIX}/share/licenses/py*-sphinx-markdown-tables-<ver>/GPLv3
 - it is a verbatim copy of Templates/Licenses/GPLv3

It looks like the Mar 18, 2024 commit removed files/patch-setup.py which
prevented the install of LICENSE to ${PREFIX}/LICENSE, by commenting out
'data_files' in setup.py.

The fix is to restore files/patch-setup.py

Also LICENSE_FILE is not needed:

diff --git a/textproc/py-sphinx-markdown-tables/Makefile
b/textproc/py-sphinx-markdown-tables/Makefile
index 6a3821d61d3b..fb55ad431b18 100644
--- a/textproc/py-sphinx-markdown-tables/Makefile
+++ b/textproc/py-sphinx-markdown-tables/Makefile
@@ -10,7 +10,6 @@ COMMENT=3D      Sphinx extension for rendering tables wri=
tten
in markdown
 WWW=3D           https://github.com/ryanfox/sphinx-markdown-tables

 LICENSE=3D       GPLv3
-LICENSE_FILE=3D  ${WRKSRC}/LICENSE

 RUN_DEPENDS=3D=20=20
${PYTHON_PKGNAMEPREFIX}markdown>=3D3.4:textproc/py-markdown@${PY_FLAVOR}

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281042-7788>