Bug 262759 - Python ports that install conflicting files in general directories
Summary: Python ports that install conflicting files in general directories
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-24 12:06 UTC by Stefan Eßer
Modified: 2024-03-09 14:34 UTC (History)
28 users (show)

See Also:
koobs: maintainer-feedback? (python)
koobs: merge-quarterly?


Attachments
flask-collect.diff (1.51 KB, patch)
2022-03-30 21:07 UTC, Goran Mekić
meka: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Eßer freebsd_committer freebsd_triage 2022-03-24 12:06:28 UTC
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.
Comment 1 Jason W. Bacon freebsd_committer freebsd_triage 2022-03-24 14:37:19 UTC
Are these likely upstream bugs that should be corrected by changing the install location of the test directory, or excluding it from the install?  I poked around the sources for py-ont-fast5-api, but I don't see an obvious fix.  I'm not that savvy with python, though.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-03-25 13:51:34 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2f7a1179663ecb5686c73beb078c7b73fbb5bc78

commit 2f7a1179663ecb5686c73beb078c7b73fbb5bc78
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:05:44 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:37:20 +0000

    www/py-pysmartdl: Do not install test module

    - Bump PORTREVISION for package change

    PR:             262759
    Reported by:    se

 www/py-pysmartdl/Makefile                   |  1 +
 www/py-pysmartdl/files/patch-setup.py (new) | 11 +++++++++++
 2 files changed, 12 insertions(+)
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-03-25 13:51:42 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5d96194792aa1e3f1cae5ca0a71ba1c1372b71cc

commit 5d96194792aa1e3f1cae5ca0a71ba1c1372b71cc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:05:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:37:21 +0000

    www/py-quilt3: Do not install tests module

    - Bump PORTREVISION for package change

    PR:             262759
    Reported by:    se

 www/py-quilt3/Makefile             |  2 +-
 www/py-quilt3/files/patch-setup.py | 26 +++++++++-----------------
 2 files changed, 10 insertions(+), 18 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-03-25 13:51:45 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=584570a1714a5d373a89fac12a9661e93bf22646

commit 584570a1714a5d373a89fac12a9661e93bf22646
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:04:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:37:14 +0000

    security/py-pysodium: Do not install test module

    - Bump PORTREVISION for package change

    PR:             262759
    Reported by:    se

 security/py-pysodium/Makefile                   |  1 +
 security/py-pysodium/files/patch-setup.py (new) | 11 +++++++++++
 2 files changed, 12 insertions(+)
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-03-25 13:51:48 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=31f693f418e462beba8d729dcba5998042de5d35

commit 31f693f418e462beba8d729dcba5998042de5d35
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:03:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:37:11 +0000

    net/py-suds-jurko: Do not install tests module

    - Bump PORTREVISION for package change

    PR:             262759
    Reported by:    se

 net/py-suds-jurko/Makefile             |  2 +-
 net/py-suds-jurko/files/patch-setup.py | 11 ++++++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)
Comment 6 commit-hook freebsd_committer freebsd_triage 2022-03-25 13:52:51 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=42f449ea71b8354464737d34180c97bd102c5db4

commit 42f449ea71b8354464737d34180c97bd102c5db4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:05:37 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:37:20 +0000

    www/py-instabot: Do not install tests module

    - Bump PORTREVISION for package change

    PR:             262759
    Reported by:    se

 www/py-instabot/Makefile                   | 2 +-
 www/py-instabot/files/patch-setup.py (new) | 9 +++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)
Comment 7 commit-hook freebsd_committer freebsd_triage 2022-03-25 13:52:54 UTC
A commit in branch main references this bug:

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

commit dfc2536f7da14c9797337dce2f8acc995fcb778f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:04:38 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:37:16 +0000

    textproc/py-pybtex: Do not install tests module

    - Bump PORTREVISION for package change

    PR:             262759
    Reported by:    se

 textproc/py-pybtex/Makefile                   |  1 +
 textproc/py-pybtex/files/patch-setup.py (new) | 11 +++++++++++
 2 files changed, 12 insertions(+)
Comment 8 commit-hook freebsd_committer freebsd_triage 2022-03-25 13:52:57 UTC
A commit in branch main references this bug:

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

