summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-09-12 12:29:29 +0200
committerJustin Lecher <jlec@gentoo.org>2015-09-12 12:29:46 +0200
commitc3c197fb74f6d9b8add782498435f0f1541777e9 (patch)
treed1bbcc3bf38d98bf73798d1b599afc135d63e7c9 /x11-misc/magick-rotation
parentx11-misc/magick-rotation: Use optfeature from eutils.eclass (diff)
downloadgentoo-c3c197fb74f6d9b8add782498435f0f1541777e9.tar.gz
gentoo-c3c197fb74f6d9b8add782498435f0f1541777e9.tar.bz2
gentoo-c3c197fb74f6d9b8add782498435f0f1541777e9.zip
x11-misc/magick-rotation: Properly use python eclasses
Package-Manager: portage-2.2.20.1 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-r2.ebuild (renamed from x11-misc/magick-rotation/magick-rotation-1.6.2-r1.ebuild)13
1 files changed, 6 insertions, 7 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-r2.ebuild
index 055e1d2ab74e..b49a3fd6c8d1 100644
--- a/x11-misc/magick-rotation/magick-rotation-1.6.2-r1.ebuild
+++ b/x11-misc/magick-rotation/magick-rotation-1.6.2-r2.ebuild
@@ -65,19 +65,18 @@ src_compile() {
src_install() {
#TODO: add installation of GNOME Shell 3.2 extension
- dobin checkmagick*
+ dobin checkmagick*
udev_dorules 62-magick.rules
- insinto /usr/share/${PN}
- doins *.py
+ python_moduleinto /usr/share/${PN}
+ python_domodule *.py
- insinto /usr/share/${PN}/MagickIcons
+ insinto /usr/share/${PN}/MagickIcons
doins MagickIcons/*.png
- exeinto /usr/share/${PN}
- doexe magick-rotation
- doexe xrotate.py
+ python_scriptinto /usr/share/${PN}
+ python_doscript magick-rotation xrotate.py
dodoc *.txt ChangeLog