diff options
Diffstat (limited to 'dev-python/starlette')
-rw-r--r-- | dev-python/starlette/Manifest | 2 | ||||
-rw-r--r-- | dev-python/starlette/starlette-0.39.0.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest index 580fedbd1e0f..01b93ed15400 100644 --- a/dev-python/starlette/Manifest +++ b/dev-python/starlette/Manifest @@ -2,8 +2,10 @@ DIST starlette-0.38.2.gh.tar.gz 2847558 BLAKE2B 8416b4c0ab06be3cd0a90916cbd6682f DIST starlette-0.38.4.gh.tar.gz 2571795 BLAKE2B 0a4d9856b3bf51a2d86b36bec74df7845209d0e6b0cc5865180d498e60b5d29ad8fe32e5137c3b7f6e69ee805f3fa2544c338715401fcb6cb46aaf7030e3334f SHA512 853b1562f90f487306c23753b4ec41f099b3115bdc64a5b87d0db43374ce86a6546c4845fcd924965a7566ca7b52e6ab768825bb05830967f7f860e3a32a00ac DIST starlette-0.38.5.gh.tar.gz 2569392 BLAKE2B 9ad32478b22cc743652eda43ad71e6b43af9a1c9b42614a16b5fbae282cfdf5e1c092717bb35711d256e75249cf8705d3545289236c78382673f87a9706b7599 SHA512 1ad5ddb497eb35c8b0b2569218b7e98cb4bee0fc2497912aa86bc75fd894264f8d30c886313cc4aa6dd02a24197d71dbd0640b7e2f0a472ce1002ee5cba5ae59 DIST starlette-0.38.6.gh.tar.gz 2569402 BLAKE2B 1d580aa6d5f9782a0f3688f3ebde59ca0a8ec8756b3c05c9d9465af0ead346a566b28e14d068392d6d16a55a22a0c77adc3c99f781003df0b5963cfbb0e01514 SHA512 eeaf3c573e587ce4eec8c10f879b20059e0ca4f14c04865a744a8aefe1b3f51327a291e36db312d119b9df51475584b20d8407332a8817eee5b387255d4826d6 +DIST starlette-0.39.0.gh.tar.gz 2571995 BLAKE2B 8db760feac7b61bf7e438bff20f7eeb21b91c20fffb7b72c630bbf453d1e3f0e679d7a7726d1a1e7438586da63b950679781ca76abbdaf5d21489a4cc555c896 SHA512 f75cc19178b11a10d43e4b206ab89ca053907bfe5143f46d26c8d6b5e254263fe77a8ed760dfcb3e7f229fc3dc08df8f8bc914db454f012cda81edfb7d06613c EBUILD starlette-0.38.2.ebuild 1271 BLAKE2B 68e99eb7235c42fc57ca3f5bd8fa1a937da28e4bdf85b573fb408f43d3fa4044ca7b46ef0366ee78d0b8a8eb64010d291d774b131caf59f9fc91f44e709a5e0a SHA512 92c2d7f83a8fc1dd082d32ae7fd545d22e87c65a834e57dc2583d71fb0b1786dba428a774a61e13d42a27084ea7c830c2b3ad8cf1ce9ccac5ba8080317025b36 EBUILD starlette-0.38.4.ebuild 1305 BLAKE2B ee124904ac49f9af258e1b4b274a7a2b163fdfb7904f43581a802296a943081f2ec9ec03c36a321128659a25daf3ecbbbcfef0ea510954eda16e766b8be4fbbf SHA512 36b25760833f82e60ddde0b7497f9fdeab9b98a11070cdf3e24b640d7433d7ac4f62c0643af80da459c000a9ce98dba0eb00f5cab23697a4dcfbd1214eb781de EBUILD starlette-0.38.5.ebuild 1305 BLAKE2B ee124904ac49f9af258e1b4b274a7a2b163fdfb7904f43581a802296a943081f2ec9ec03c36a321128659a25daf3ecbbbcfef0ea510954eda16e766b8be4fbbf SHA512 36b25760833f82e60ddde0b7497f9fdeab9b98a11070cdf3e24b640d7433d7ac4f62c0643af80da459c000a9ce98dba0eb00f5cab23697a4dcfbd1214eb781de EBUILD starlette-0.38.6.ebuild 1305 BLAKE2B ee124904ac49f9af258e1b4b274a7a2b163fdfb7904f43581a802296a943081f2ec9ec03c36a321128659a25daf3ecbbbcfef0ea510954eda16e766b8be4fbbf SHA512 36b25760833f82e60ddde0b7497f9fdeab9b98a11070cdf3e24b640d7433d7ac4f62c0643af80da459c000a9ce98dba0eb00f5cab23697a4dcfbd1214eb781de +EBUILD starlette-0.39.0.ebuild 1305 BLAKE2B ee124904ac49f9af258e1b4b274a7a2b163fdfb7904f43581a802296a943081f2ec9ec03c36a321128659a25daf3ecbbbcfef0ea510954eda16e766b8be4fbbf SHA512 36b25760833f82e60ddde0b7497f9fdeab9b98a11070cdf3e24b640d7433d7ac4f62c0643af80da459c000a9ce98dba0eb00f5cab23697a4dcfbd1214eb781de MISC metadata.xml 371 BLAKE2B 0ccaa4659e63162b565359a1cae05764bea66d708a5f4af1a4716ba9ba23faa39ab4f5a806c0a9783f3f42282ee9b98e22a92f2b308b8dfe97bbf9c770a8add1 SHA512 0fc326941861260becd4129c8a351e89ba0f98f9a3ce9b5d50812f0eaf667743ab0d403889aa1b0a2d9fcedbe0212ba879d165ec8edd115686d4768e6b1326ca diff --git a/dev-python/starlette/starlette-0.39.0.ebuild b/dev-python/starlette/starlette-0.39.0.ebuild new file mode 100644 index 000000000000..366226d021e8 --- /dev/null +++ b/dev-python/starlette/starlette-0.39.0.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 ~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}] + ) +" + +: ${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 +} |