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 10AEA138334 for ; Tue, 15 Oct 2019 15:58:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0D5FE08AE; Tue, 15 Oct 2019 15:58:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 8D5D4E08AE for ; Tue, 15 Oct 2019 15:58:33 +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 BF98134BE4D for ; Tue, 15 Oct 2019 15:58:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7922C88D for ; Tue, 15 Oct 2019 15:58:29 +0000 (UTC) From: "Craig Andrews" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" Message-ID: <1571155073.46ae080a9f899a3ccf4c5ca0ce20aa56b9468c70.candrews@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/aiohttp-cors/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/aiohttp-cors/Manifest dev-python/aiohttp-cors/aiohttp-cors-0.7.0.ebuild X-VCS-Directories: dev-python/aiohttp-cors/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 46ae080a9f899a3ccf4c5ca0ce20aa56b9468c70 X-VCS-Branch: master Date: Tue, 15 Oct 2019 15:58:29 +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: 76088034-1210-430d-9cce-7c569d9349a8 X-Archives-Hash: 1bd37ffdef3c2ac1b07ae013956bce16 commit: 46ae080a9f899a3ccf4c5ca0ce20aa56b9468c70 Author: Craig Andrews gentoo org> AuthorDate: Sun Oct 13 20:47:04 2019 +0000 Commit: Craig Andrews gentoo org> CommitDate: Tue Oct 15 15:57:53 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46ae080a dev-python/aiohttp-cors: 0.7.0 version bump, EAPI=7 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Craig Andrews gentoo.org> dev-python/aiohttp-cors/Manifest | 1 + dev-python/aiohttp-cors/aiohttp-cors-0.7.0.ebuild | 41 +++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/aiohttp-cors/Manifest b/dev-python/aiohttp-cors/Manifest index 0befccb4462..2b70a08370e 100644 --- a/dev-python/aiohttp-cors/Manifest +++ b/dev-python/aiohttp-cors/Manifest @@ -1 +1,2 @@ DIST aiohttp-cors-0.6.0.tar.gz 42507 BLAKE2B 7b63916b983d3dc208058c8b04445a30762eebc4999135ae802d1ceeeccc476a335eae66126bb3fd16f938af3649e8b9096433c2df09e82bf4e5d4ba8e38c42c SHA512 75453ebbc074d5f25cc8efc46ffdb76fc90b0a96a9e6fce0eee5a5f28dba31cb50301289cac3b36c70ccdbc10c8f4ba9e362d8e9f350ba7f9dfacd06e6f5e699 +DIST aiohttp-cors-0.7.0.tar.gz 39728 BLAKE2B 747499856272f551cf8e2e0911ff7cbb2c7cb8a1f3159327dd8f0d40cabbbd9713a1a9e30ef9c99f3f9642567c99025e049db837c89f907d6698a27005ac2632 SHA512 72e0b365b952c08a02c1123d7672cfea01063e2ff01743a71e10f804d22178edc0f1c6b7f87b7ed484ca7c24e89a32de90d0d279f2f5c060427319182f9bdd3b diff --git a/dev-python/aiohttp-cors/aiohttp-cors-0.7.0.ebuild b/dev-python/aiohttp-cors/aiohttp-cors-0.7.0.ebuild new file mode 100644 index 00000000000..6bd3345141e --- /dev/null +++ b/dev-python/aiohttp-cors/aiohttp-cors-0.7.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) + +inherit distutils-r1 + +DESCRIPTION="Implements CORS support for aiohttp asyncio-powered asynchronous HTTP server" +HOMEPAGE="https://github.com/aio-libs/aiohttp-cors" +SRC_URI="https://github.com/aio-libs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +EGIT_REPO_URI="https://github.com/aio-libs/aiohttp-cors" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=">=dev-python/aiohttp-1.1.1[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pylint[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/pytest-pylint[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + dev-python/selenium[${PYTHON_USEDEP}] + )" + +python_prepare_all() { + # for some reason, it is installed by 'setup.py test' on py!=3.4 + # TODO: investigate + sed -i -e '/typing/d' setup.py || die + distutils-r1_python_prepare_all +} + +python_test() { + esetup.py test +}