Summary: | devel/py-sip: Allow concurrent python installations | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Matthieu Volat <mazhe> | ||||
Component: | Individual Port(s) | Assignee: | Raphael Kubo da Costa <rakuco> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | kde, koobs, python | ||||
Priority: | --- | Keywords: | easy, needs-patch, needs-qa, patch | ||||
Version: | Latest | Flags: | koobs:
maintainer-feedback+
|
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
> Would you consider doing that?
Yes, we would :-) This ended up being done in our experimental area51 repositories as part of the work to import PyQt5 into the tree. I expect it to land some time this month.
maintaner-feedback- to the patch, though. Just USE_PYTHON=concurrent is not enough, the {DATA,DOCS}DIR lines below also need to be removed. This has been done in area51. Comment on attachment 161976 [details]
Add concurrent to USE_PYTHON
@rakuco, please use maintain-approval to approve/reject individual attachments :)
Comment on attachment 161976 [details]
Add concurrent to USE_PYTHON
Whoops.
In the end, it makes more sense to land this separately from the PyQt5 commits. Doing that in a moment... A commit references this bug: Author: rakuco Date: Sun Dec 6 21:09:01 UTC 2015 New revision: 403164 URL: https://svnweb.freebsd.org/changeset/ports/403164 Log: py-sip: Allow concurrent Python installations. Add USE_PYTHON=concurrent and make the necessary adjustments: - Stop setting DATADIR and DOCSDIR, they are taken care of by USE_PYTHON=concurrent. - Use Python's compileall module instead of py_compile so that Python 3 byte-code does not contain ${STAGEDIR}. - Remove %%DATADIR%% from the plist, which was generated by py_compile. PR: 203734 Changes: head/devel/py-sip/Makefile head/devel/py-sip/pkg-plist Done, thanks everyone for the contributions! Assign to committer that resolved |
Created attachment 161976 [details] Add concurrent to USE_PYTHON Hi, While I'm trying to figure out to properly install PyQt4 for python 2 and 3, there's devel/py-sip which can be fixed quite easily with simply adding "concurrent" to USE_PYTHON. Would you consider doing that? Thanks,