commit: 05619380fc6ee89b6c13712373cd8b856bb31b5c Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Jan 25 05:33:00 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Jan 25 06:24:23 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05619380
dev-python/starlette: Bump to 0.45.3 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/starlette/Manifest | 1 + dev-python/starlette/starlette-0.45.3.ebuild | 57 ++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest index 5dcb277587b1..7f1fc86edb04 100644 --- a/dev-python/starlette/Manifest +++ b/dev-python/starlette/Manifest @@ -1,2 +1,3 @@ DIST starlette-0.44.0.gh.tar.gz 2575663 BLAKE2B f566f354b87379ba076b37ebb7366ffc8c209bf1318f8c49ffcdc2cb604b90d29ecb24071b17c551c7e2aa4d383393fae9bf2b3e8129095e7adcaf10956d3a9d SHA512 052baac1a0f60354a35711e87de58b90b1c6fd13f6a2290746663dcc88d131840c340a2c95f8664b4b6347a7397639e26e547a1c353ca7b1911c3f5e3873868e DIST starlette-0.45.2.gh.tar.gz 2574149 BLAKE2B 8e75566e5235bb987fc6ee3e9ab56b792c11c32046f0c93e10ca71488bf93fede2741ed6425511d6d061144c2bac4c859620310b6517d9860ab4e81d4b4cbcfa SHA512 f8a7f553abba43554263d94de65d843784a7a97d05f76142a6ba4c814488e0abc398305b6c11ed3d5228c287795df78f1174f0a4ecd79a7beb2ad3b5e76bf86f +DIST starlette-0.45.3.gh.tar.gz 2574214 BLAKE2B e3a1c44288ba8d2da558417d14a2787a7c00c689298074b4ac9ce330d90e17181d98ad2ed85795bcea408ee2a64d287dec14ce5c7f9dfc79507562697b83511a SHA512 45d3726ce794a7572e4c816fa3eb1a8a9ad2c110757200b4f6e1aed0d502d2cc293e29c5b282d3451c9770ea067cfb684176755bf2d261fdb22de111ef8a1542 diff --git a/dev-python/starlette/starlette-0.45.3.ebuild b/dev-python/starlette/starlette-0.45.3.ebuild new file mode 100644 index 000000000000..944b7f1ef8da --- /dev/null +++ b/dev-python/starlette/starlette-0.45.3.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 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-5[${PYTHON_USEDEP}] + >=dev-python/anyio-3.6.2[${PYTHON_USEDEP}] + <dev-python/httpx-0.29[${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 +}