Steps
- Search if there is an existing package on https://github.com/conda-forge.
- Prepare the build environment.
mamba create -n build conda-build grayskull
- Activate the environment.
mamba activate build
- (for Python packages) Generate the recipe with
grayskull
. - (for R packages) Follow instructions in https://github.com/bgruening/conda_r_skeleton_helper/blob/main/README.md to generate the recipes.
- Check if the generated recipe is correct and conform to https://github.com/conda-forge/staged-recipes/blob/main/.github/pull_request_template.md.
- Build the recipe.
conda-build --R <R version> <path/to/new/recipe>
- Install it locally to test.
mamba install --use-local <recipe name>
- Move the recipe directory to
staged-recipes/recipes
. - Create pull request on GitHub.com.