From 727d085341617dd20e5de5733b3f476f4897f9b7 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Wed, 31 Jan 2024 10:37:32 +0100 Subject: dev-python/quart-trio: New package, v0.11.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New test dependency of dev-python/urllib3. Signed-off-by: Michał Górny --- dev-python/quart-trio/Manifest | 1 + dev-python/quart-trio/metadata.xml | 13 ++++++++ dev-python/quart-trio/quart-trio-0.11.1.ebuild | 43 ++++++++++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 dev-python/quart-trio/Manifest create mode 100644 dev-python/quart-trio/metadata.xml create mode 100644 dev-python/quart-trio/quart-trio-0.11.1.ebuild (limited to 'dev-python/quart-trio') diff --git a/dev-python/quart-trio/Manifest b/dev-python/quart-trio/Manifest new file mode 100644 index 000000000000..ca8de06ec426 --- /dev/null +++ b/dev-python/quart-trio/Manifest @@ -0,0 +1 @@ +DIST quart-trio-0.11.1.gh.tar.gz 18568 BLAKE2B faabf4204a82dcc70e41d1d1ec7171c89386f2e40979c20501890d9bc27eb2af693bc791a9015a9c4c676a5e25ec69dc4975a0cd09987cd14f699a04442d54da SHA512 8ea20c36c772eff3e2b0a83a4c325cd223c19b3d7e1e51e7378897bd11479db2c8015d2e8c4713721070fc413f42b19f844a3966a0d06d299439cf514b0b3291 diff --git a/dev-python/quart-trio/metadata.xml b/dev-python/quart-trio/metadata.xml new file mode 100644 index 000000000000..0a22f1b2a556 --- /dev/null +++ b/dev-python/quart-trio/metadata.xml @@ -0,0 +1,13 @@ + + + + + + python@gentoo.org + + + + pgjones/quart-trio + quart-trio + + diff --git a/dev-python/quart-trio/quart-trio-0.11.1.ebuild b/dev-python/quart-trio/quart-trio-0.11.1.ebuild new file mode 100644 index 000000000000..fff0e201a851 --- /dev/null +++ b/dev-python/quart-trio/quart-trio-0.11.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="A Quart extension to provide trio support" +HOMEPAGE=" + https://github.com/pgjones/quart-trio/ + https://pypi.org/project/quart-trio/ +" +# no tests in sdist, as of 0.11.1 +SRC_URI=" + https://github.com/pgjones/quart-trio/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/exceptiongroup-1.0.0[${PYTHON_USEDEP}] + >=dev-python/hypercorn-0.12.0[${PYTHON_USEDEP}] + >=dev-python/quart-0.19[${PYTHON_USEDEP}] + >=dev-python/trio-0.19.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-trio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p trio +} -- cgit v1.2.3-65-gdbad