From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/magick-rotation/
Date: Sat, 12 Sep 2015 10:23:55 +0000 (UTC) [thread overview]
Message-ID: <1442053433.5bcddae13e34a43b058a294054c04d1bd39ad670.jlec@gentoo> (raw)
commit: 5bcddae13e34a43b058a294054c04d1bd39ad670
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 12 10:15:34 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> 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 <jlec <AT> 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 <USER> magick', then have <USER> re-login."
next reply other threads:[~2015-09-12 10:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-12 10:23 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-09-12 10:29 [gentoo-commits] repo/gentoo:master commit in: x11-misc/magick-rotation/ Justin Lecher
2018-02-11 11:36 Michał Górny
2018-04-06 4:52 Sergey Popov
2020-01-04 8:52 Mikle Kolyada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1442053433.5bcddae13e34a43b058a294054c04d1bd39ad670.jlec@gentoo \
--to=jlec@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox