mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
dev-python/caio: add 0.10.2
Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
34
dev-python/caio/caio-0.10.2.ebuild
Normal file
34
dev-python/caio/caio-0.10.2.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user