Date: Wed, 05 May 2021 16:30:11 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 205056] Mk/Uses/python.mk: USE_PYTHON=autoplist fails to generate the correct plist when some tag is empty in setup.cfg Message-ID: <bug-205056-21822-sfYUpkoC7p@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-205056-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-205056-21822@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205056 Oleg Sidorkin <osidorkin@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |osidorkin@gmail.com --- Comment #2 from Oleg Sidorkin <osidorkin@gmail.com> --- Created attachment 224696 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224696&action=edit patch to add special handling for directoried with USE_PYTHON=autoplist Some python packages adds empty directories entries to the list of installed files. python.mk blindly copies these entries to the plist file, and then such plist produces some strange effects (e.g. pkg fails to calculate sha256). I've spotted this when tried to update py-buildbot port. Attached patch adds a check if the given entry is a directory and adds @dir prefix to directory entries. I can attach my version of buildbot port that reproduces this problem. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205056-21822-sfYUpkoC7p>
