Consider packaging and distribution on conda-forge
In addition to providing the source code and releases, it would be nice to also distribute pFUnit on conda-forge as a cross-platform distribution method, given that all of the build requirements
https://github.com/Goddard-Fortran-Ecosystem/pFUnit/blob/26dadb1157819ea1bd9c355c60ed52f42dd36432/README.md?plain=1#L39-L48
are already distributed on conda-forge.
This would have a beneficial impact on at least one library that I know of (c.f. https://github.com/Cambridge-ICCS/FTorch/pull/264).
I'm not opposed in principle. Could you outline what would need to be done on my end?
Note also that I've not been successful in getting Adobe licenses for some of the pFUnit stack, and some orgs don't like to play with the NOSA open source agreement.
Could you outline what would need to be done on my end?
@tclune sure.
- Fork https://github.com/conda-forge/staged-recipes
- Make a new branch
cp -r recipes/example recipes/pfunit- Read through the
recipes/pfunit/meta.yamland adapt the contents of it for what is needed for pFUnit. Add and commit your changes. - [Optional] Once done, run
pixi run lintto lint your recipe. - [Optional] Run
pixi run build-<your os>to build the recipe locally to verify it passes. - Open up a PR.
Feel free to tag me with questions if you'd like someone to look at if before asking for review.
The conda-forge docs for the process are here: https://conda-forge.org/docs/maintainer/adding_pkgs/
Note also that I've not been successful in getting Adobe licenses for some of the pFUnit stack, and some orgs don't like to play with the NOSA open source agreement.
NASA-1.3 is an SPDX license (https://spdx.org/licenses/NASA-1.3.html) so I think that should be fine.
conda-forge allows for even non-standard modified licenses (example).
I'm cc'ing in @pchakraborty so he can see this. We have a (simpler) package we want on conda, so we might be able to do that first for experience and then tackle pFUnit.
@mathomp4 @pchakraborty if you'd like examples of Fortran package recipes that I've added to conda-forge here's a few:
- https://github.com/conda-forge/collier-feedstock
- https://github.com/conda-forge/emela-feedstock
- https://github.com/conda-forge/ff-feedstock
- https://github.com/conda-forge/mpfun90-feedstock