Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

py-pyqt5 and py-spyder[-devel] #3951

Merged
merged 3 commits into from Mar 28, 2019
Merged

Conversation

reneeotten
Copy link
Contributor

Description

The latest py-pyqt5 release does no longer include PyQtWebEngine and, therefore, the webengine variant doesn't do anything anymore. This causes issue with py-spyder[-devel] that require this variant.

As discussed in ticket 58237, this PR adds the py-pyqt5-webengine subport to py-pyqt5, removes the no-longer-existing configure arguments, and obsoletes the webengine variant.

Finally, the py-spyder[-devel] ports are updated so that they now depend on the new py-pyqt5-webengine port. The additional benefit is that ports providing Spyder do not rely on non-default variants anymore, which should allow them to finish in CI runs and to build on the buildbot.

@mamoll for your consideration/testing; @mf2k this should fix your Spyder issues.

Type(s)
  • bugfix
  • enhancement
  • security fix
Tested on

macOS 10.14.3 18D109
Xcode 10.2 10E125

Verification

Have you

  • checked your Portfile with port lint?
  • tried existing tests with sudo port test?
  • tried a full install with sudo port -vst install?
  • tested basic functionality of all binary files?

@macportsbot
Copy link

Notifying maintainers:
@mamoll for port py-pyqt5.

Copy link
Member

@mamoll mamoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 looks good to me.

@macportsbot
Copy link

Travis Build #5776 Errored.

Lint results
--->  Verifying Portfile for py-pyqt5
Error: Line 79 repeats inclusion of PortGroup qmake5
--->  1 errors and 0 warnings found.
--->  Verifying Portfile for py-spyder-devel
--->  0 errors and 0 warnings found.
--->  Verifying Portfile for py-spyder
--->  0 errors and 0 warnings found.

The build timed out.

@macportsbot
Copy link

Travis Build #5777 Errored.

Lint results
--->  Verifying Portfile for py-pyqt5
Error: Line 79 repeats inclusion of PortGroup qmake5
--->  1 errors and 0 warnings found.
--->  Verifying Portfile for py-spyder-devel
--->  0 errors and 0 warnings found.
--->  Verifying Portfile for py-spyder
--->  0 errors and 0 warnings found.

Port py27-pyqt5's dependencies fail on xcode8.3. Log

The build timed out.

@@ -6,7 +6,7 @@ PortGroup cxx11 1.1

name py-pyqt5
version 5.12.1
revision 0
revision 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The revision should stay at 0 because you are adding a new port, not actually changing an existing port. There is need for people to rebuild py-pyqt5.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was initially planning on changing the webengine variant to install the py-pyqt5-webengine port, but that resulted in a circular dependency (or something) and didn't work. Right now, you're right that it doesn't need a revision increase; will change that.

python/py-pyqt5/Portfile Show resolved Hide resolved
python/py-pyqt5/Portfile Show resolved Hide resolved
- also remove the now absent QtWebEngine configure arguments from the
    main py-pyqt5 port
@reneeotten
Copy link
Contributor Author

reneeotten commented Mar 27, 2019

thanks @mamoll for the response, that is true indeed! I have just updated the PR so that it doesn't increase the revision of py-pyqt5 and with that I think this should be all set!

python/py-pyqt5/Portfile Show resolved Hide resolved
python/py-pyqt5/Portfile Show resolved Hide resolved
python/py-pyqt5/Portfile Show resolved Hide resolved
@mamoll mamoll merged commit 369e2eb into macports:master Mar 28, 2019
@macportsbot
Copy link

Travis Build #5797 Errored.

Lint results
--->  Verifying Portfile for py-pyqt5
Error: Line 79 repeats inclusion of PortGroup qmake5
--->  1 errors and 0 warnings found.
--->  Verifying Portfile for py-spyder-devel
--->  0 errors and 0 warnings found.
--->  Verifying Portfile for py-spyder
--->  0 errors and 0 warnings found.

Port py27-pyqt5's dependencies fail on xcode7.3. Log

The build timed out.

@reneeotten reneeotten deleted the pyqt5-and-spyder branch March 28, 2019 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintainer: open Affects an openmaintainer port type: bugfix
4 participants