commit c7f290509443e8406bbe16ac5f160abedea8da08
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:00:15 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:37:04 +0000

    graphics/py-beziers: Do not install test module

    - Bump PORTREVISION for package change

    PR:             262759
    Reported by:    se

 graphics/py-beziers/Makefile                   |  1 +
 graphics/py-beziers/files/patch-setup.py (new) | 11 +++++++++++
 2 files changed, 12 insertions(+)
Comment 9 commit-hook freebsd_committer freebsd_triage 2022-03-25 13:53:00 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=14ee5be8126f984c9f810c8f72df6ced0e38be36

commit 14ee5be8126f984c9f810c8f72df6ced0e38be36
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:00:04 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:37:01 +0000

    devel/py-simpleparse: Do not install examples and tests modules

    - Bump PORTREVISION for package change

    PR:             262759
    Reported by:    se

 devel/py-simpleparse/files/patch-setup.py (new) | 11 +++++++++++
 1 file changed, 11 insertions(+)
Comment 10 commit-hook freebsd_committer freebsd_triage 2022-03-25 13:53:03 UTC
A commit in branch main references this bug:

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

commit b32108b9fb2bdd9b8017dca7ca409f8b88e5e604
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:00:57 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:37:06 +0000

    math/py-iohexperimenter: Do not install tests module

    - Bump PORTREVISION for package change

    PR:             262759
    Reported by:    se

 math/py-iohexperimenter/Makefile                   |  1 +
 math/py-iohexperimenter/files/patch-setup.py (new) | 11 +++++++++++
 2 files changed, 12 insertions(+)
Comment 11 commit-hook freebsd_committer freebsd_triage 2022-03-25 13:53:05 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7f8d39f299d312c0d6fd1bf27b455329d139f32a

commit 7f8d39f299d312c0d6fd1bf27b455329d139f32a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:00:07 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:37:02 +0000

    devel/py-userpath: Do not install tests module

    - Bump PORTREVISION for package change

    PR:             262759
    Reported by:    se

 devel/py-userpath/Makefile       | 1 +
 devel/py-userpath/files/setup.py | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
Comment 12 commit-hook freebsd_committer freebsd_triage 2022-03-25 13:53:09 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=96b2fab2572eabef7f6e5d2f480ee75d31c7f7c7

commit 96b2fab2572eabef7f6e5d2f480ee75d31c7f7c7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 12:47:28 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:36:49 +0000

    databases/py-mycli: Do not install test module

    - Bump PORTREVISION for package change

    PR:             262759
    Reported by:    se

 databases/py-mycli/Makefile             | 1 +
 databases/py-mycli/files/patch-setup.py | 9 +++++++++
 2 files changed, 10 insertions(+)
Comment 13 commit-hook freebsd_committer freebsd_triage 2022-03-25 13:53:16 UTC
A commit in branch main references this bug:

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

commit b97f894b67680e272ed40b1d74b0e01d0df3b9a5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 12:59:30 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:36:52 +0000

    devel/py-cachy: Do not install tests module

    - Bump PORTREVISION for package change

    PR:             262759
    Reported by:    se

 devel/py-cachy/Makefile             |  1 +
 devel/py-cachy/files/patch-setup.py | 12 +++++++++++-
 2 files changed, 12 insertions(+), 1 deletion(-)
Comment 14 commit-hook freebsd_committer freebsd_triage 2022-03-25 13:53:20 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=59cb7c1ce02c746c2afc3526aca9ba6375d092a1

commit 59cb7c1ce02c746c2afc3526aca9ba6375d092a1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 12:59:50 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:36:58 +0000

    devel/py-pastel: Do not install tests module

    - Bump PORTREVISION for package change

    PR:             262759
    Reported by:    se

 devel/py-pastel/Makefile                   |  1 +
 devel/py-pastel/files/patch-setup.py (new) | 11 +++++++++++
 2 files changed, 12 insertions(+)
