mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-12 16:43:17 -04:00
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@riseup.net>
21 lines
481 B
Bash
21 lines
481 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python3_{6,7} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="File support for asyncio"
|
|
HOMEPAGE="https://github.com/Tinche/aiofiles"
|
|
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
|