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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 14D0D1581EC for ; Tue, 19 Nov 2024 04:42:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D35CAE08D1; Tue, 19 Nov 2024 04:42: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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B2A6DE08D1 for ; Tue, 19 Nov 2024 04:42: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 BF910340DC8 for ; Tue, 19 Nov 2024 04:42:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 19DB71E04 for ; Tue, 19 Nov 2024 04:42:08 +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: <1731989393.9e3de9bf45a15904d16dd33db59b8a0bd225b26a.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.41.3.ebuild X-VCS-Directories: dev-python/starlette/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9e3de9bf45a15904d16dd33db59b8a0bd225b26a X-VCS-Branch: master Date: Tue, 19 Nov 2024 04:42:08 +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: c48682de-af81-45d0-ab2b-31e2091aae9b X-Archives-Hash: b705f71b5e0850ad601a0dc3fd1bc72b commit: 9e3de9bf45a15904d16dd33db59b8a0bd225b26a Author: Michał Górny gentoo org> AuthorDate: Tue Nov 19 04:09:53 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Nov 19 04:09:53 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e3de9bf dev-python/starlette: Bump to 0.41.3 Signed-off-by: Michał Górny gentoo.org> dev-python/starlette/Manifest | 1 + dev-python/starlette/starlette-0.41.3.ebuild | 56 ++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest index 3370b65308d0..5ea109db5e21 100644 --- a/dev-python/starlette/Manifest +++ b/dev-python/starlette/Manifest @@ -1,2 +1,3 @@ DIST starlette-0.39.2.gh.tar.gz 2573134 BLAKE2B e6cd3bd3e2c2fac96d8b145ffae3a680d775a7668d9baf4db09ab81036985c8c0f5cdc6505f6db56f51126013118568c75d6f0dd6c28ea330baf575a5ff7c004 SHA512 2e81e61451136802449baafd152bf6db9cdad9a111713efb16ccef419aeb9a99b004167cd890509bad613df12d300cb5531197867c594c2b755220a1dae7bf14 DIST starlette-0.41.2.gh.tar.gz 2573909 BLAKE2B 387665e21586ec43a3683f30c111fe77ad71a7f1c8dfea13f50fae9a9315e6a00ede22f5a1c55cd05210e4996a834b2d3d60c001899905a002e11cb09b5e60c8 SHA512 7ef590fdd7bebcae54f203acf57cf086a85653b0286aa7dc5eac92c67f846e04961680234234cfd2a6d57c12678b2ce76763c39e96caed984a1220558090303c +DIST starlette-0.41.3.gh.tar.gz 2574193 BLAKE2B 4363317669b44df1e3f882aa88a32c2f6c53d9b349c8e65455a4f5bbd58a39a6e5342cfdd24cec2b652616fd57cbd4e46b9a81702251d336747d984c946bed3f SHA512 f6f0dc60dc557567fb342bbfff4b19b2c634f202d355589c4b66021f5018fdbf84e101b820926284519e0b8272f325045845f126239516034ce2d3c25558b7b3 diff --git a/dev-python/starlette/starlette-0.41.3.ebuild b/dev-python/starlette/starlette-0.41.3.ebuild new file mode 100644 index 000000000000..f037f2049020 --- /dev/null +++ b/dev-python/starlette/starlette-0.41.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +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.4.0[${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.13[${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 +}