sys-devel/llvm: Inform about opt-viewer scripts in postinst
authorMichał Górny <mgorny@gentoo.org>
Wed, 4 Apr 2018 12:19:43 +0000 (14:19 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 4 Apr 2018 13:56:02 +0000 (15:56 +0200)
Closes: https://bugs.gentoo.org/645040

sys-devel/llvm/llvm-5.0.1.ebuild
sys-devel/llvm/llvm-6.0.0.ebuild
sys-devel/llvm/llvm-6.0.9999.ebuild
sys-devel/llvm/llvm-9999.ebuild

index d705829ac8ad6520d44979094f938be36aa1093b..295cd48533873fd29505d888937e7dff8f193ed2 100644 (file)
@@ -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)"
+}
index 9e9f2c1050902a90aba9716fbefebc58004d7267..162c216c1e6d5269f4c1038eddfa918e62d83968 100644 (file)
@@ -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)"
+}
index 6276ab4925ae0c82dd0beba303c5bf356a25527a..b8768df35d5e19363492a1843a56fb6296ca72aa 100644 (file)
@@ -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)"
+}
index 414c82e01aa5a3cc40a540571a4770de360cafbd..e405d61283c8e2a425e571dd0c9e2ff016560d14 100644 (file)
@@ -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)"
+}