From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 615B91382C5 for ; Wed, 5 May 2021 09:25:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8655DE0871; Wed, 5 May 2021 09:25:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1ADEFE0864 for ; Wed, 5 May 2021 09:25:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CE0F4340D5A for ; Wed, 5 May 2021 09:25:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3503873D for ; Wed, 5 May 2021 09:25:39 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1620206729.27b17c0c6ae542d6739a8dca06817bdbc8d2be21.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/websocket-client/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/websocket-client/Manifest dev-python/websocket-client/websocket-client-0.59.0.ebuild X-VCS-Directories: dev-python/websocket-client/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 27b17c0c6ae542d6739a8dca06817bdbc8d2be21 X-VCS-Branch: master Date: Wed, 5 May 2021 09:25:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4623471e-b37a-48d6-866b-8af2e549259d X-Archives-Hash: 7fc2857313426d9f1e0904a4840249ad commit: 27b17c0c6ae542d6739a8dca06817bdbc8d2be21 Author: Michał Górny gentoo org> AuthorDate: Wed May 5 07:32:26 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed May 5 09:25:29 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27b17c0c dev-python/websocket-client: Bump to 0.59.0 Signed-off-by: Michał Górny gentoo.org> dev-python/websocket-client/Manifest | 1 + .../websocket-client-0.59.0.ebuild | 38 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/websocket-client/Manifest b/dev-python/websocket-client/Manifest index d5a5b4ad62b..4ca4b12cece 100644 --- a/dev-python/websocket-client/Manifest +++ b/dev-python/websocket-client/Manifest @@ -1 +1,2 @@ +DIST websocket-client-0.59.0.tar.gz 57897 BLAKE2B 9f15c563491bd105a1987281cc20c0ab80ed1625036eeaa674fd28334b8226b5f9660b150743649f6bc7717d4306cbb1778222f9caeeff29507ab364572ce2b5 SHA512 c7f4a0336093de86fd00828049a836477a3c859cc4bddebd9e7d31eb746dab4de8fa11205a5fb182e5df3590964aa73f279310575dfabc4abc32157e80df42b1 DIST websocket_client-0.58.0.tar.gz 48216 BLAKE2B 5e559852385d95caffa73fdb4bfcddd3e00f7bdc9d23d07e7bd6b9e8de599742e153d31bb3a57bdf1aef02361f5dc0b13a443c21872c27576e068f246102d655 SHA512 c587945831427a9bddef96be53d20fec7f55ffd7efe2b676dac96b8078ba446ecda85379a4edfc49c36de936516d3994cbd0515decb9b615cd969bde1117167a diff --git a/dev-python/websocket-client/websocket-client-0.59.0.ebuild b/dev-python/websocket-client/websocket-client-0.59.0.ebuild new file mode 100644 index 00000000000..691924433e0 --- /dev/null +++ b/dev-python/websocket-client/websocket-client-0.59.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{7..9} ) + +inherit distutils-r1 + +DESCRIPTION="WebSocket client for python with hybi13 support" +HOMEPAGE="https://github.com/websocket-client/websocket-client" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos" +IUSE="examples" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] +" + +distutils_enable_tests setup.py + +src_prepare() { + sed -i -e '1i#!/usr/bin/env python' bin/wsdump.py || die + # Internet + sed -i -e 's:testConnect:_&:' websocket/tests/test_http.py || die + distutils-r1_src_prepare +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + distutils-r1_python_install_all +}