Bug 224739 - [exp-run] Update PyQt and SIP ports
Summary: [exp-run] Update PyQt and SIP ports
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Raphael Kubo da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-31 00:23 UTC by Raphael Kubo da Costa
Modified: 2018-01-02 20:26 UTC (History)
1 user (show)

See Also:
antoine: exp-run+


Attachments
Proposed patch (120.79 KB, patch)
2017-12-31 00:23 UTC, Raphael Kubo da Costa
no flags Details | Diff
Proposed patch (119.63 KB, patch)
2017-12-31 00:45 UTC, Raphael Kubo da Costa
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Kubo da Costa freebsd_committer 2017-12-31 00:23:51 UTC
Created attachment 189233 [details]
Proposed patch

kde@ would like an exp-run for an update to PyQt4, PyQt5 and SIP.

Patch (also attached): https://people.freebsd.org/~rakuco/exp-runs/pyqt5-5.9.2-v1.patch
Comment 1 Raphael Kubo da Costa freebsd_committer 2017-12-31 00:45:21 UTC
Created attachment 189234 [details]
Proposed patch

... and patch v2 is up: https://people.freebsd.org/~rakuco/exp-runs/pyqt5-5.9.2-v2.patch
Comment 3 commit-hook freebsd_committer 2018-01-02 12:53:09 UTC
A commit references this bug:

Author: rakuco
Date: Tue Jan  2 12:52:22 UTC 2018
New revision: 457851
URL: https://svnweb.freebsd.org/changeset/ports/457851

Log:
  Add a patch to fix the build with newer versions of SIP.

  We're currently testing an update to SIP 4.19.6, but it breaks qtiplot's build.

  This patch, obtained via Debian and Gentoo, allows the port to build with both
  SIP 4.19.2 (currently in the tree) as well as 4.19.6.

  In the future, we might look into disabling Python scripting support: it tends
  to break with almost every SIP update, and upstream has stopped releasing the
  source code for newer qtiplot releases.

  PR:		224739
  Obtained from:	https://anonscm.debian.org/git/debian-science/packages/qtiplot.git/tree/debian/patches/20_fix_FTBFS_sip4.19.patch
  Obtained from:	https://bugs.gentoo.org/641514#c2

Changes:
  head/math/qtiplot/files/patch-sip-4.19.6
Comment 4 commit-hook freebsd_committer 2018-01-02 13:29:42 UTC
A commit references this bug:

Author: rakuco
Date: Tue Jan  2 13:29:19 UTC 2018
New revision: 457852
URL: https://svnweb.freebsd.org/changeset/ports/457852

Log:
  Add upstream patch to fix the build with SIP 4.19.6.

  It works with both SIP 4.19.2 (currently in the tree) as well as the upcoming
  4.19.6.

  Thanks to tcberner for finding this patch.

  PR:		224739

Changes:
  head/devel/py-pykde4/files/patch-git_2d1eadf5
Comment 5 commit-hook freebsd_committer 2018-01-02 14:11:19 UTC
A commit references this bug:

Author: rakuco
Date: Tue Jan  2 14:10:50 UTC 2018
New revision: 457856
URL: https://svnweb.freebsd.org/changeset/ports/457856

Log:
  Add a Debian patch to finish fixing the build with SIP 4.19.6.

  The upstream patch from r457852 is necessary but not enough.

  PR:		224739
  Obtained from:	https://anonscm.debian.org/cgit/pkg-kde/kde-sc/pykde4.git/commit/debian/patches?id=9de587a159f47d30068c84127c06917594eaf2e0

Changes:
  head/devel/py-pykde4/files/patch-sip-4.19.6
Comment 6 Antoine Brodin freebsd_committer 2018-01-02 19:33:35 UTC
Exp-run looks fine.
Comment 7 commit-hook freebsd_committer 2018-01-02 20:22:39 UTC
A commit references this bug:

Author: rakuco
Date: Tue Jan  2 20:21:37 UTC 2018
New revision: 457921
URL: https://svnweb.freebsd.org/changeset/ports/457921

Log:
  Update SIP to 4.19.6, PyQt4 to 4.12.1 and PyQt5 to 5.9.2.

  Upstream no longer ships the contents of misc/py-qt5-doc, so the port has been
  removed.

  This is also a requirement for updating the Qt5 ports, as the PyQt5 version
  currently in the tree has license conflicts with later Qt versions.

  Big thanks to tcberner for doing most of the work here, and antoine for the
  exp-run.

  PR:		224739

Changes:
  head/MOVED
  head/Mk/Uses/pyqt.mk
  head/comms/py-qt5-serialport/Makefile
  head/databases/py-qt5-sql/Makefile
  head/databases/py-qt5-sql/pkg-plist
  head/devel/py-qt4/distinfo
  head/devel/py-qt4-core/Makefile
  head/devel/py-qt4-dbussupport/Makefile
  head/devel/py-qt5/Makefile
  head/devel/py-qt5/distinfo
  head/devel/py-qt5-core/Makefile
  head/devel/py-qt5-core/files/patch-configure.py
  head/devel/py-qt5-core/pkg-plist
  head/devel/py-qt5-designer/Makefile
  head/devel/py-qt5-designerplugin/Makefile
  head/devel/py-qt5-qscintilla2/Makefile
  head/devel/py-qt5-test/Makefile
  head/devel/py-sip/distinfo
  head/devel/py-sip/files/patch-hg_6b09a6d578e8
  head/graphics/py-qt5-svg/Makefile
  head/lang/py-qt5-qml/Makefile
  head/misc/Makefile
  head/misc/py-qt5-doc/
  head/multimedia/py-qt5-multimedia/Makefile
  head/multimedia/py-qt5-multimediawidgets/Makefile
  head/net/py-qt5-network/pkg-plist
  head/print/py-qt5-printsupport/Makefile
  head/textproc/py-qt5-xml/pkg-plist
  head/www/py-qt5-webkit/Makefile
  head/www/py-qt5-webkitwidgets/Makefile
  head/x11/py-qt4-opengl/Makefile
  head/x11/py-qt5-opengl/Makefile
  head/x11-toolkits/py-qt5-gui/Makefile
  head/x11-toolkits/py-qt5-gui/pkg-plist
  head/x11-toolkits/py-qt5-quick/pkg-plist
  head/x11-toolkits/py-qt5-widgets/Makefile