diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-09-12 12:15:34 +0200 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-09-12 12:23:53 +0200 |
commit | 5bcddae13e34a43b058a294054c04d1bd39ad670 (patch) | |
tree | f1868ff3fe97088d2c0225af73de64e3e3949f4e /x11-misc/magick-rotation | |
parent | net-libs/gnutls: version bump (diff) | |
download | gentoo-5bcddae13e34a43b058a294054c04d1bd39ad670.tar.gz gentoo-5bcddae13e34a43b058a294054c04d1bd39ad670.tar.bz2 gentoo-5bcddae13e34a43b058a294054c04d1bd39ad670.zip |
x11-misc/magick-rotation: Use optfeature from eutils.eclass
Add missing PYTHON_REQUIRED_USE
Package-Manager: portage-2.2.20
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'x11-misc/magick-rotation')
-rw-r--r-- | x11-misc/magick-rotation/magick-rotation-1.6.2-r1.ebuild | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/x11-misc/magick-rotation/magick-rotation-1.6.2-r1.ebuild b/x11-misc/magick-rotation/magick-rotation-1.6.2-r1.ebuild index 5b85aa5b902e..055e1d2ab74e 100644 --- a/x11-misc/magick-rotation/magick-rotation-1.6.2-r1.ebuild +++ b/x11-misc/magick-rotation/magick-rotation-1.6.2-r1.ebuild @@ -18,6 +18,8 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="-* ~amd64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + DEPEND="${PYTHON_DEPS} x11-libs/libX11 x11-libs/libXrandr" @@ -68,14 +70,14 @@ src_install() { udev_dorules 62-magick.rules insinto /usr/share/${PN} - doins *.py + doins *.py insinto /usr/share/${PN}/MagickIcons - doins MagickIcons/*.png + doins MagickIcons/*.png exeinto /usr/share/${PN} - doexe magick-rotation - doexe xrotate.py + doexe magick-rotation + doexe xrotate.py dodoc *.txt ChangeLog @@ -83,16 +85,12 @@ src_install() { } pkg_postinst() { - optfeature() { - elog " [\e[1m$(has_version ${1} && echo I || echo ' ')\e[0m] ${1} (${2})" - } - - elog + echo elog "In order to use Magick Rotation with an on-screen keyboard and handwriting," elog "the following additional package may also be installed for use at run-time:" elog - optfeature 'media-gfx/cellwriter' "Magick Rotation's default onscreen keyboard" - elog + optfeature "Magick Rotation's default onscreen keyboard" media-gfx/cellwriter + echo ewarn "in order to use Magick Rotation you have to be in the 'magick' group." ewarn "Just run 'gpasswd -a <USER> magick', then have <USER> re-login." |