Skip to content

cprnc: use placement instead of destination for genf90 resource#2432

Merged
sethrj merged 2 commits intospack:developfrom
AlexanderRichert-NOAA:patch-31
Nov 15, 2025
Merged

cprnc: use placement instead of destination for genf90 resource#2432
sethrj merged 2 commits intospack:developfrom
AlexanderRichert-NOAA:patch-31

Conversation

@AlexanderRichert-NOAA
Copy link
Copy Markdown
Contributor

This PR use placement instead of destination for the genf90 resource in cprnc. This seems to be the only way to consistently have the path of the resource be correctly set, especially when using cached source code.

@AlexanderRichert-NOAA
Copy link
Copy Markdown
Contributor Author

@spackbot fix style

@spackbot-app
Copy link
Copy Markdown

spackbot-app bot commented Nov 14, 2025

Let me see if I can fix that for you!

@spackbot-app
Copy link
Copy Markdown

spackbot-app bot commented Nov 14, 2025

I was able to run spack style --fix for you!

spack style --fix
repos/spack_repo/builtin/packages/cprnc/package.py
repos/spack_repo/builtin/packages/estarlight/package.py
�[1;34m==> �[0mrunning flake8
�[1;34m==> �[0mrunning isort
�[1;34m==> �[0mrunning black
�[1;34m==> �[0mstyle checks passed
Keep in mind that I cannot fix your flake8 or mypy errors, so if you have any you'll need to fix them and update the pull request. If I was able to push to your branch, if you make further changes you will need to pull from your updated branch before pushing again.

I've updated the branch with style fixes.

@sethrj sethrj merged commit 0b47eb2 into spack:develop Nov 15, 2025
17 checks passed
AlexanderRichert-NOAA added a commit to AlexanderRichert-NOAA/spack-packages that referenced this pull request Nov 19, 2025
…k#2432)

* cprnc: use placement instead of destination for genf90 resource

* [@spackbot] updating style on behalf of AlexanderRichert-NOAA
mkrack pushed a commit to mkrack/spack-packages that referenced this pull request Dec 23, 2025
…k#2432)

* cprnc: use placement instead of destination for genf90 resource

* [@spackbot] updating style on behalf of AlexanderRichert-NOAA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants