diff --git a/dev-python/caio/Manifest b/dev-python/caio/Manifest index 199efc72a1..f4e839da92 100644 --- a/dev-python/caio/Manifest +++ b/dev-python/caio/Manifest @@ -1 +1,2 @@ DIST caio-0.10.0.gh.tar.gz 140190 BLAKE2B 6765d68a65693703aeee4fd88433e83bb8b905c95a7c1cd84848962a26d8f5d17bd68df43023ed02d9182e25395c22a34dac0b531c3e5bcd57387f8063e04f8d SHA512 de67da8778ce3c1f59fa63ea1318c95e916c0ede156a7eac2205ba917c10ed2e1b1f766a8cfe596491108f3f2842b4297e011d7d08c02c36ba7762e31e2e6212 +DIST caio-0.10.1.gh.tar.gz 140184 BLAKE2B 37c223011efe2d53e114b1aa921cf9bf81aed3e7355ad37cf2db991b7ad8951bf2a2147038121679eb4f6d5c79cfc1a91eb6af1761726badf31ce78ee8eff792 SHA512 73598e30dff4899fd4dd88794e8883c9b6fd9fb131f3bf3f12b9edfd63be4a54ff407a29b9b5b0f6f0907d21ec5e3fce495dac6a6df0297163adebabaa2252ea diff --git a/dev-python/caio/caio-0.10.1.ebuild b/dev-python/caio/caio-0.10.1.ebuild new file mode 100644 index 0000000000..5e159c0ac1 --- /dev/null +++ b/dev-python/caio/caio-0.10.1.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 +}