Comment 15 Po-Chuan Hsieh freebsd_committer freebsd_triage 2022-03-25 14:43:23 UTC
(In reply to Jason W. Bacon from comment #1)

You could move the test into ont_fast5_api or exclude them from installation.
I'll choose the latter.
You could patch setup.py just like I did in 96b2fab2572eabef7f6e5d2f480ee75d31c7f7c7 (databases/py-mycli).
Comment 16 Jason W. Bacon freebsd_committer freebsd_triage 2022-03-25 16:28:18 UTC
(In reply to Po-Chuan Hsieh from comment #15)

I just saw the exclude= option in your patch and it works for me.  Thanks for the tip.
Comment 17 commit-hook freebsd_committer freebsd_triage 2022-03-25 16:40:54 UTC
A commit in branch main references this bug:

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

commit fad5d1754c6cacc578077dfa752196f3db3271f7
Author:     Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2022-03-25 16:37:29 +0000
Commit:     Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2022-03-25 16:37:29 +0000

    biology/py-ont-fast5-api: Update to 4.0.2

    Minor bug fix release

    Also disabled install of test directory, which was not properly
    installed under the package subdir and caused a conflict as a result

    PR:             262759

 biology/py-ont-fast5-api/Makefile                   |  4 ++--
 biology/py-ont-fast5-api/distinfo                   |  6 +++---
 biology/py-ont-fast5-api/files/patch-setup.py (new) | 11 +++++++++++
 3 files changed, 16 insertions(+), 5 deletions(-)
Comment 18 commit-hook freebsd_committer freebsd_triage 2022-03-25 17:13:02 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1b03164eb6b6f7aefc0167e15c8a80f4dbb4a6d2

commit 1b03164eb6b6f7aefc0167e15c8a80f4dbb4a6d2
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-03-25 17:09:31 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-03-25 17:12:44 +0000

    www/py-habanero: Remove tests from being installed

    PR:             262759
    Approved by:    se@

 www/py-habanero/Makefile | 4 ++++
 www/py-habanero/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)
Comment 19 commit-hook freebsd_committer freebsd_triage 2022-03-25 17:18:10 UTC
A commit in branch main references this bug:

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

commit d0df37ea60c23c7b5faa95dd6c046886ac655e78
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2022-03-25 17:15:55 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2022-03-25 17:17:18 +0000

    sysutils/py-mqttwarn: Update to 0.28.1

    This update just happens to fix the linked PR by no longer putting
    files into the top level site-packages directory.

    re: https://github.com/jpmens/mqttwarn/releases/tag/0.28.1

    PR:             262759

 sysutils/py-mqttwarn/Makefile | 2 +-
 sysutils/py-mqttwarn/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
Comment 20 Dan Langille freebsd_committer freebsd_triage 2022-03-25 17:23:59 UTC
(In reply to Po-Chuan Hsieh from comment #15)

I was also using your approach, but found that updating to a more recent version of sysutils/mqttwarn resolved the issue without that patch.
Comment 21 commit-hook freebsd_committer freebsd_triage 2022-03-25 17:29:15 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=76fd22169df50b612ebe08cd19911f4d31a71e44

commit 76fd22169df50b612ebe08cd19911f4d31a71e44
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-03-25 17:27:03 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-03-25 17:28:34 +0000

    science/py-oddt: Not install tests

    PR:             262759
    Reported by:    se@

 science/py-oddt/Makefile                   |  6 ++++--
 science/py-oddt/files/patch-setup.py (new) | 13 +++++++++++++
 2 files changed, 17 insertions(+), 2 deletions(-)
Comment 22 commit-hook freebsd_committer freebsd_triage 2022-03-25 17:46:21 UTC
A commit in branch main references this bug:

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

commit e89ee4ba47843b1bf9b3c0216fca3b9040618ed6
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-03-25 17:43:44 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-03-25 17:43:44 +0000

    misc/py-onnx-tf: Update 1.6.0 -> 1.10.0

    Also add patch that prevents tests from being installed into test/.

    PR:             262759
    Reported by:    se@ (test directory)

 misc/py-onnx-tf/Makefile                   |  2 +-
 misc/py-onnx-tf/distinfo                   |  6 +++---
 misc/py-onnx-tf/files/patch-setup.py (new) | 13 +++++++++++++
 3 files changed, 17 insertions(+), 4 deletions(-)
Comment 23 Yuri Victorovich freebsd_committer freebsd_triage 2022-03-25 17:56:29 UTC
(In reply to Stefan Eßer from comment #0)

Stefan,

I don't see that LICENCE is installed by finance/py-bitcoin.


Yuri
Comment 24 Stefan Eßer freebsd_committer freebsd_triage 2022-03-25 21:26:07 UTC
(In reply to Yuri Victorovich from comment #23)

Hi Yuri,

seems that was a bogus result returned by "pkg provides" for this port:

Name    : py38-bitcoin-1.1.42
Desc    : Python Bitcoin Tools
Repo    : FreeBSD
Filename: usr/local/share/licenses/py38-bitcoin-1.1.42/catalog.mk
          usr/local/share/licenses/py38-bitcoin-1.1.42/MIT
          usr/local/share/licenses/py38-bitcoin-1.1.42/LICENSE
          usr/local/lib/python3.8/site-packages/bitcoin/transaction.py
          usr/local/lib/python3.8/site-packages/bitcoin/stealth.py
          usr/local/lib/python3.8/site-packages/bitcoin/ripemd.py
          usr/local/lib/python3.8/site-packages/bitcoin/py3specials.py
          usr/local/lib/python3.8/site-packages/bitcoin/py2specials.py
          usr/local/lib/python3.8/site-packages/bitcoin/mnemonic.py
          usr/local/lib/python3.8/site-packages/bitcoin/main.py
          usr/local/lib/python3.8/site-packages/bitcoin/english.txt
          usr/local/lib/python3.8/site-packages/bitcoin/deterministic.py
          usr/local/lib/python3.8/site-packages/bitcoin/composite.py
          usr/local/lib/python3.8/site-packages/bitcoin/blocks.py
          usr/local/lib/python3.8/site-packages/bitcoin/bci.py
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/transaction.cpython-38.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/transaction.cpython-38.opt-1.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/stealth.cpython-38.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/stealth.cpython-38.opt-1.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/ripemd.cpython-38.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/ripemd.cpython-38.opt-1.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/py3specials.cpython-38.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/py3specials.cpython-38.opt-1.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/py2specials.cpython-38.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/py2specials.cpython-38.opt-1.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/mnemonic.cpython-38.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/mnemonic.cpython-38.opt-1.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/main.cpython-38.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/main.cpython-38.opt-1.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/deterministic.cpython-38.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/deterministic.cpython-38.opt-1.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/composite.cpython-38.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/composite.cpython-38.opt-1.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/blocks.cpython-38.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/blocks.cpython-38.opt-1.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/bci.cpython-38.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/bci.cpython-38.opt-1.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/__init__.cpython-38.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__pycache__/__init__.cpython-38.opt-1.pyc
          usr/local/lib/python3.8/site-packages/bitcoin/__init__.py
          usr/local/lib/python3.8/site-packages/bitcoin-1.1.42-py3.8.egg-info/top_level.txt
          usr/local/lib/python3.8/site-packages/bitcoin-1.1.42-py3.8.egg-info/dependency_links.txt
          usr/local/lib/python3.8/site-packages/bitcoin-1.1.42-py3.8.egg-info/SOURCES.txt
          usr/local/lib/python3.8/site-packages/bitcoin-1.1.42-py3.8.egg-info/PKG-INFO
          usr/local/bitcoin/english.txt
          usr/local/bin/pybtctool
          usr/local/LICENSE

I have verified that both a locally built port as well as a package downloaded with "pkg fetch" does not contain a file named "usr/local/LICENSE".

Testing again by querying for packages that contain "usr/local/LICENSE*":

# pkg provides usr/local/LICENSE
Name    : py38-transpopy-0.2.0
Desc    : Translate PO file strings with Google Translate API
Repo    : FreeBSD
Filename: usr/local/LICENSE

Name    : py38-pytest-datadir-1.3.1
Desc    : pytest plugin for test data directories and files
Repo    : FreeBSD
Filename: usr/local/LICENSE

Name    : py38-confluent-kafka-1.2.0
Desc    : Confluent Apache Kafka Python client
Repo    : FreeBSD
Filename: usr/local/LICENSE.txt

Name    : py38-bitcoin-1.1.42
Desc    : Python Bitcoin Tools
Repo    : FreeBSD
Filename: usr/local/LICENSE <==== (*)

Name    : py38-alive-progress-2.3.1
Desc    : Enhanced Python Progress Bar
Repo    : FreeBSD
Filename: usr/local/LICENSE

Sorry for the false positive generated by "Pkg provides".
I'll contact the author of the "provides" pkg plugin to let him look into this issue.
Comment 25 commit-hook freebsd_committer freebsd_triage 2022-03-30 10:21:29 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=855b1b0a36f43e40d9eb02da77ebfbfdbffc666d

commit 855b1b0a36f43e40d9eb02da77ebfbfdbffc666d
Author:     Kevin Golding <ports@caomhin.org>
AuthorDate: 2022-03-30 10:18:08 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2022-03-30 10:18:08 +0000

    www/py-django-star-ratings: Fix wayward test files installing

    * Prevent installing the test suite into the top level of Python's
      site-lib directory to avoid conflicting files.

    * Bump PORTREVISION due package change.

    PR:             262759 [1], 262798
    Reported by:    se [1]

 www/py-django-star-ratings/Makefile                   |  1 +
 www/py-django-star-ratings/files/patch-setup.py (new) | 11 +++++++++++
 2 files changed, 12 insertions(+)
Comment 26 commit-hook freebsd_committer freebsd_triage 2022-03-30 10:21:37 UTC
A commit in branch main references this bug:

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

commit ff62c1197457e70e44b011b2fd3809e6b40fd400
Author:     Kevin Golding <ports@caomhin.org>
AuthorDate: 2022-03-30 10:15:01 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2022-03-30 10:15:01 +0000

    www/py-django-registration-redux: Fix wayward test files installing

    * Prevent installing the test suite into the top level of Python's
      site-lib directory to avoid conflicting files.

    * Bump PORTREVISION due package change.

    PR:             262759 [1], 262800
    Reported by:    se [1]

 www/py-django-registration-redux/Makefile                   |  1 +
 www/py-django-registration-redux/files/patch-setup.py (new) | 11 +++++++++++
 2 files changed, 12 insertions(+)
Comment 27 Goran Mekić 2022-03-30 21:07:23 UTC
Created attachment 232829 [details]
flask-collect.diff

I hope it's OK that I fixed URL and license, too. Thank you for reporting!
Comment 28 commit-hook freebsd_committer freebsd_triage 2022-03-30 21:53:36 UTC
A commit in branch main references this bug:

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

commit a9d8c1dfdc01608dcc70e52538b230cbca242388
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2022-03-30 21:52:46 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-03-30 21:52:56 +0000

    graphics/py-pygraph: Do not install test module

    PR:             262759
    Reported by:    se

 graphics/py-pygraph/Makefile                   |  1 +
 graphics/py-pygraph/files/patch-setup.py (new) | 10 ++++++++++
 2 files changed, 11 insertions(+)
Comment 29 commit-hook freebsd_committer freebsd_triage 2022-03-30 21:55:40 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6ab3e86434d26aa9268a67ca18988baa6886e8b8

commit 6ab3e86434d26aa9268a67ca18988baa6886e8b8
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2022-03-30 21:54:42 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-03-30 21:54:42 +0000

    devel/py-yarg: Do not install test module

    PR:             262759
    Reported by:    se

 devel/py-yarg/Makefile                   |  1 +
 devel/py-yarg/files/patch-setup.py (new) | 11 +++++++++++
 2 files changed, 12 insertions(+)
Comment 30 Emanuel Haupt freebsd_committer freebsd_triage 2022-03-31 05:41:33 UTC
To prevent this from happening in the future I suggest adding some warning or even error messages in:

/usr/ports/Mk/Scripts/check-stagedir.sh
Comment 31 commit-hook freebsd_committer freebsd_triage 2022-03-31 18:37:14 UTC
A commit in branch main references this bug:

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

commit b87250c66d6ac9c35c641b141e8ca0608584dd7c
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-03-31 15:44:50 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-03-31 18:36:13 +0000

    textproc/lookatme: do not install tests, fix dependency requirements

    PR:             262759

 textproc/lookatme/Makefile                   |  4 ++++
 textproc/lookatme/files/patch-setup.py (new) | 11 +++++++++++
 2 files changed, 15 insertions(+)
Comment 32 commit-hook freebsd_committer freebsd_triage 2022-05-24 16:25:44 UTC
A commit in branch main references this bug:

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

commit b1e7cba4f51fc1aaa1816d81e293016a600019dc
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2022-05-24 16:24:45 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2022-05-24 16:24:45 +0000

    graphics/py-mpl-interactions: do not install tests

    PR:     262759

 graphics/py-mpl-interactions/Makefile                    |  1 +
 graphics/py-mpl-interactions/files/patch-setup.cfg (new) | 13 +++++++++++++
 2 files changed, 14 insertions(+)
Comment 33 commit-hook freebsd_committer freebsd_triage 2022-05-25 08:34:55 UTC
A commit in branch 2022Q2 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=066667e00dfb068f4c480f0b710f4ea838b530eb

commit 066667e00dfb068f4c480f0b710f4ea838b530eb
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2022-05-24 16:24:45 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2022-05-25 08:32:31 +0000

    graphics/py-mpl-interactions: do not install tests

    PR:     262759
    (cherry picked from commit b1e7cba4f51fc1aaa1816d81e293016a600019dc)

 graphics/py-mpl-interactions/Makefile                    |  1 +
 graphics/py-mpl-interactions/files/patch-setup.cfg (new) | 13 +++++++++++++
 2 files changed, 14 insertions(+)
Comment 34 commit-hook freebsd_committer freebsd_triage 2022-09-29 04:42:25 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=946e50159ff14dbf1b82738f4c7467013829949c

commit 946e50159ff14dbf1b82738f4c7467013829949c
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2022-09-29 04:36:48 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2022-09-29 04:36:48 +0000

    finance/py-ebaysdk: Fix install conflict

    - py-ebaysdk was installed test and sample files to general directories
    - Bump PORTREVISION
    - Bump PORTREVISION of finance/odoo and finance/odoo14
    - finance/odoo fix a problem with werkzeug dependency
    PR:             262759

 finance/odoo/Makefile       | 4 +++-
 finance/odoo14/Makefile     | 3 ++-
 finance/py-ebaysdk/Makefile | 7 +++++--
 3 files changed, 10 insertions(+), 4 deletions(-)
Comment 35 commit-hook freebsd_committer freebsd_triage 2023-09-02 15:41:52 UTC
A commit in branch main references this bug:

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

commit d75177416f4d5716aa75eb78ddc92cb68e6a1cfc
Author:     Vinícius Zavam <egypcio@FreeBSD.org>
AuthorDate: 2023-09-02 15:37:23 +0000
Commit:     Vinícius Zavam <egypcio@FreeBSD.org>
CommitDate: 2023-09-02 15:37:23 +0000

    net/py-sbws: update 1.3.0 to 1.7.0

      while here,
      * take care of #262759;
      * avoid expanding 'test' support, which depends on git and chutney.

    PR:             262759
    Reported by:    se@
    Sponsored by:   The Tor Project
    Sponsored by:   TorBSD Diversity Project, TDP

 net/py-sbws/Makefile | 17 +++++++++++++----
 net/py-sbws/distinfo |  6 +++---
 2 files changed, 16 insertions(+), 7 deletions(-)
Comment 36 commit-hook freebsd_committer freebsd_triage 2024-03-09 14:34:39 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2328d0f164b490e3d3d983ed2b424999ab2e2c35

commit 2328d0f164b490e3d3d983ed2b424999ab2e2c35
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-03-09 14:17:47 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-03-09 14:29:09 +0000

    www/py-django-smart-selects: Update to 1.6.0

    * Remove LICENSE from ${FILESDIR} as the license file is already
      supplied with the sdist.

    * devel/py-setuptools-scm is only required for build as it's also
      defined in setup.py.

    * Prevent the installation of the test suite to avoid installation
      conflicts. [1]

    Changelog:

    https://github.com/jazzband/django-smart-selects/releases/tag/1.6.0

    PR:             277000, 262759 [1]
    Approved by:    maintainer timeout (3+ weeks)

 www/py-django-smart-selects/Makefile               | 11 ++++-----
 www/py-django-smart-selects/distinfo               |  6 ++---
 www/py-django-smart-selects/files/LICENSE (gone)   | 28 ----------------------
 .../files/patch-setup.py (new)                     | 14 +++++++++++
 4 files changed, 22 insertions(+), 37 deletions(-)