Summary: | git-r3.eclass: Impossible to provide interactive input for repository | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Edward Kigwana <edwardwwgk> |
Component: | Eclasses | Assignee: | Michał Górny <mgorny> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | ionen |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | git-r3.eclass patch |
Description
Edward Kigwana
2021-02-19 00:32:07 UTC
Created attachment 687507 [details, diff] git-r3.eclass patch This patch enables prompts when required for: EAPI=7 PROPERTIES+=interactive inherit cmake-utils git-r3 PROPERTIES=interactive DESCRIPTION="Private Project" HOMEPAGE="https://repo.private.com/private_project" if [[ ${PV} == "9999" ]]; then EGIT_REPO_URI="https://repo.private.com/private_project.git" else EGIT_REPO_URI="https://repo.private.com/private_project.git" EGIT_COMMIT="v${PV}" KEYWORDS="~amd64 ~x86 ~arm" fi Checking PROPERTIES is not really valid (or requiring people to set them early). I would prefer that you added a dedicated EGIT_* variable for it (please don't forget to document it via eclassdoc comments). You may as well make the eclass set PROPERTIES+=" interactive" when it is set to save duplication in ebuilds. I am new to this side of portage. I'll try again. |