[Bug 262759] Python ports that install conflicting files in general directories

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 24 Mar 2022 12:06:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262759

            Bug ID: 262759
           Summary: Python ports that install conflicting files in general
                    directories
           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: se@FreeBSD.org
                CC: 0mp@FreeBSD.org, acm@FreeBSD.org, amdmi3@FreeBSD.org,
                    bofh@freebsd.org, changlp@cs.nctu.edu.tw,
                    contato@kanazuchi.com, dbaio@freebsd.org,
                    dvl@FreeBSD.org, egypcio@FreeBSD.org,
                    ehaupt@FreeBSD.org, gettoknowmi@yahoo.com,
                    gmm@tutanota.com, hamradio@FreeBSD.org,
                    jwb@freebsd.org, lbartoletti@FreeBSD.org,
                    makc@FreeBSD.org, meka@tilda.center, nc@FreeBSD.org,
                    ports@caomhin.org, ports@nicandneal.net,
                    puppet@FreeBSD.org, python@FreeBSD.org,
                    rm@FreeBSD.org, rozhuk.im@gmail.com,
                    sergey@akhmatov.ru, sunpoet@FreeBSD.org,
                    waitman@waitman.net, wen@FreeBSD.org, yuri@freebsd.org
                CC: 0mp@FreeBSD.org, acm@FreeBSD.org, amdmi3@FreeBSD.org,
                    bofh@freebsd.org, changlp@cs.nctu.edu.tw,
                    contato@kanazuchi.com, dbaio@freebsd.org,
                    dvl@FreeBSD.org, egypcio@FreeBSD.org,
                    ehaupt@FreeBSD.org, gettoknowmi@yahoo.com,
                    gmm@tutanota.com, hamradio@FreeBSD.org,
                    jwb@freebsd.org, lbartoletti@FreeBSD.org,
                    makc@FreeBSD.org, meka@tilda.center, nc@FreeBSD.org,
                    ports@caomhin.org, ports@nicandneal.net,
                    puppet@FreeBSD.org, python@FreeBSD.org,
                    rm@FreeBSD.org, rozhuk.im@gmail.com,
                    sergey@akhmatov.ru, sunpoet@FreeBSD.org,
                    waitman@waitman.net, wen@FreeBSD.org, yuri@freebsd.org

The following list of Python ports has been detected to install files in
directories that are not specific to the module being built.

I had created a PR before, that might have covered some of these files, but I
think this is a general issue that should probably be taken care of in the
framework.

The filename patterns of affected files are (relative to $LOCALBASE):

   lib/python[0-9].[0-9]/site-packages/examples/__init__.py
   lib/python[0-9].[0-9]/site-packages/samples/__init__.py
   lib/python[0-9].[0-9]/site-packages/test/__init__.py
   lib/python[0-9].[0-9]/site-packages/test_app/__init__.py
   lib/python[0-9].[0-9]/site-packages/tests/__init__.py
   lib/python[0-9].[0-9]/site-packages/tests/unit/__init__.py

# Ports with badly named duplicate files:

biology/py-ont-fast5-api        lib/python3.8/site-packages/test/__init__.py
comms/nanovna-saver             lib/python3.8/site-packages/test/__init__.py
databases/py-mycli              lib/python3.8/site-packages/test/__init__.py
devel/py-azure-datalake-store   lib/python3.8/site-packages/samples/__init__.py
devel/py-cachy                  lib/python3.8/site-packages/tests/__init__.py
devel/py-cymbal                 lib/python3.8/site-packages/tests/__init__.py
devel/py-filetype              
lib/python3.8/site-packages/examples/__init__.py
devel/py-grizzled               lib/python3.8/site-packages/test/__init__.py
devel/py-gs_api_client          lib/python3.8/site-packages/tests/__init__.py
devel/py-gtfslib                lib/python3.8/site-packages/test/__init__.py
devel/py-mime                   lib/python3.8/site-packages/tests/__init__.py
devel/py-molecule               lib/python3.8/site-packages/test/__init__.py
devel/py-pastel                 lib/python3.8/site-packages/tests/__init__.py
devel/py-phply                  lib/python3.8/site-packages/tests/__init__.py
devel/py-pyformance             lib/python3.8/site-packages/tests/__init__.py
devel/py-pyhashxx               lib/python3.8/site-packages/tests/__init__.py
devel/py-pyinquirer            
lib/python3.8/site-packages/examples/__init__.py
devel/py-pythonbrew             lib/python3.8/site-packages/tests/__init__.py
devel/py-pyzipper               lib/python3.8/site-packages/test/__init__.py
devel/py-simpleparse           
lib/python3.8/site-packages/examples/__init__.py
devel/py-streamparse            lib/python3.8/site-packages/test/__init__.py
devel/py-userpath               lib/python3.8/site-packages/tests/__init__.py
devel/py-yarg                   lib/python3.8/site-packages/tests/__init__.py
dns/py-cloudflare              
lib/python3.8/site-packages/examples/__init__.py
finance/py-ebaysdk              lib/python3.8/site-packages/samples/__init__.py
graphics/py-beziers             lib/python3.8/site-packages/test/__init__.py
graphics/py-mpl-interactions    lib/python3.8/site-packages/tests/__init__.py
graphics/py-pygeoapi            lib/python3.8/site-packages/tests/__init__.py
graphics/py-pygraph             lib/python3.8/site-packages/tests/__init__.py
math/py-iohexperimenter         lib/python3.8/site-packages/tests/__init__.py
misc/py-onnx-tf                 lib/python3.8/site-packages/test/__init__.py
net/py-sbws                     lib/python3.8/site-packages/tests/__init__.py
net/py-suds-jurko               lib/python3.8/site-packages/tests/__init__.py
net/py-tacacs_plus              lib/python3.8/site-packages/tests/__init__.py
science/py-oddt                 lib/python3.8/site-packages/tests/__init__.py
security/py-pysodium            lib/python3.8/site-packages/test/__init__.py
sysutils/py-mqttwarn            lib/python3.8/site-packages/tests/__init__.py
textproc/lookatme               lib/python3.8/site-packages/tests/__init__.py
textproc/py-pybtex              lib/python3.8/site-packages/tests/__init__.py
textproc/py-readchar           
lib/python3.8/site-packages/tests/unit/__init__.py
textproc/py-spylls              lib/python3.8/site-packages/tests/__init__.py
www/py-django-registration-redux
lib/python3.8/site-packages/test_app/__init__.py
www/py-django-smart-selects    
lib/python3.8/site-packages/test_app/__init__.py
www/py-django-star-ratings      lib/python3.8/site-packages/tests/__init__.py
www/py-flask-collect            lib/python3.8/site-packages/tests/__init__.py
www/py-habanero                 lib/python3.8/site-packages/test/__init__.py
www/py-instabot                 lib/python3.8/site-packages/tests/__init__.py
www/py-puppetboard              lib/python3.8/site-packages/test/__init__.py
www/py-pysmartdl                lib/python3.8/site-packages/test/__init__.py
www/py-quilt3                   lib/python3.8/site-packages/tests/__init__.py
www/py-turbogears2              lib/python3.8/site-packages/tests/__init__.py

In addition to these files there are still LICENSE files installed directly
into $LOCALBASE:

devel/py-pytest-datadir         LICENSE (new)
finance/py-bitcoin              LICENSE (new)
misc/py-alive-progress          LICENSE (PR 261158)
textproc/py-transpopy           LICENSE (PR 261157)

The net/py-confluent-kafka (PR 261160) port seems to have been fixed without
the PR being closed. 
The other 2 PRs above are still open after more than 2 months.

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