Giter VIP home page Giter VIP logo

Comments (6)

certik avatar certik commented on August 29, 2024 1

Do we have some example of a Conda package that uses fpm?

I think there is a number of issues:

  • Dependencies must be packaged as Conda
  • Alternatively, they should be pre-downloaded.
  • They should not be downloading during the build (as the currently do)

The same issue will happen when packaging for Debian and other distros. They like to have a clean upstream tarball, and then no downloads happening during the build. So we need to improve fpm to be able to provide that, one way or another.

from fpm.

everythingfunctional avatar everythingfunctional commented on August 29, 2024

What's required for a Conda package?

from fpm.

certik avatar certik commented on August 29, 2024

Here is a Conda package for my dftatom Fortran package:

https://github.com/conda-forge/dftatom-feedstock/

The main config file:

https://github.com/conda-forge/dftatom-feedstock/blob/5f4e97e3c089337b5a8e4c9be6c2c7f36dca8c6c/recipe/meta.yaml

Linux / macOS build script:

https://github.com/conda-forge/dftatom-feedstock/blob/5f4e97e3c089337b5a8e4c9be6c2c7f36dca8c6c/recipe/build.sh

And Windows build script:

https://github.com/conda-forge/dftatom-feedstock/blob/5f4e97e3c089337b5a8e4c9be6c2c7f36dca8c6c/recipe/bld.bat

All of which could be generated. The build process could simply just call fpm on all platforms.

from fpm.

everythingfunctional avatar everythingfunctional commented on August 29, 2024

That seems like it wouldn't actually require any changes to FPM.

from fpm.

certik avatar certik commented on August 29, 2024

One still has to generate things like "description", "name" (both of which fpm knows), and the proper template to call fpm. But yes, it should be a simple backend to fpm.

from fpm.

awvwgk avatar awvwgk commented on August 29, 2024

Now that we have a fpm version at conda-forge, packaging fpm projects is quite straight-forward except for some minor issues. Is there anything further required on the fpm side?

from fpm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.