diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-09-26 03:31:03 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-09-26 04:07:42 -0400 |
commit | b2e9882b8a456f7f1e21fc9d1d317974e331f6e1 (patch) | |
tree | 4596e6f6250640d5d54235fe4c25ade14d63ba32 /net-misc | |
parent | app-editors/nano: update to EAPI=5 and use subslot w/ncurses #561310 (diff) | |
download | gentoo-b2e9882b8a456f7f1e21fc9d1d317974e331f6e1.tar.gz gentoo-b2e9882b8a456f7f1e21fc9d1d317974e331f6e1.tar.bz2 gentoo-b2e9882b8a456f7f1e21fc9d1d317974e331f6e1.zip |
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.
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/chrome-remote-desktop/chrome-remote-desktop-45.0.2454.17-r2.ebuild (renamed from net-misc/chrome-remote-desktop/chrome-remote-desktop-45.0.2454.17-r1.ebuild) | 9 |
1 files changed, 6 insertions, 3 deletions
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 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() { |