x11-misc/magick-rotation: Properly use python eclasses
authorJustin Lecher <jlec@gentoo.org>
Sat, 12 Sep 2015 10:29:29 +0000 (12:29 +0200)
committerJustin Lecher <jlec@gentoo.org>
Sat, 12 Sep 2015 10:29:46 +0000 (12:29 +0200)
Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
x11-misc/magick-rotation/magick-rotation-1.6.2-r2.ebuild [moved from x11-misc/magick-rotation/magick-rotation-1.6.2-r1.ebuild with 91% similarity]

similarity index 91%
rename from x11-misc/magick-rotation/magick-rotation-1.6.2-r1.ebuild
rename to x11-misc/magick-rotation/magick-rotation-1.6.2-r2.ebuild
index 055e1d2ab74e521b06962214d29fa51c4eeec227..b49a3fd6c8d16d7e599fe9caffa1e22b5054f265 100644 (file)
@@ -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