From: Mike Frysinger Date: Sat, 26 Sep 2015 07:31:03 +0000 (-0400) Subject: net-misc/chrome-remote-desktop: switch to python eclasses #561414 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b2e9882b8a456f7f1e21fc9d1d317974e331f6e1;p=gentoo.git net-misc/chrome-remote-desktop: switch to python eclasses #561414 This code only works with python-2.7, so make sure we limit ourselves and write the scripts as such. --- diff --git a/net-misc/chrome-remote-desktop/chrome-remote-desktop-45.0.2454.17-r1.ebuild b/net-misc/chrome-remote-desktop/chrome-remote-desktop-45.0.2454.17-r2.ebuild similarity index 95% rename from net-misc/chrome-remote-desktop/chrome-remote-desktop-45.0.2454.17-r1.ebuild rename to net-misc/chrome-remote-desktop/chrome-remote-desktop-45.0.2454.17-r2.ebuild index 52f80d8b26cf..0d5ffcf7dc53 100644 --- a/net-misc/chrome-remote-desktop/chrome-remote-desktop-45.0.2454.17-r1.ebuild +++ b/net-misc/chrome-remote-desktop/chrome-remote-desktop-45.0.2454.17-r2.ebuild @@ -14,9 +14,11 @@ # Use curl to find the answer: # curl -q https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-i386/Packages | grep ^Filename -EAPI="4" +EAPI="5" -inherit unpacker eutils +PYTHON_COMPAT=( python2_7 ) + +inherit unpacker eutils python-single-r1 DESCRIPTION="access remote computers via Chrome!" PLUGIN_URL="https://chrome.google.com/remotedesktop" @@ -32,7 +34,7 @@ IUSE="" # All the libs this package links against. RDEPEND="app-admin/sudo - dev-lang/python + ${PYTHON_DEPS} >=dev-libs/expat-2 dev-libs/glib:2 dev-libs/nspr @@ -65,6 +67,7 @@ QA_PREBUILT="/opt/google/chrome-remote-desktop/*" src_prepare() { epatch "${FILESDIR}"/${PN}-44.0.2403.44-always-sudo.patch #541708 + python_fix_shebang opt/google/chrome-remote-desktop/chrome-remote-desktop } src_install() {