commit: 64c144a8d2c2fce9015477b4a1f3d16ddc629baf Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Apr 4 12:27:49 2018 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Apr 4 13:56:03 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64c144a8
sys-devel/clang: Inform about utility scripts in postinst Closes: https://bugs.gentoo.org/652234 sys-devel/clang/clang-5.0.1.ebuild | 5 +++++ sys-devel/clang/clang-6.0.0-r1.ebuild | 7 +++++++ sys-devel/clang/clang-6.0.9999.ebuild | 7 +++++++ sys-devel/clang/clang-9999.ebuild | 7 +++++++ 4 files changed, 26 insertions(+) diff --git a/sys-devel/clang/clang-5.0.1.ebuild b/sys-devel/clang/clang-5.0.1.ebuild index 400d0748757..8ff413171d9 100644 --- a/sys-devel/clang/clang-5.0.1.ebuild +++ b/sys-devel/clang/clang-5.0.1.ebuild @@ -309,6 +309,11 @@ pkg_postinst() { if [[ ${ROOT} == / && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then eselect compiler-shadow update all fi + + elog "You can find additional utility scripts in:" + elog " ${EROOT}/usr/lib/llvm/${SLOT}/share/clang" + elog "To use these scripts, you will need Python 2.7. Some of them are vim" + elog "integration scripts (with instructions inside)." } pkg_postrm() { diff --git a/sys-devel/clang/clang-6.0.0-r1.ebuild b/sys-devel/clang/clang-6.0.0-r1.ebuild index a8ab8bbb6b6..3a5f777fc01 100644 --- a/sys-devel/clang/clang-6.0.0-r1.ebuild +++ b/sys-devel/clang/clang-6.0.0-r1.ebuild @@ -308,6 +308,13 @@ pkg_postinst() { if [[ ${ROOT} == / && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then eselect compiler-shadow update all fi + + elog "You can find additional utility scripts in:" + elog " ${EROOT}/usr/lib/llvm/${SLOT}/share/clang" + elog "To use these scripts, you will need Python 2.7. Some of them are vim" + elog "integration scripts (with instructions inside). The run-clang-tidy.py" + elog "scripts requires the following additional package:" + elog " dev-python/pyyaml" } pkg_postrm() { diff --git a/sys-devel/clang/clang-6.0.9999.ebuild b/sys-devel/clang/clang-6.0.9999.ebuild index 509b47b788f..5ab3ba4c9fc 100644 --- a/sys-devel/clang/clang-6.0.9999.ebuild +++ b/sys-devel/clang/clang-6.0.9999.ebuild @@ -280,6 +280,13 @@ pkg_postinst() { if [[ ${ROOT} == / && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then eselect compiler-shadow update all fi + + elog "You can find additional utility scripts in:" + elog " ${EROOT}/usr/lib/llvm/${SLOT}/share/clang" + elog "To use these scripts, you will need Python 2.7. Some of them are vim" + elog "integration scripts (with instructions inside). The run-clang-tidy.py" + elog "scripts requires the following additional package:" + elog " dev-python/pyyaml" } pkg_postrm() { diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild index 10c2dbd94ce..3b9669f6101 100644 --- a/sys-devel/clang/clang-9999.ebuild +++ b/sys-devel/clang/clang-9999.ebuild @@ -281,6 +281,13 @@ pkg_postinst() { if [[ ${ROOT} == / && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then eselect compiler-shadow update all fi + + elog "You can find additional utility scripts in:" + elog " ${EROOT}/usr/lib/llvm/${SLOT}/share/clang" + elog "To use these scripts, you will need Python 2.7. Some of them are vim" + elog "integration scripts (with instructions inside). The run-clang-tidy.py" + elog "scripts requires the following additional package:" + elog " dev-python/pyyaml" } pkg_postrm() {