Opened 8 years ago
Closed 8 years ago
#53090 closed enhancement (fixed)
py-pyqt* multiple Qt depspecs
Reported by: | RJVB (René Bertin) | Owned by: | mkae (Marko Käning) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | mkae (Marko Käning), jmroot (Joshua Root), gnw3 |
Port: | py-pyqt4 py-pyqt5 |
Description
As discussed on the ML, the py-pyqt* ports have multiple dependencies declared on the same Qt port(s), which is redundant.
The attached patches fix this by including the Qt PortGroup only for the subports that actually need it. Since this is after including the Python PG, the depends_lib reset done by that PortGroup is no longer an issue either.
Neither Qt PG redefines the configure mechanism (and the subports define their own anyway), so it's safe to include the Qt PortGroups last.
Attachments (3)
Change History (18)
Changed 8 years ago by RJVB (René Bertin)
Attachment: | py-pyqt4.diff added |
---|
comment:1 Changed 8 years ago by RJVB (René Bertin)
Changed 8 years ago by RJVB (René Bertin)
Attachment: | py-pyqt5.diff added |
---|
comment:2 Changed 8 years ago by RJVB (René Bertin)
py*-pyqt5 need a revbump because we forgot that mcalhoun's Qt5 portgroup only declares a dependency on the QtBase component, leading to significant feature-loss and non-reproducible builds (py-pyqt builds wrappers for all installed Qt components).
comment:3 follow-up: 7 Changed 8 years ago by mkae (Marko Käning)
The attached patch for Qt5 isn't applying anymore.
comment:4 Changed 8 years ago by mkae (Marko Käning)
Port: | py-pyqt4, py-pyqt5 → py-pyqt4 py-pyqt5 |
---|
comment:6 Changed 8 years ago by mkae (Marko Käning)
Owner: | set to mkae |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:7 Changed 8 years ago by RJVB (René Bertin)
comment:8 Changed 8 years ago by RJVB (René Bertin)
Apparently not exactly so; a fixed version is on its way.
comment:9 Changed 8 years ago by gnw3
Cc: | gnw3 added |
---|
comment:10 Changed 8 years ago by RJVB (René Bertin)
Marko missed 2 crucial lines in his latest commit causing portindex to fail. Attached is the fixed version if anyone can commit this before he can get around to doing that.
comment:11 Changed 8 years ago by netgamer7 (Roger Ward)
Resolution: | fixed |
---|---|
Status: | closed → reopened |
is reopening this appropriate? Please let me know if not, and I won't do this again if something is broken. @rjvb 's fix works for me.
comment:13 Changed 8 years ago by mkae (Marko Käning)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:14 Changed 8 years ago by eborisch (Eric A. Borisch)
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:15 Changed 8 years ago by mkae (Marko Käning)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
NB: a revbump isn't necessary for py*-pyqt4