summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-04-07 18:43:46 +0200
committerMichał Górny <mgorny@gentoo.org>2021-04-07 23:17:31 +0200
commitf7c88a12def7eef6ac2158ec4ecab12d4053e43d (patch)
treebba0401e323f79639250b5fd638dbb26c91eaced /dev-python/websocket-client
parentvirtual/dist-kernel: Bump to 5.11.12 (diff)
downloadgentoo-f7c88a12def7eef6ac2158ec4ecab12d4053e43d.tar.gz
gentoo-f7c88a12def7eef6ac2158ec4ecab12d4053e43d.tar.bz2
gentoo-f7c88a12def7eef6ac2158ec4ecab12d4053e43d.zip
dev-python/websocket-client: Fix missing shebang in wsdump.py
Bug: https://bugs.gentoo.org/780309#c2 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/websocket-client')
-rw-r--r--dev-python/websocket-client/websocket-client-0.58.0-r1.ebuild (renamed from dev-python/websocket-client/websocket-client-0.58.0.ebuild)7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-python/websocket-client/websocket-client-0.58.0.ebuild b/dev-python/websocket-client/websocket-client-0.58.0-r1.ebuild
index 7433612032e7..a388b831676c 100644
--- a/dev-python/websocket-client/websocket-client-0.58.0.ebuild
+++ b/dev-python/websocket-client/websocket-client-0.58.0-r1.ebuild
@@ -15,7 +15,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="LGPL-2.1+"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 x86 ~x64-macos"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos"
IUSE="examples"
RDEPEND="
@@ -24,6 +24,11 @@ RDEPEND="
distutils_enable_tests setup.py
+src_prepare() {
+ sed -i -e '1i#!/usr/bin/env python' bin/wsdump.py || die
+ distutils-r1_src_prepare
+}
+
python_install_all() {
if use examples; then
docompress -x "/usr/share/doc/${PF}/examples"