commit: a13e21c4ed75af032f57b6fa1f19d3363b850e84
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 9 13:36:28 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec 9 13:56:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a13e21c4
dev-python/aiostream: New package, needed for vdirsyncer, v0.4.5
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
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(+)
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>[email protected]</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">vxgmichel/aiostream</remote-id>
+ <remote-id type="pypi">aiostream</remote-id>
+ </upstream>
+</pkgmetadata>