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

sci-electronics/kicad: Fixup ebuild to support opencascade-7.5.2 #21918

Closed
wants to merge 1 commit into from

Conversation

zpuskas
Copy link
Contributor

@zpuskas zpuskas commented Aug 8, 2021

No description provided.

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @zpuskas
Areas affected: ebuilds
Packages affected: sci-electronics/kicad

sci-electronics/kicad: @zpuskas, @gentoo/proxy-maint

Linked bugs

Bugs linked: 800944


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else) assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Aug 8, 2021
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2021-08-08 18:44 UTC
Newest commit scanned: 6f55b7b
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/b8302579e0/output.html

if has_version ">=sci-libs/opencascade-7.5"; then
if has_version ">=sci-libs/opencascade-7.5.2"; then
Copy link
Contributor

@ionenwks ionenwks Aug 8, 2021

Choose a reason for hiding this comment

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

These >= don't mean much if it only works for "this" version. You can use ~ (aka ~cat/pkg-7.5.2, same for 7.5.1 below) to say "this version at any revision", and then limit in *DEPEND or else it will break again next opencascade version rather than say "don't upgrade opencascade yet".

For RDEPEND, given all slots are fine, feels kind of bad but guess can do:
occ? ( <sci-libs/opencascade-7.5.3:=[vtk(+)] ) (not <= to ensure it pickups potential 7.5.2 revisions)
Given there's a := operator and >=7.5.2[occ] couldn't build, a revbump shouldn't be necessary despite RDEPEND change.

I'd like to think there's a better way to do this, but haven't explored opencascade/kicad stuff to suggest anything, for now it's better than nothing anyway.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the suggestions. I'll apply them and revert back to -r1.

OpenCascade has this issue, I'm not sure if any of the packages using it found a better solution to this so far.

OpenCascade currently is hard to handle and some version pinning
is neccessary. This diff updates ebuild to support all current
OpenCasade versions in Portage.

Closes: https://bugs.gentoo.org/800944
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2021-08-09 03:39 UTC
Newest commit scanned: 3897a87
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/3bce761a07/output.html

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2021-08-09 03:49 UTC
Newest commit scanned: 7263eb5
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/a2421d8119/output.html

@gentoo-bot gentoo-bot closed this in ef75326 Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else)
Projects
None yet
4 participants