From 20b6ab983b55b022c6e4af317154089e18ad41cb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 2 Sep 2024 12:28:17 +0100 Subject: gentoo auto-resync : 02:09:2024 - 12:28:17 --- dev-python/starlette/Manifest | 2 + dev-python/starlette/starlette-0.38.4.ebuild | 56 ++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 dev-python/starlette/starlette-0.38.4.ebuild (limited to 'dev-python/starlette') diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest index 149ab0e88410..6e63397b869c 100644 --- a/dev-python/starlette/Manifest +++ b/dev-python/starlette/Manifest @@ -1,3 +1,5 @@ DIST starlette-0.38.2.gh.tar.gz 2847558 BLAKE2B 8416b4c0ab06be3cd0a90916cbd6682f28f4f09ed38bac0558fd6293bc4e1069c5d09a2a3e6ecc62522290db1dd05e4828eaceab96d547947bffb6d464364aa5 SHA512 5594f2f073662250cd7ca47bf835af09b77decd78b5e2f2a5e25fc87e3e59ccc61e6c07ad854feda11b1af8535744557d70778d2c57d01554756f8da10678a97 +DIST starlette-0.38.4.gh.tar.gz 2571795 BLAKE2B 0a4d9856b3bf51a2d86b36bec74df7845209d0e6b0cc5865180d498e60b5d29ad8fe32e5137c3b7f6e69ee805f3fa2544c338715401fcb6cb46aaf7030e3334f SHA512 853b1562f90f487306c23753b4ec41f099b3115bdc64a5b87d0db43374ce86a6546c4845fcd924965a7566ca7b52e6ab768825bb05830967f7f860e3a32a00ac EBUILD starlette-0.38.2.ebuild 1277 BLAKE2B 3ed722e0ca3a19d40205aca0e46013f4ba761b3367f77fa842730635b52a787d619dede6ec91c3092b5b8a955d2699135b0d70945a9bb1c6c3abd3b5956947e1 SHA512 e4c4976d90906d25009727c592d36956d86a0b7065abbad99e9d8bb0540983d5af0a33ea35dbe31d78e8d3abb53fee41849ea308bfcbcc0ef926aa861fe3a26b +EBUILD starlette-0.38.4.ebuild 1311 BLAKE2B 6aee43b210c4599160d77c615dae6f7b5cee3c3fde7b9432714342eeaf121f4830c74014e67467a24ca5a4035660a1d0990666e1ab88625d313afa77ee5c47c9 SHA512 2a8d8a60a85b50c6a9b76be7d2fe35b3928049d5ef67c2f6a50758be214c733d639bbbaf93f26a9da46bf9c53f7584600ca7e9aa8602791660d84a8a3f52f92e MISC metadata.xml 371 BLAKE2B 0ccaa4659e63162b565359a1cae05764bea66d708a5f4af1a4716ba9ba23faa39ab4f5a806c0a9783f3f42282ee9b98e22a92f2b308b8dfe97bbf9c770a8add1 SHA512 0fc326941861260becd4129c8a351e89ba0f98f9a3ce9b5d50812f0eaf667743ab0d403889aa1b0a2d9fcedbe0212ba879d165ec8edd115686d4768e6b1326ca diff --git a/dev-python/starlette/starlette-0.38.4.ebuild b/dev-python/starlette/starlette-0.38.4.ebuild new file mode 100644 index 000000000000..41aa434becfa --- /dev/null +++ b/dev-python/starlette/starlette-0.38.4.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="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~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/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}] + ) +" + +: ${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 +} -- cgit v1.2.3