From 7d5d5224233fc71873b052f275bc2ffe45d22feb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 4 Apr 2018 14:19:43 +0200 Subject: [PATCH] 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 d705829ac8ad..295cd4853387 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 9e9f2c105090..162c216c1e6d 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 6276ab4925ae..b8768df35d5e 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 414c82e01aa5..e405d61283c8 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)" +} -- 2.26.2