Re: maintaining packages in macports vs. in a language package manager

2024-03-11 Thread Sergio Had
From my limited experience, most of OCaml ports are pretty trivial to write portfiles even by hand. (This does not apply to heavy and complex stuff like coq, of course.) You just need to pick the right build system and use existing port examples. But yes, automatic parsing would be helpful to

Re: maintaining packages in macports vs. in a language package manager

2024-03-10 Thread contextnerror ​
There was talk of bringing this feature to upt. https://github.com/macports/upt-macports/issues/46 On Mar 10, 2024, at 3:58 PM, Perry Metzger wrote: On 3/9/24 13:26, Zero King wrote: It seems that we are going with option 2 for ocaml ports now and many new ports have being added. Are you aware

Re: maintaining packages in macports vs. in a language package manager

2024-03-10 Thread Perry Metzger
On 3/9/24 13:26, Zero King wrote: It seems that we are going with option 2 for ocaml ports now and many new ports have being added. Are you aware of any tool like pypi2port that could help speed up the process of packaging new ocaml ports for MacPorts? So I'm not familiar with such a tool

Re: maintaining packages in macports vs. in a language package manager

2024-03-09 Thread Zero King
Hi Perry, On Fri, Nov 17, 2017 at 08:40:49AM +0100, Mojca Miklavec wrote: (2) Insist in installing separate ocaml-* packages as individual ports and mostly ignoring what "opam" does (apart from maybe providing a port for it). Note that we do have tools like "cpan2port" and "pip2port" that help

Re: maintaining packages in macports vs. in a language package manager

2017-11-17 Thread Ryan Schmidt
On Nov 17, 2017, at 01:40, Mojca Miklavec wrote: > The npm is > another example of this approach. We basically ignore javascript > packages, but since this is mostly useful for web development, we are > not really hurt. npm has the additional complications that a module can specify what range of

Re: maintaining packages in macports vs. in a language package manager

2017-11-16 Thread Mojca Miklavec
On 17 November 2017 at 07:11, Joshua Root wrote: > On 2017-11-17 13:15 , Perry E. Metzger wrote: >> I'm slowly cleaning up the OCaml ports. >> >> One of the things of note is that these days (and this wasn't true a >> couple of years ago), OCaml encourages the use of the "opam" package >> manager,

Re: maintaining packages in macports vs. in a language package manager

2017-11-16 Thread Joshua Root
On 2017-11-17 13:15 , Perry E. Metzger wrote: > I'm slowly cleaning up the OCaml ports. > > One of the things of note is that these days (and this wasn't true a > couple of years ago), OCaml encourages the use of the "opam" package > manager, which is something like the Ruby "Gems" system or