This is inspired by eb --new-pr
EasyBuild.
app-portage/pkgpr
exists in the ::apn
overlay: https://gitlab.com/APN-Pucky/gentoo-apn
Needed:
dev-util/pkgdev
dev-util/github-cli
Optional:
app-admin/sudo
>=app-portage/pkg-testing-tools-0.2.3
Update a single (ebuild) file(s):
user $ pkgpr -a APN-Pucky hepmc-3.2.6.ebuild hepmc-3.2.7.ebuild hepmc-9999.ebuild
produces following PR.
Submit new package:
user $ pkgpr -a APN-Pucky -r sci sci-physics/hoppet
produces following PR.
Automatic testing before commiting is possible with the --test
flag that triggers pkg-testing-tool
.
Just write yourself a script or alias.