dev-python/zmq-anyio: New package, v0.3.6

New dependency of dev-python/ipykernel.  Of course it breaks PyPy
support.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-03-08 07:54:27 +01:00
parent 6566c483cc
commit b5ce79c2c1
3 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST zmq_anyio-0.3.6.tar.gz 12910 BLAKE2B d32307d3a137b8490eff2e4b39238943f567579239369d4e700c2342163971b5a1e1caa9f8caf888f0935229d3e5e7edbc7886a507678dcdf175446f27db7b58 SHA512 7d5141bfd05dfab89da9f7624ef87f74cdb95bd5d1620423b7dc6b30b65f2f5ecee2208a4fec103caad71f10d8ca6fb92716e491402722bccd9d8aa820855f6a

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="project">
<email>python@gentoo.org</email>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">davidbrochart/zmq-anyio</remote-id>
<remote-id type="pypi">zmq-anyio</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,41 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
# PyPy: https://github.com/davidbrochart/zmq-anyio/issues/22
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Asynchronous API for ZMQ using AnyIO"
HOMEPAGE="
https://github.com/davidbrochart/zmq-anyio/
https://pypi.org/project/zmq-anyio/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
<dev-python/anyio-5[${PYTHON_USEDEP}]
>=dev-python/anyio-4.8.0[${PYTHON_USEDEP}]
<dev-python/anyioutils-0.8[${PYTHON_USEDEP}]
>=dev-python/anyioutils-0.7.1[${PYTHON_USEDEP}]
<dev-python/pyzmq-27[${PYTHON_USEDEP}]
>=dev-python/pyzmq-26.0.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/trio-0.27.0[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -p anyio
}