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 5E07D1382C5 for ; Mon, 18 May 2020 16:27:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E749E086F; Mon, 18 May 2020 16:27:39 +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 4DFBCE086F for ; Mon, 18 May 2020 16:27:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 9D14934F07D for ; Mon, 18 May 2020 16:27:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 616861F5 for ; Mon, 18 May 2020 16:27:35 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1589816468.59b543715e5e8d19d935e74f927ab42360ef9ae7.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/websockets/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/websockets/Manifest dev-python/websockets/websockets-7.0.ebuild X-VCS-Directories: dev-python/websockets/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 59b543715e5e8d19d935e74f927ab42360ef9ae7 X-VCS-Branch: master Date: Mon, 18 May 2020 16:27:35 +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: 86aee158-10b0-4f6f-bd91-974e8f714c45 X-Archives-Hash: e8ac0d7b525087cc421fab5e9a987423 commit: 59b543715e5e8d19d935e74f927ab42360ef9ae7 Author: Alessandro Barbieri gmail com> AuthorDate: Sun May 17 08:35:38 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Mon May 18 15:41:08 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=59b54371 dev-python/websockets: older version Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/websockets/Manifest | 1 + dev-python/websockets/websockets-7.0.ebuild | 31 +++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/dev-python/websockets/Manifest b/dev-python/websockets/Manifest index a83e734..5c779d1 100644 --- a/dev-python/websockets/Manifest +++ b/dev-python/websockets/Manifest @@ -1 +1,2 @@ +DIST websockets-7.0.tar.gz 122848 BLAKE2B 7c201831c563a8ae036f9310533a3627fca9e9f91ba77cac27a62852336d4c2a79bd07b3186e10e0c797520a73750201e3ca70358fe5a0304b35e9f6b637196c SHA512 08dd310d8f946522f60ba302f3246f81e283d11f308f658a3c3a3c597281a31b1376e5d16d900187d148b0c1ec1250cd730ccb26f6b753dd86ca5682a08af9a9 DIST websockets-8.1.tar.gz 156472 BLAKE2B 6cb5eec8276f7ef7172048eba6157560f42cec28acacc1a0a2f426ea1cab9a04029ebb1f8285b1aa2862c30aac8f2af81ef85d4dba8e53e267b665b718e01d5a SHA512 d245702574cf513da54bfc0ca10768558cd4e5017ecf8cb647f4b9176561192a3ace64edfc5c6f735664bf1b6136aa0bb9828114478f92d2c051e3109a218c12 diff --git a/dev-python/websockets/websockets-7.0.ebuild b/dev-python/websockets/websockets-7.0.ebuild new file mode 100644 index 0000000..ee9fcd1 --- /dev/null +++ b/dev-python/websockets/websockets-7.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="An implementation of the WebSocket Protocol (RFC 6455 & 7692)" +HOMEPAGE=" + https://github.com/aaugustin/websockets + https://pypi.org/project/websockets +" +SRC_URI="https://github.com/aaugustin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +python_prepare_all() { + # these tests fail, probably because of + # a permission error (no internet) + rm tests/test_client_server.py || die + rm tests/test_protocol.py || die + + distutils-r1_python_prepare_all +} + +distutils_enable_tests nose +distutils_enable_sphinx docs dev-python/sphinx-autodoc-typehints dev-python/sphinxcontrib-spelling dev-python/sphinxcontrib-trio