Bug 262306 - devel/pycharm-pro: fix with Python ≠ 3.8
Summary: devel/pycharm-pro: fix with Python ≠ 3.8
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Thierry Thomas
URL:
Keywords:
Depends on:
Blocks: 261703
  Show dependency treegraph
 
Reported: 2022-03-02 21:44 UTC by Thierry Thomas
Modified: 2022-03-03 17:46 UTC (History)
1 user (show)

See Also:
guido: maintainer-feedback+


Attachments
Fix with Python ≠ 3.8 (3.03 KB, patch)
2022-03-02 21:44 UTC, Thierry Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas freebsd_committer freebsd_triage 2022-03-02 21:44:14 UTC
Created attachment 232215 [details]
Fix with Python ≠ 3.8

Do not replace hard-coded 3.8 in plist.

Remark: is it really necessary to install files related to non-installed Python and to Darwin?
Comment 1 Guido Kollerie 2022-03-03 09:58:01 UTC
(In reply to Thierry Thomas from comment #0)

> is it really necessary to install files related to non-installed Python and to Darwin?

I'm not entirely sure. However Intellij (=developer of PyCharm) found it necessary to include them in their linux distribution (=what we use here for the port) of PyCharm. Hence even on Linux files related to Darwin seem to have a purpose. 

BTW These files are part of pydevd which is a Python debugger with remote debugging capabilities. Maybe these files are required for that. It would also explain the different Python versions. Afte,r all you don't know what version is running on the remote machine.

Hence I would argue to leave them in.
Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2022-03-03 17:45:33 UTC
Committed, thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-03-03 17:46:09 UTC
A commit in branch main references this bug:

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

commit ae004f237ae31f545f50534d097407b91da05051
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-03-02 21:39:30 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-03-03 17:45:26 +0000

    devel/pycharm-pro: fix with Python ≠ 3.8

    PR:             262306
    Approved by:    guido (at) kollerie.com

 devel/pycharm-pro/pkg-plist | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)