From ce92d8f84e758e8090af47d1a4c0d7d440003fcf Mon Sep 17 00:00:00 2001 From: Florian Albrechtskirchinger Date: Tue, 7 Jul 2026 20:32:29 +0200 Subject: [PATCH] dev-python/caio: add 0.10.2 Signed-off-by: Florian Albrechtskirchinger --- dev-python/caio/Manifest | 1 + dev-python/caio/caio-0.10.2.ebuild | 34 ++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 dev-python/caio/caio-0.10.2.ebuild diff --git a/dev-python/caio/Manifest b/dev-python/caio/Manifest index c2b2b53e30..234d8436c7 100644 --- a/dev-python/caio/Manifest +++ b/dev-python/caio/Manifest @@ -1 +1,2 @@ DIST caio-0.10.1.gh.tar.gz 140184 BLAKE2B 37c223011efe2d53e114b1aa921cf9bf81aed3e7355ad37cf2db991b7ad8951bf2a2147038121679eb4f6d5c79cfc1a91eb6af1761726badf31ce78ee8eff792 SHA512 73598e30dff4899fd4dd88794e8883c9b6fd9fb131f3bf3f12b9edfd63be4a54ff407a29b9b5b0f6f0907d21ec5e3fce495dac6a6df0297163adebabaa2252ea +DIST caio-0.10.2.gh.tar.gz 140166 BLAKE2B 9e46ede7afa85f41310de95dcb711daccaa699d8b101fda7530712b4acfb7a91d00789bfde64eba784cef7304b82092f7657c46a8b948223f7472421ff40de20 SHA512 f9d7f09114be3ec10564d4b8c79565b94538b142af181f4885bc759f23b806a830101a24d3bf5389f4d1a36b223091a3f2ef8c7131e4c7e76ef5261f80fcf4f9 diff --git a/dev-python/caio/caio-0.10.2.ebuild b/dev-python/caio/caio-0.10.2.ebuild new file mode 100644 index 0000000000..5e159c0ac1 --- /dev/null +++ b/dev-python/caio/caio-0.10.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{12..14} ) + +inherit distutils-r1 + +DESCRIPTION="Asynchronous file IO for Linux MacOS or Windows" +HOMEPAGE=" + https://github.com/mosquito/caio + https://pypi.org/project/caio/ +" +SRC_URI="https://github.com/mosquito/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +EPYTEST_PLUGINS=( aiomisc-pytest ) +distutils_enable_tests pytest + +src_prepare() { + default + sed -i -E '/extra_compile_args/s/,\s*"-g"|"-g",\s*|"-g"//g' setup.py || die +} + +python_test() { + rm -rf caio || die + epytest +}