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 95625138334 for ; Fri, 17 Aug 2018 08:38:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F5AFE08C3; Fri, 17 Aug 2018 08:38:30 +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 6559CE08C3 for ; Fri, 17 Aug 2018 08:38:30 +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 84F20335D79 for ; Fri, 17 Aug 2018 08:38:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AEE6A36A for ; Fri, 17 Aug 2018 08:38:26 +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: <1534494631.5a0eba86fc6a387f3723cec9f4e2589e8a83d8dc.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/wsproto/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/wsproto/Manifest dev-python/wsproto/metadata.xml dev-python/wsproto/wsproto-0.11.0.ebuild X-VCS-Directories: dev-python/wsproto/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5a0eba86fc6a387f3723cec9f4e2589e8a83d8dc X-VCS-Branch: master Date: Fri, 17 Aug 2018 08:38:26 +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-Archives-Salt: 4e01cd54-ceb4-44ce-a8e6-19c723d4248c X-Archives-Hash: 6470ff2d8d688afd13931a64a73552cc commit: 5a0eba86fc6a387f3723cec9f4e2589e8a83d8dc Author: Oleksandr Trotsenko gmail com> AuthorDate: Wed Aug 8 03:51:24 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Aug 17 08:30:31 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a0eba86 dev-python/wsproto: Introducing new package Introducing wsproto into Gentoo. Closes: https://bugs.gentoo.org/654862 Closes: https://github.com/gentoo/gentoo/pull/9503 Package-Manager: Portage-2.3.43, Repoman-2.3.10 dev-python/wsproto/Manifest | 1 + dev-python/wsproto/metadata.xml | 17 +++++++++++++++++ dev-python/wsproto/wsproto-0.11.0.ebuild | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+) diff --git a/dev-python/wsproto/Manifest b/dev-python/wsproto/Manifest new file mode 100644 index 00000000000..a87f546b358 --- /dev/null +++ b/dev-python/wsproto/Manifest @@ -0,0 +1 @@ +DIST wsproto-0.11.0.tar.gz 41179 BLAKE2B 72486adde659e96910bcc56efe5f3ddd71d962e2844e332eabea2a0cbe5574678be85d330fdd54f951f679dfe5b1c185641a30169cc6cd9ac6c4ed066c6a3533 SHA512 583e030dc88971b3733e5e84e5fbaa70d6043d01485cabbbf45470baa31e4f511aea55e108132fc298aeae0031542af7bdd22b7ae25b11832179025a2fde4bdd diff --git a/dev-python/wsproto/metadata.xml b/dev-python/wsproto/metadata.xml new file mode 100644 index 00000000000..67543673df3 --- /dev/null +++ b/dev-python/wsproto/metadata.xml @@ -0,0 +1,17 @@ + + + + + oleksandr.trotsenko@gmail.com + Oleksandr Trotsenko + + + proxy-maint@gentoo.org + Proxy Maintainers + + + python-hyper/wsproto + https://wsproto.readthedocs.io/en/latest/ + https://github.com/python-hyper/wsproto/issues + + diff --git a/dev-python/wsproto/wsproto-0.11.0.ebuild b/dev-python/wsproto/wsproto-0.11.0.ebuild new file mode 100644 index 00000000000..6e936e5de83 --- /dev/null +++ b/dev-python/wsproto/wsproto-0.11.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) + +inherit distutils-r1 + +DESCRIPTION="WebSockets state-machine based protocol implementation" +HOMEPAGE="https://github.com/python-hyper/wsproto https://pypi.python.org/pypi/wsproto" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + =dev-python/h11-0.7*[${PYTHON_USEDEP}] + virtual/python-enum34[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +python_test() { + py.test -v || die "Testing failed" +}