commit:     aaac150eece1e8cab42bd9b193795a35630068de
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 28 04:57:14 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul 28 05:25:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaac150e

dev-python/starlette: Bump to 0.38.2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/starlette/Manifest                |  1 +
 dev-python/starlette/starlette-0.38.2.ebuild | 55 ++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest
index c5ee95363608..13b2cecf65c5 100644
--- a/dev-python/starlette/Manifest
+++ b/dev-python/starlette/Manifest
@@ -1,3 +1,4 @@
 DIST starlette-0.37.2.gh.tar.gz 2846433 BLAKE2B 
489fe0d3148f8f006d32d3e52e82cc2c07d9b1a8e3a3cadabe2aa2eb9dd7e00b35e2093dc1de0cb4a6a4606395ed4d19b26778686216a7f8b55a15e61701c9da
 SHA512 
27240c706553e610da05cfc92f818c61e97a891ea7c960fef925a122100a61931cbca973a0995aa1e79d192cda2250139f471929a3f4a7b0f4600d00b6287744
 DIST starlette-0.38.0.gh.tar.gz 2847354 BLAKE2B 
edcaa8d360f8316fc91f8e32efe778c74bad491c044e2cf5577878a27b840303b34a8f0aa0cc518165a54f28049fb9ed27af4f7e260dc6fc4fbf1f61897237e6
 SHA512 
89b79f8e3daf1567bc69a2f1f6710a0e981a6633cd462eaa1e014e514f4dbdc98fcb592a3750a1055f08bad28908fc763267e7902479553513e96e2db566b63f
 DIST starlette-0.38.1.gh.tar.gz 2847236 BLAKE2B 
79ab91120ac9739e438c6fb52f36c7b2b011ad9b12dbe7f6b883b19e58d76189da4cbb3f42e8d0ffba957b225596f6a938862dd577962b2f9b7114c2105f3de3
 SHA512 
a7f6415a2fb3640a7f6568fc8d115a04b43ca93f9cff189802d79c1c2c33d3a6eaa631a04c871e4897d9c9d260d2b410095813ec90a86b8c1a23696608f30148
+DIST starlette-0.38.2.gh.tar.gz 2847558 BLAKE2B 
8416b4c0ab06be3cd0a90916cbd6682f28f4f09ed38bac0558fd6293bc4e1069c5d09a2a3e6ecc62522290db1dd05e4828eaceab96d547947bffb6d464364aa5
 SHA512 
5594f2f073662250cd7ca47bf835af09b77decd78b5e2f2a5e25fc87e3e59ccc61e6c07ad854feda11b1af8535744557d70778d2c57d01554756f8da10678a97

diff --git a/dev-python/starlette/starlette-0.38.2.ebuild 
b/dev-python/starlette/starlette-0.38.2.ebuild
new file mode 100644
index 000000000000..c9d6ad63e1aa
--- /dev/null
+++ b/dev-python/starlette/starlette-0.38.2.ebuild
@@ -0,0 +1,55 @@
+# 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="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~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.22.0[${PYTHON_USEDEP}]
+       dev-python/itsdangerous[${PYTHON_USEDEP}]
+       dev-python/jinja[${PYTHON_USEDEP}]
+       >=dev-python/python-multipart-0.0.7[${PYTHON_USEDEP}]
+       dev-python/pyyaml[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               >=dev-python/pytest-8[${PYTHON_USEDEP}]
+               dev-python/trio[${PYTHON_USEDEP}]
+       )
+"
+
+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
+}

Reply via email to