From a13e21c4ed75af032f57b6fa1f19d3363b850e84 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 9 Dec 2022 14:36:28 +0100 Subject: dev-python/aiostream: New package, needed for vdirsyncer, v0.4.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/aiostream/Manifest | 1 + dev-python/aiostream/aiostream-0.4.5.ebuild | 37 +++++++++++++++++++++++++++++ dev-python/aiostream/metadata.xml | 13 ++++++++++ 3 files changed, 51 insertions(+) create mode 100644 dev-python/aiostream/Manifest create mode 100644 dev-python/aiostream/aiostream-0.4.5.ebuild create mode 100644 dev-python/aiostream/metadata.xml (limited to 'dev-python/aiostream') diff --git a/dev-python/aiostream/Manifest b/dev-python/aiostream/Manifest new file mode 100644 index 000000000000..de71f8352131 --- /dev/null +++ b/dev-python/aiostream/Manifest @@ -0,0 +1 @@ +DIST aiostream-0.4.5.gh.tar.gz 39797 BLAKE2B 5aeb4da46158d949190af22133f1798831e14f8d8da231d3dc098caaace303061bfa49dfef1d52c533ce20201937bf5da33f36806634b2e73ccbc48c00962486 SHA512 ac1a67a6d27e18e290c5ae5b069de2e7f7205120bc747885261e23155019d5630c1f7b643df3a4fef12844d52cdfc0f1fcdcf5cb35a0061000d426c62dcffb1d diff --git a/dev-python/aiostream/aiostream-0.4.5.ebuild b/dev-python/aiostream/aiostream-0.4.5.ebuild new file mode 100644 index 000000000000..7e0a5fb73136 --- /dev/null +++ b/dev-python/aiostream/aiostream-0.4.5.ebuild @@ -0,0 +1,37 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Generator-based operators for asynchronous iteration" +HOMEPAGE=" + https://pypi.org/project/aiostream/ + https://github.com/vxgmichel/aiostream/ +" +SRC_URI=" + https://github.com/vxgmichel/aiostream/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e 's:--cov aiostream --cov-report html --cov-report term::' \ + setup.cfg || die + distutils-r1_src_prepare +} diff --git a/dev-python/aiostream/metadata.xml b/dev-python/aiostream/metadata.xml new file mode 100644 index 000000000000..b33e8982719d --- /dev/null +++ b/dev-python/aiostream/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + + vxgmichel/aiostream + aiostream + + -- cgit v1.2.3-65-gdbad