diff options
author | 2024-10-09 11:16:13 +0100 | |
---|---|---|
committer | 2024-10-09 11:16:35 +0100 | |
commit | a4d46d2137f2ed83b8677771059276e9200d6e88 (patch) | |
tree | ff15fa40dd212de2da07b82f9ff1b42f3430776e /dev-build | |
parent | dev-build/kas: cleanup MY_P (diff) | |
download | gentoo-a4d46d2137f2ed83b8677771059276e9200d6e88.tar.gz gentoo-a4d46d2137f2ed83b8677771059276e9200d6e88.tar.bz2 gentoo-a4d46d2137f2ed83b8677771059276e9200d6e88.zip |
dev-build/kas: add VCS optfeatures
See https://github.com/gentoo/gentoo/pull/38767#discussion_r1793244373.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-build')
-rw-r--r-- | dev-build/kas/kas-4.5-r1.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-build/kas/kas-4.5-r1.ebuild b/dev-build/kas/kas-4.5-r1.ebuild index 093c0a1dacdb..9f85f1b5a62a 100644 --- a/dev-build/kas/kas-4.5-r1.ebuild +++ b/dev-build/kas/kas-4.5-r1.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..12} ) -inherit distutils-r1 +inherit distutils-r1 optfeature DESCRIPTION="Setup tool for bitbake based projects" HOMEPAGE=" @@ -47,3 +47,9 @@ BDEPEND=" PROPERTIES="test_network" distutils_enable_tests pytest + +pkg_postinst() { + optfeature_header "Install optional tools to clone repositories:" + optfeature "git repository support" dev-vcs/git + optfeature "mercurial repository support" dev-vcs/mercurial +} |