From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3AA1D1580EB for ; Fri, 30 May 2025 02:05:23 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 25D8833FE60 for ; Fri, 30 May 2025 02:05:23 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 53F631104B3; Fri, 30 May 2025 02:05:03 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 42EC01104AE for ; Fri, 30 May 2025 02:05:03 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EC52333BE11 for ; Fri, 30 May 2025 02:05:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6CE8728FC for ; Fri, 30 May 2025 02:05:00 +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: <1748568334.21a2d0e52685554b8b33b55fd94470a75c793edd.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/starlette/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/starlette/Manifest dev-python/starlette/starlette-0.47.0.ebuild X-VCS-Directories: dev-python/starlette/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 21a2d0e52685554b8b33b55fd94470a75c793edd X-VCS-Branch: master Date: Fri, 30 May 2025 02:05:00 +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: e035ff4d-4ed1-49d7-9b05-4a43328ff525 X-Archives-Hash: e3d230244702e4e7a772e087e96060d2 commit: 21a2d0e52685554b8b33b55fd94470a75c793edd Author: Michał Górny gentoo org> AuthorDate: Fri May 30 01:25:34 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri May 30 01:25:34 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21a2d0e5 dev-python/starlette: Bump to 0.47.0 Signed-off-by: Michał Górny gentoo.org> dev-python/starlette/Manifest | 1 + dev-python/starlette/starlette-0.47.0.ebuild | 57 ++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest index 138061d7dfd4..22931e1774ba 100644 --- a/dev-python/starlette/Manifest +++ b/dev-python/starlette/Manifest @@ -1 +1,2 @@ DIST starlette-0.46.2.gh.tar.gz 2580854 BLAKE2B 65f1a6c2bf74db77390802c3ca9f7e8f9aff22890f69547137ab779946680442cc2072b8f468c18257b4f730d156a650f8faf5395d74b05f2a15f0573e8ffdde SHA512 51805e61c33b20d2c034d513c4795876a70f60f19798a91fad3594d77bb0fd638c6de73d56032b1806df9e9bff62dcb13aa23d0b7e5c83d0a0ef5166f0b141da +DIST starlette-0.47.0.gh.tar.gz 2582806 BLAKE2B 4272451fed218d7a2ec0ccb9d7d921bce62be01ff28f6cf0e906e221507f345f850ca8fd3e09aedf748b45df36c2692bb6b3abb4058e8bbaf777312765f51281 SHA512 4a53a0e91cbcb67df1e065217a9a905888049d3bbd7a3f39ce392816cebb9e8e4bdd0b269c191e9d6003dc3f306355dd7d50d180c56b904485fffa793ba82e72 diff --git a/dev-python/starlette/starlette-0.47.0.ebuild b/dev-python/starlette/starlette-0.47.0.ebuild new file mode 100644 index 000000000000..33e06deee1de --- /dev/null +++ b/dev-python/starlette/starlette-0.47.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="The little ASGI framework that shines" +HOMEPAGE=" + https://www.starlette.io/ + https://github.com/encode/starlette/ + https://pypi.org/project/starlette/ +" +# no docs or tests in sdist, as of 0.27.0 +SRC_URI=" + https://github.com/encode/starlette/archive/${PV/_p/.post}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + =dev-python/anyio-3.6.2[${PYTHON_USEDEP}] + =dev-python/httpx-0.22.0[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/jinja2[${PYTHON_USEDEP}] + >=dev-python/python-multipart-0.0.18[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + ) +" + +: ${EPYTEST_TIMEOUT:-180} +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # Unpackaged 'databases' dependency + tests/test_database.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p anyio +}