diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-12-29 03:41:04 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-12-29 04:21:25 +0100 |
commit | 74c39a78cc80e9e5b65221b4f0cb46e64799aa24 (patch) | |
tree | 4cdce3963380e643db9b9d8e4eb46ada711f5df3 /dev-python | |
parent | dev-python/nuitka: Bump to 2.5.9 (diff) | |
download | gentoo-74c39a78cc80e9e5b65221b4f0cb46e64799aa24.tar.gz gentoo-74c39a78cc80e9e5b65221b4f0cb46e64799aa24.tar.bz2 gentoo-74c39a78cc80e9e5b65221b4f0cb46e64799aa24.zip |
dev-python/starlette: Bump to 0.44.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/starlette/Manifest | 1 | ||||
-rw-r--r-- | dev-python/starlette/starlette-0.44.0.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest index 4ece128715a8..3454030d2d87 100644 --- a/dev-python/starlette/Manifest +++ b/dev-python/starlette/Manifest @@ -1,3 +1,4 @@ DIST starlette-0.41.3.gh.tar.gz 2574193 BLAKE2B 4363317669b44df1e3f882aa88a32c2f6c53d9b349c8e65455a4f5bbd58a39a6e5342cfdd24cec2b652616fd57cbd4e46b9a81702251d336747d984c946bed3f SHA512 f6f0dc60dc557567fb342bbfff4b19b2c634f202d355589c4b66021f5018fdbf84e101b820926284519e0b8272f325045845f126239516034ce2d3c25558b7b3 DIST starlette-0.42.0.gh.tar.gz 2575175 BLAKE2B 8c8d85288ad7a42b9771431377e5b6ecd98f6c6088fa913bddf496db2de1c7c1e471d1b9a0a6a17885acfe96e503391e066d1b8c6f612329afe69d8ca8743935 SHA512 d7b0da5333930d6ce9315387cc7e23fd22b4ed379d37c8f143cf6e6a07b5cb2d207d4c349616788633387fa54c6fc377feb28df6ccd1216b824e66a47c950f2b DIST starlette-0.43.0.gh.tar.gz 2575272 BLAKE2B 9905f678f5ea26e40e8b37cbf130fb03c1b6337c30777a24f3092134ac2ab077b4de2ca7b25feae8ee6bdb3334558c196688d8dca89f519d0949370992477218 SHA512 9cb80e0eebb6fecde411dce6c3beb1d733ccf887b9145c88b5608ef78e942d8c808c0bc8971fcdb233b6f2b973617fe7e60bc8a0d97cc14b002efe74f1900683 +DIST starlette-0.44.0.gh.tar.gz 2575663 BLAKE2B f566f354b87379ba076b37ebb7366ffc8c209bf1318f8c49ffcdc2cb604b90d29ecb24071b17c551c7e2aa4d383393fae9bf2b3e8129095e7adcaf10956d3a9d SHA512 052baac1a0f60354a35711e87de58b90b1c6fd13f6a2290746663dcc88d131840c340a2c95f8664b4b6347a7397639e26e547a1c353ca7b1911c3f5e3873868e diff --git a/dev-python/starlette/starlette-0.44.0.ebuild b/dev-python/starlette/starlette-0.44.0.ebuild new file mode 100644 index 000000000000..b7ad404f1294 --- /dev/null +++ b/dev-python/starlette/starlette-0.44.0.ebuild @@ -0,0 +1,57 @@ +# 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-5[${PYTHON_USEDEP}] + >=dev-python/anyio-3.4.0[${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 +} |