commit:     7d5d5224233fc71873b052f275bc2ffe45d22feb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  4 12:19:43 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr  4 13:56:02 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d5d5224

sys-devel/llvm: Inform about opt-viewer scripts in postinst

Closes: https://bugs.gentoo.org/645040

 sys-devel/llvm/llvm-5.0.1.ebuild    | 9 +++++++++
 sys-devel/llvm/llvm-6.0.0.ebuild    | 9 +++++++++
 sys-devel/llvm/llvm-6.0.9999.ebuild | 9 +++++++++
 sys-devel/llvm/llvm-9999.ebuild     | 9 +++++++++
 4 files changed, 36 insertions(+)

diff --git a/sys-devel/llvm/llvm-5.0.1.ebuild b/sys-devel/llvm/llvm-5.0.1.ebuild
index d705829ac8a..295cd485338 100644
--- a/sys-devel/llvm/llvm-5.0.1.ebuild
+++ b/sys-devel/llvm/llvm-5.0.1.ebuild
@@ -245,3 +245,12 @@ _EOF_
 
        docompress "/usr/lib/llvm/${SLOT}/share/man"
 }
+
+pkg_postinst() {
+       elog "You can find additional opt-viewer utility scripts in:"
+       elog "  ${EROOT}/usr/lib/llvm/${SLOT}/share/opt-viewer"
+       elog "To use these scripts, you will need Python 2.7 along with the 
following"
+       elog "packages:"
+       elog "  dev-python/pygments (for opt-viewer)"
+       elog "  dev-python/pyyaml (for all of them)"
+}

diff --git a/sys-devel/llvm/llvm-6.0.0.ebuild b/sys-devel/llvm/llvm-6.0.0.ebuild
index 9e9f2c10509..162c216c1e6 100644
--- a/sys-devel/llvm/llvm-6.0.0.ebuild
+++ b/sys-devel/llvm/llvm-6.0.0.ebuild
@@ -251,3 +251,12 @@ _EOF_
 
        docompress "/usr/lib/llvm/${SLOT}/share/man"
 }
+
+pkg_postinst() {
+       elog "You can find additional opt-viewer utility scripts in:"
+       elog "  ${EROOT}/usr/lib/llvm/${SLOT}/share/opt-viewer"
+       elog "To use these scripts, you will need Python 2.7 along with the 
following"
+       elog "packages:"
+       elog "  dev-python/pygments (for opt-viewer)"
+       elog "  dev-python/pyyaml (for all of them)"
+}

diff --git a/sys-devel/llvm/llvm-6.0.9999.ebuild 
b/sys-devel/llvm/llvm-6.0.9999.ebuild
index 6276ab4925a..b8768df35d5 100644
--- a/sys-devel/llvm/llvm-6.0.9999.ebuild
+++ b/sys-devel/llvm/llvm-6.0.9999.ebuild
@@ -244,3 +244,12 @@ _EOF_
 
        docompress "/usr/lib/llvm/${SLOT}/share/man"
 }
+
+pkg_postinst() {
+       elog "You can find additional opt-viewer utility scripts in:"
+       elog "  ${EROOT}/usr/lib/llvm/${SLOT}/share/opt-viewer"
+       elog "To use these scripts, you will need Python 2.7 along with the 
following"
+       elog "packages:"
+       elog "  dev-python/pygments (for opt-viewer)"
+       elog "  dev-python/pyyaml (for all of them)"
+}

diff --git a/sys-devel/llvm/llvm-9999.ebuild b/sys-devel/llvm/llvm-9999.ebuild
index 414c82e01aa..e405d61283c 100644
--- a/sys-devel/llvm/llvm-9999.ebuild
+++ b/sys-devel/llvm/llvm-9999.ebuild
@@ -246,3 +246,12 @@ _EOF_
 
        docompress "/usr/lib/llvm/${SLOT}/share/man"
 }
+
+pkg_postinst() {
+       elog "You can find additional opt-viewer utility scripts in:"
+       elog "  ${EROOT}/usr/lib/llvm/${SLOT}/share/opt-viewer"
+       elog "To use these scripts, you will need Python 2.7 along with the 
following"
+       elog "packages:"
+       elog "  dev-python/pygments (for opt-viewer)"
+       elog "  dev-python/pyyaml (for all of them)"
+}

Reply via email to