dev-python/aiomisc: new package, add 18.0.19

Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
Florian Albrechtskirchinger
2026-03-29 18:22:47 +02:00
parent 68de3367df
commit 8f97d854d9
3 changed files with 84 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST aiomisc-18.0.19.gh.tar.gz 480681 BLAKE2B 484fb21da132c14b65c341d44f2476f12178a14a99c8708e666c98f3e94a7bc41a079145c8c3f323af1440558a2414bc812cfb463155296172b284333c933207 SHA512 8f6ba5a31ce1fc796e3b4d223628514caaf5efd9af72dc4eb5b5fe956d775aef5abca32cec5918cadbaf146c66ae5e8131a87b9e5135fcd45cffd490cad9dd0e

View File

@@ -0,0 +1,71 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 optfeature
DESCRIPTION="aiomisc - miscellaneous utils for asyncio"
HOMEPAGE="
https://github.com/aiokitchen/aiomisc
https://pypi.org/project/aiomisc/
"
MY_COMMIT="ebfdb45c8d60fda24e42f7589d2fc7fe11ae4f0c" # v18.0.9 (untagged, inferred)
SRC_URI="https://github.com/aiokitchen/${PN}/archive/${MY_COMMIT}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-${MY_COMMIT}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND="
>=dev-python/caio-0.9.0[${PYTHON_USEDEP}]
>=dev-python/colorlog-6.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/rich-12.6[${PYTHON_USEDEP}]
>=dev-python/setproctitle-1.3[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( aiomisc-pytest )
EPYTEST_XDIST=1
distutils_enable_tests pytest
export SETUPTOOLS_SCM_PRETEND_VERSION_FOR_AIOMISC=${PV}
EPYTEST_IGNORE=(
# Missing dependencies
tests/test_carbon_service.py # aiocarbon
tests/test_dns.py # dnslib
tests/test_dns_server.py # dnslib
tests/test_entrypoint.py # various
tests/test_raven_service.py # raven
)
EPYTEST_DESELECT=(
# Broken (race conditions)
tests/test_thread_pool.py::test_from_thread_channel
tests/test_thread_pool.py::test_from_thread_channel_wait_before
)
pkg_postinst() {
optfeature "aiohttp" dev-python/aiohttp
# optfeature "ASGI" dev-python/aiohttp-asgi
# optfeature "Carbon" dev-python/aiocarbon
optfeature "cron" dev-python/croniter
# optfeature "DNS" dev-python/dnslib
# optfeature "gRPC" "dev-python/grpcio dev-python/grpcio-tools dev-python/grpcio-reflection"
# optfeature "Raven" "dev-python/aiohttp dev-python/raven"
optfeature "uvicorn" "dev-python/uvicorn dev-python/asgiref"
optfeature "uvloop" dev-python/uvloop
optfeature_header "For additional logging features install:"
optfeature "clorized log output with Rich" dev-python/rich
# optfeature "log output to systemd journald" dev-python/logging-journald
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>falbrechtskirchinger@gmail.com</email>
<name>Florian Albrechtskirchinger</name>
</maintainer>
<upstream>
<remote-id type="pypi">aiomisc</remote-id>
<remote-id type="github">aiokitchen/aiomisc</remote-id>
</upstream>
</pkgmetadata>