-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Multiple, Interdependent Python Image Processing Ports: py-opencv, etc. #6261
Conversation
Travis Build #10157 Errored. Lint results
Port libfaiss success on xcode10.3. Log The build timed out. |
Travis Build #10163 Errored. Lint results
Port libfaiss success on xcode10.3. Log The build timed out. |
Travis Build #10172 Errored. Lint results
Port libfaiss success on xcode10.3. Log The build timed out. |
Travis Build #10176 Errored. Lint results
Port libfaiss success on xcode10.3. Log The build timed out. |
Travis Build #10179 Errored. Lint results
Port libfaiss success on xcode10.3. Log The build timed out. |
@reneeotten I’ll do my best to apply your advice from #6314 (comment) to this PR in the next days/weeks. Suggestion: please find a good place to permanently document these pointers for Python Portfiles, so that they’re not in obscure PR threads. |
53a8c72
to
b106bbb
Compare
Travis Build #10469 Errored. Lint results
Port libfaiss success on xcode10.3. Log The build timed out. |
Travis Build #10470 Errored. Lint results
Port libfaiss success on xcode10.3. Log The build timed out. |
Travis Build #10480 Errored. Lint results
Port libfaiss's dependencies fail on xcode10.3. Log The build timed out. |
I believe that the submitted Portfiles in this PR all now adhere to these guidelines. |
Great - I'll take a look, give me a day or two. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some review comments below.
69aa329
to
f59f12d
Compare
passionate == good
|
Steve, I finally had a chance to review your opencv4 changes, and they look good overall. Thanks, too, for merging in the latest updates from yesterday! Let's eliminate the copy-paste for phase Change your subport's
And change the parent port's version to - well, you already know, after seeing that - but:
Be warned, I haven't actually tested these changes yet... so there could be a typo. But that's basically the gist. :-) |
* Replace python* variants as py*-opencv subports to allow Portfile dependencies
@mascguy Thanks—great idea. Yes, this works and installs correctly. For posterity, I was barking up the wrong tree trying to incorporate the source from pypi's homepage of the The work you and others did providing Thanks again. |
There was a problem hiding this 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, particularly the changes for port opencv4
. Anyone else?
@reneeotten Any final thoughts/comments? Given how much work Steve has put into this PR, it would be great to see it approved and merged. |
OK. Looks like you guys have settled on this. The CI system will never finish building it, so here goes, and good luck! |
Thanks Ken! And great job Steve, looking forward to collaborating with you in the future! |
Steve, none of the following is a big deal, as I'm working on more changes to the various opencv* ports anyway. So if any corrections are necessary, then no problem! But just wanted to confirm which variant(s) should exist for your new py3x-opencv subports:
Debug makes sense, to enable symbols in the Python bindings. But how about Also, since we're supporting multiple OpenCV versions, do you mind if I add the major version to the subport names? (Basically just appending a '4' suffix to each.) Cheers, |
Chris, Bottom line—I’ll defer to your preferences. FWIW, here was my thinking on these choices: I went through all the variants, and these ones were conscious choices: I am personally not a fan of keeping version numbers in port names and prefer to be up-to-date as possible, and am furthermore not aware of any dependency on, say, |
* Depends upon: * macports#6261 * macports#7514
Multiple Python Image Processing Ports: py-opencv, etc.
Description
Type(s)
Tested on
macOS 10.x
Xcode 8.x
Verification
Have you
port lint
?sudo port test
?sudo port -vst install
?