cardoe / cargo-ebuild

cargo extension that can generate ebuilds using the in-tree eclasses
Apache License 2.0
75 stars 13 forks source link

Updating ebuilds #16

Open kpcyrd opened 6 years ago

kpcyrd commented 6 years ago

It seems cargo ebuild is generating a new ebuild every time, it might be a good idea to use the old ebuild as a base

cardoe commented 6 years ago

Its going to be quite the project to parse an existing ebuild since its parsed as a shell script. Something a bit easier and more easily achieved would be #10 where the Cargo.toml could have extra metadata fields that would correspond to ebuild fields. This is how https://crates.io/crates/cargo-deb and https://crates.io/crates/cargo-rpm operate.

cardoe commented 4 years ago

Do you have an example of modifications you which you could persist between versions?

kpcyrd commented 4 years ago

Yes, all ebuilds in my overlay: https://github.com/kpcyrd/overlay/tree/master/net-analyzer