From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 16BF2138454 for ; Sat, 12 Sep 2015 10:24:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ACC6721C012; Sat, 12 Sep 2015 10:23:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4403821C012 for ; Sat, 12 Sep 2015 10:23:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6888B340B0B for ; Sat, 12 Sep 2015 10:23:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 97289178 for ; Sat, 12 Sep 2015 10:23:55 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1442053433.5bcddae13e34a43b058a294054c04d1bd39ad670.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/magick-rotation/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/magick-rotation/magick-rotation-1.6.2-r1.ebuild X-VCS-Directories: x11-misc/magick-rotation/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 5bcddae13e34a43b058a294054c04d1bd39ad670 X-VCS-Branch: master Date: Sat, 12 Sep 2015 10:23:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b677c814-40a7-4642-bf80-a89045b85269 X-Archives-Hash: 16e683f7cefe271a841a58912d707e2a commit: 5bcddae13e34a43b058a294054c04d1bd39ad670 Author: Justin Lecher gentoo org> AuthorDate: Sat Sep 12 10:15:34 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sat Sep 12 10:23:53 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bcddae1 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 gentoo.org> .../magick-rotation/magick-rotation-1.6.2-r1.ebuild | 20 +++++++++----------- 1 file 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 5b85aa5..055e1d2 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 magick', then have re-login."