commit:     c3c197fb74f6d9b8add782498435f0f1541777e9
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 12 10:29:29 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Sep 12 10:29:46 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3c197fb

x11-misc/magick-rotation: Properly use python eclasses

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 ...tion-1.6.2-r1.ebuild => magick-rotation-1.6.2-r2.ebuild} | 13 ++++++-------
 1 file 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
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 055e1d2..b49a3fd 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
 

Reply via email to