Bug 205056

Summary: Mk/Uses/python.mk: USE_PYTHON=autoplist fails to generate the correct plist when some tag is empty in setup.cfg
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Ports FrameworkAssignee: freebsd-python (Nobody) <python>
Status: New ---    
Severity: Affects Only Me CC: antoine, arrowd, mva, ports-bugs, python
Priority: --- Keywords: needs-qa
Version: Latest   
Hardware: Any   
OS: Any   

Description Yuri Victorovich freebsd_committer 2015-12-06 11:51:24 UTC
For this very simple port:

This error occurs without the patch:
> # make check-plist
> ====> Checking for pkg-plist issues (check-plist)
> ===> Parsing plist
> ===> Checking for items in STAGEDIR missing from pkg-plist
> Error: Orphaned: @dir bandit
> ===> Checking for items in pkg-plist which are not in STAGEDIR
> Error: Missing: bandit
> ===> Error: Plist issues found.
> *** Error code 1

The cause is the empty bandit= tag in setup.cfg:
> [files]
> data_files = 
>         bandit =

I am not familiar with 'autoplist', somebody should take a look why this empty tag triggers the error in plist.
Comment 1 Gleb Popov freebsd_committer 2020-09-11 14:37:01 UTC
Is this still relevant? Yuri, can you assess?