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-sip4: fix installation with python3* #21240

Merged
merged 1 commit into from
Nov 11, 2023

Conversation

barracuda156
Copy link
Contributor

@barracuda156 barracuda156 commented Nov 6, 2023

Fixes: https://trac.macports.org/ticket/68643

Description

Unbreak py3*-sip4 installation.

@ryandesign Now I can build py310-pyqt4 with no issues.

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

macOS 10.6
Xcode 3.2

Verification

Have you

  • followed our Commit Message Guidelines?
  • squashed and minimized your commits?
  • checked that there aren't other open pull requests for the same change?
  • referenced existing tickets on Trac with full URL?
  • checked your Portfile with port lint --nitpick?
  • tried existing tests with sudo port test?
  • tried a full install with sudo port -vst install?
  • tested basic functionality of all binary files?
  • checked that the Portfile's most important variants haven't been broken?

@macportsbot
Copy link

Notifying maintainers:
@michaelld for port py-sip4.

@macportsbot macportsbot added type: bugfix maintainer: open Affects an openmaintainer port labels Nov 6, 2023
@@ -66,7 +66,7 @@ if {${name} ne ${subport}} {
checksums rmd160 9709eda79d7e0a73eca82e25cbbfd0af6da074c8 \
sha256 b39d93e937647807bac23579edbff25fe46d16213f708370072574ab1f1b4211 \
size 1056384
revision 1
revision 2
Copy link
Contributor

Choose a reason for hiding this comment

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

Revision should not be increased unless you've changed something that would be relevant for those users who were already able to install the port. It's explained in the MacPorts Guide.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How do we know that no one installed it since it was broken? Notice, it did install, but installation was wrong.

P. S. I am not gonna insist here, but IMO it should be rebased, since it may affect users who already installed the port.

Copy link
Contributor

Choose a reason for hiding this comment

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

Notice, it did install, but installation was wrong.

You're absolutely right, the revision needs to be increased.

Copy link
Contributor

Choose a reason for hiding this comment

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

I am not gonna insist here

Please do insist. I'm not infallible and in this case I did a poor drive-by review without understanding that the problem was not fixing a build failure. Fixing a build failure = don't increase revision; fixing wrong installed files = do increase revision.

python/py-sip4/Portfile Outdated Show resolved Hide resolved
@barracuda156
Copy link
Contributor Author

@ryandesign @reneeotten @jmroot Could we merge this now?

@reneeotten reneeotten merged commit 3b2bb6e into macports:master Nov 11, 2023
3 checks passed
@barracuda156 barracuda156 deleted the py-sip4 branch November 11, 2023 20:34
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
5 participants