void-linux / void-linux/void-packages
[RFC]: vdummy shortcut for transitional packages
Open
@paper42 is already working on this.
Since Dec 14, 2022.
enhancement
Stale
- Dominant language
- Shell
- Stars
- 3.4k
- Forks
- 2.8k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 299
Description
Every transitional package has at least these 3 common variables:
build_style=meta- otherwise the build would fail because of an empty packagedepends=...- usually${sourcepkg}>=${version}_${revision}, but often${version}_${revision}is left out or${sourcepkg}is replaced by something else, for example${sourcepkg}-develshort_desc+=" transitional package"or an equivalent, many versions currently exist in packages
a few examples:
antimicro_package() {
build_style=meta
depends="${sourcepkg}"
short_desc+=" - transitional dummy package"
}
Gifsicle_package() {
depends="gifsicle"
short_desc+=" (transitional dummy package)"
build_style=meta
}
This is a proposal for a vdummy function that fills these variables for the packager, for example:
antimicro_package() {
vdummy ${sourcepkg}
}
vdummy should take one argument - the package name and use it in $depends - depends="$1>=${version}_${revision}". vdummy will also unify $short_desc for transitional packages, I would propose to use the - (transitional dummy package) style.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.