commit:     254da9543809c022c09bb97cf6ee0f36422ef882
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  1 13:46:09 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Oct  1 13:46:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=254da954

sys-apps/polychromatic: proper handling of PYTHON_SINGLE_TARGET

use python_doscript to install polychromatic-* scripts

Closes: https://bugs.gentoo.org/873703
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../{polychromatic-0.7.3.ebuild => polychromatic-0.7.3-r1.ebuild}       | 2 ++
 sys-apps/polychromatic/polychromatic-9999.ebuild                        | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/sys-apps/polychromatic/polychromatic-0.7.3.ebuild 
b/sys-apps/polychromatic/polychromatic-0.7.3-r1.ebuild
similarity index 96%
rename from sys-apps/polychromatic/polychromatic-0.7.3.ebuild
rename to sys-apps/polychromatic/polychromatic-0.7.3-r1.ebuild
index 83047579b56e..498b9988577d 100644
--- a/sys-apps/polychromatic/polychromatic-0.7.3.ebuild
+++ b/sys-apps/polychromatic/polychromatic-0.7.3-r1.ebuild
@@ -54,6 +54,8 @@ src_install() {
        python_optimize
        readme.gentoo_create_doc
 
+       python_doscript "${S}"/polychromatic-{cli,controller,helper,tray-applet}
+
        # Do not force polychromatic to autostart on session login.
        # Move it into /usr/share/polychromatic and treat it as an example file
        # that could be installed into user's ~/.config/autostart/ directory.

diff --git a/sys-apps/polychromatic/polychromatic-9999.ebuild 
b/sys-apps/polychromatic/polychromatic-9999.ebuild
index 83047579b56e..498b9988577d 100644
--- a/sys-apps/polychromatic/polychromatic-9999.ebuild
+++ b/sys-apps/polychromatic/polychromatic-9999.ebuild
@@ -54,6 +54,8 @@ src_install() {
        python_optimize
        readme.gentoo_create_doc
 
+       python_doscript "${S}"/polychromatic-{cli,controller,helper,tray-applet}
+
        # Do not force polychromatic to autostart on session login.
        # Move it into /usr/share/polychromatic and treat it as an example file
        # that could be installed into user's ~/.config/autostart/ directory.

Reply via email to