Re: How to parse a Portfile?

2023-11-30 Thread Joshua Root
On 1/12/2023 11:27, Frank Stock wrote: Section 6.4.1 has an interesting bullet… "Ports API - API for Portfile parsing and execution” I would like to extract information from a Portfile such as, version, license, add_users, startupitem, post-destroot, etc. for analysis/processing in a Node.js

How to parse a Portfile?

2023-11-30 Thread Frank Stock
Section 6.4.1 has an interesting bullet… "Ports API - API for Portfile parsing and execution” I would like to extract information from a Portfile such as, version, license, add_users, startupitem, post-destroot, etc. for analysis/processing in a Node.js app. Thought I might be able to use a Tcl

Re: Getting updated cargo.crates

2023-11-30 Thread Herby G
You can check out `cargo2port` ( https://ports.macports.org/port/cargo2port/ ), and I have a similar utility here: https://github.com/herbygillot/cargo2ports On Thu, Nov 30, 2023 at 2:07 PM Austin Ziegler wrote: > I was opening a new PR to update a Rust dependency today and could not > figure

Re: MacPorts 2.9

2023-11-30 Thread Joshua Root
On 1/12/2023 07:08, Clemens Lang wrote: Hey Joshua, On Thu, Nov 30, 2023 at 07:06:51AM +1100, Joshua Root wrote: Just a heads up that I'm planning to create a new release branch and tag a 2.9.0 beta soon. Do you have a specific plan on when you're going to do this? I'm currently finishing

Re: MacPorts 2.9

2023-11-30 Thread Clemens Lang
Hey Joshua, On Thu, Nov 30, 2023 at 07:06:51AM +1100, Joshua Root wrote: > Just a heads up that I'm planning to create a new release branch and > tag a 2.9.0 beta soon. Do you have a specific plan on when you're going to do this? I'm currently finishing up the work on the automatic migration

Getting updated cargo.crates

2023-11-30 Thread Austin Ziegler
I was opening a new PR to update a Rust dependency today and could not figure out how to update the `cargo.crates` section. Digging through the cargo-fetch portgroup pointed me to https://github.com/macports/macports-contrib/tree/master/cargo2port/cargo2port.tcl, which fails to run because the