kiss-community / repo

KISS Linux - Unofficial Repositories, mirror of https://codeberg.org/kiss-community/repo
https://kisslinux.org
MIT License
39 stars 17 forks source link

proposal: provides system #88

Open git-bruh opened 1 year ago

git-bruh commented 1 year ago

Add a provides system that allows a single package to act as a provider for multiple packages

Eg, zig needs llvm built with all targets so

zig would depend on llvm-fat llvm-fat would be a provider of llvm as well as llvm-fat

Two packages that provide atleast one common package should be rejected during installation instead of making alternatives

aabacchus commented 1 year ago

I like checking in the manifest files; then you can do something along the lines of

IFS=:
find $KISS_PATH -name manifest -exec grep -l "$1" {} \;
git-bruh commented 1 year ago

@aabacchus I think you misunderstood, check the edit

aabacchus commented 1 year ago

Ah.

Ogromny commented 1 year ago

Like virtual package of Gentoo ?

git-bruh commented 1 year ago

@Ogromny yes

git-bruh commented 1 year ago

https://codeberg.org/kiss-community/repo/issues/88