Skip to content

Commit

Permalink
sys-devel/clang: Inform about utility scripts in postinst
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed Apr 4, 2018
1 parent 7d5d522 commit 64c144a
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sys-devel/clang/clang-5.0.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
7 changes: 7 additions & 0 deletions sys-devel/clang/clang-6.0.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
7 changes: 7 additions & 0 deletions sys-devel/clang/clang-6.0.9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
7 changes: 7 additions & 0 deletions sys-devel/clang/clang-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 64c144a

Please sign in to comment.