From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1152111-garchives=archives.gentoo.org@lists.gentoo.org>
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 F3549138350
	for <garchives@archives.gentoo.org>; Fri, 13 Mar 2020 20:48:10 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 289D6E09C8;
	Fri, 13 Mar 2020 20:48:10 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.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 12B13E09C8
	for <gentoo-commits@lists.gentoo.org>; Fri, 13 Mar 2020 20:48:09 +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 1B50934EF2D
	for <gentoo-commits@lists.gentoo.org>; Fri, 13 Mar 2020 20:48:09 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id BF15A168
	for <gentoo-commits@lists.gentoo.org>; Fri, 13 Mar 2020 20:48:06 +0000 (UTC)
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
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" <andrewammerlaan@riseup.net>
Message-ID: <1584132378.4abcd443a1c52ef3232fa7068e335a3524a2c294.andrewammerlaan@gentoo>
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/aiofiles/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: dev-python/aiofiles/Manifest dev-python/aiofiles/aiofiles-0.4.0.ebuild
X-VCS-Directories: dev-python/aiofiles/
X-VCS-Committer: andrewammerlaan
X-VCS-Committer-Name: Andrew Ammerlaan
X-VCS-Revision: 4abcd443a1c52ef3232fa7068e335a3524a2c294
X-VCS-Branch: master
Date: Fri, 13 Mar 2020 20:48:06 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: f9dbac98-9961-485f-9106-3a51cec0468e
X-Archives-Hash: a4d90939237bdc1079e8aee5abe750f4
Message-ID: <20200313204806.C0OSi_5H-8seN7D_2MNlmNkH6cjqYeKYwQFKhQFM90I@z>

commit:     4abcd443a1c52ef3232fa7068e335a3524a2c294
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Mar 13 20:46:18 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Mar 13 20:46:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4abcd443

dev-python/aiofiles: enable tests

had to switch to the github tarball because the pypi tarball
does not contain tests. Also pytest-asyncio sadly does not
support py3_8 or pypy3 yet, so that had to go.

If it is desirable to add py3_8 or pypy3 anyway.
A workaround could be to RESTRICT="python_targets_python3_8? ( test )"
and REQUIRED_USE="python_targets_python3_8? ( !test )"

Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/aiofiles/Manifest              | 2 +-
 dev-python/aiofiles/aiofiles-0.4.0.ebuild | 8 ++++++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/dev-python/aiofiles/Manifest b/dev-python/aiofiles/Manifest
index c9d4b4f..ca27e48 100644
--- a/dev-python/aiofiles/Manifest
+++ b/dev-python/aiofiles/Manifest
@@ -1 +1 @@
-DIST aiofiles-0.4.0.tar.gz 9270 BLAKE2B 05eb8bc76cfdb4be4c82cacf15ab5e0a59d652d5db641cbad9fd20a431e17f16606cae413092d20453710435b3de829b2cb61c983efb1ce4b70a863958fc9fe3 SHA512 ad41aed2151fc2adf01ddbaec7fcc772c2ee8e33609dff881d00e255412c2142b0594e70eca32e73accd120d13e1f112b20a627fae2fa343b96d18f59371c9da
+DIST aiofiles-0.4.0.tar.gz 12942 BLAKE2B c8e6570f0759cf97b642a8feec4a572dc40a86906c9f7e749fa5b20346b61000d62d72c1ef8316e03adc1352021ec622fe9c670e916fdf84f41845ce37f1de51 SHA512 9e1f8b2beb3ca2996b35de9281ceafbb8ccdeab4b213f9605cb5908558c5f495d1cf4481ac229ca44bb236ad99826d89d137ec6ac4386c23b6e056b657a6bf4a

diff --git a/dev-python/aiofiles/aiofiles-0.4.0.ebuild b/dev-python/aiofiles/aiofiles-0.4.0.ebuild
index 12e33e0..e61975b 100644
--- a/dev-python/aiofiles/aiofiles-0.4.0.ebuild
+++ b/dev-python/aiofiles/aiofiles-0.4.0.ebuild
@@ -3,14 +3,18 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit distutils-r1
 
 DESCRIPTION="File support for asyncio"
 HOMEPAGE="https://github.com/Tinche/aiofiles"
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/Tinche/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
+
+DEPEND="test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest