From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 329B015838C for ; Wed, 31 Jan 2024 08:04:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6CDA0E2AC8; Wed, 31 Jan 2024 08:04:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2AC07E2AC8 for ; Wed, 31 Jan 2024 08:04:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F3AA034313E for ; Wed, 31 Jan 2024 08:04:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D7BA13AA for ; Wed, 31 Jan 2024 08:04:07 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1706688244.eb9ad82b9b674b83de965ba6ed3ceb3bbabf45ed.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/quart/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/quart/Manifest dev-python/quart/metadata.xml dev-python/quart/quart-0.19.4.ebuild X-VCS-Directories: dev-python/quart/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: eb9ad82b9b674b83de965ba6ed3ceb3bbabf45ed X-VCS-Branch: master Date: Wed, 31 Jan 2024 08:04:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c0b37ad7-602a-4e94-94b9-d96fdc0f23cd X-Archives-Hash: 7deb6ccb9e2b1443cc2c51e80d4f456b commit: eb9ad82b9b674b83de965ba6ed3ceb3bbabf45ed Author: Michał Górny gentoo org> AuthorDate: Wed Jan 31 07:53:29 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jan 31 08:04:04 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb9ad82b dev-python/quart: New package, v0.19.4 New test dependency of dev-python/urllib3. Signed-off-by: Michał Górny gentoo.org> dev-python/quart/Manifest | 1 + dev-python/quart/metadata.xml | 12 +++++++++ dev-python/quart/quart-0.19.4.ebuild | 49 ++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+) diff --git a/dev-python/quart/Manifest b/dev-python/quart/Manifest new file mode 100644 index 000000000000..85bc0bf17bfb --- /dev/null +++ b/dev-python/quart/Manifest @@ -0,0 +1 @@ +DIST quart-0.19.4.gh.tar.gz 493787 BLAKE2B 8a754687cc2e8321ed6b2243cfe519d95e955869a1a12c89a22aa3e304466a4a496531e7ca8e819c0daee88a6b077e7b54dbef02de84abd6f6dbf7b8988e139f SHA512 d6673a43733b8f1caa2180c545cea99eb9670d802b29f123e6c499345bc33cc5f36c9146757e0eea9def811043a9b0e7d59e5e7012ee965b425ec32620cd383a diff --git a/dev-python/quart/metadata.xml b/dev-python/quart/metadata.xml new file mode 100644 index 000000000000..e630e696005f --- /dev/null +++ b/dev-python/quart/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + + + + pallets/quart + Quart + + diff --git a/dev-python/quart/quart-0.19.4.ebuild b/dev-python/quart/quart-0.19.4.ebuild new file mode 100644 index 000000000000..c81ca8ecca32 --- /dev/null +++ b/dev-python/quart/quart-0.19.4.ebuild @@ -0,0 +1,49 @@ +# 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 Python ASGI web microframework with the same API as Flask" +HOMEPAGE=" + https://github.com/pallets/quart/ + https://pypi.org/project/Quart/ +" +# no tests in sdist as of 0.19.4 +SRC_URI=" + https://github.com/pallets/quart/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/aiofiles[${PYTHON_USEDEP}] + >=dev-python/blinker-1.6[${PYTHON_USEDEP}] + >=dev-python/click-8.0.0[${PYTHON_USEDEP}] + >=dev-python/flask-3.0.0[${PYTHON_USEDEP}] + >=dev-python/hypercorn-0.11.2[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/markupsafe[${PYTHON_USEDEP}] + >=dev-python/werkzeug-3.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p asyncio +}