diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-16 02:01:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-16 02:01:58 +0000 |
commit | e07c6f9648d478943b5ecd6f1c42cc91cae0f547 (patch) | |
tree | 2c56c6944fb4016ee510ee97a1a158baf49edfe4 /dev-python/starlette | |
parent | 16a4365c3b854e62b50726456ddb29bb78fd5038 (diff) |
gentoo auto-resync : 16:12:2024 - 02:01:58
Diffstat (limited to 'dev-python/starlette')
-rw-r--r-- | dev-python/starlette/Manifest | 2 | ||||
-rw-r--r-- | dev-python/starlette/starlette-0.42.0.ebuild | 57 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest index cf8653155f95..1d9e4bd522b3 100644 --- a/dev-python/starlette/Manifest +++ b/dev-python/starlette/Manifest @@ -1,3 +1,5 @@ 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 EBUILD starlette-0.41.3.ebuild 1312 BLAKE2B 41d53782dd2bf7fda7dab7d0c8a254e6ddddba7960dc04a234b1068a63a2005b89263cc4fc6595529f032430208e9e786cd1b5d5d39374eb3de9a36ebf3fa78f SHA512 d01dcfd07455ad2bb38e873f35e82e50b602c1df18704fb34766ceadf4375ab5481c01e037c44ab4eb34cd0b3604079fd0210a895e98d19b96e7bfc08cd82f8b +EBUILD starlette-0.42.0.ebuild 1362 BLAKE2B 868dc008e2a5042f7647cc840a9d93486ee74804c88fd558538a31f7b67748fc473e625bf56d31d06879d5d1eddddc036ccdd6a4ef1017600986d8c34a104c10 SHA512 6755f6bf5a99381dff4aaca8c8ec301a53fe5ed3c5d920e09e394a3cb7332c2588a35828397c70dc1b71d65d50cda0378562217e496451467639c5e057d54277 MISC metadata.xml 371 BLAKE2B 0ccaa4659e63162b565359a1cae05764bea66d708a5f4af1a4716ba9ba23faa39ab4f5a806c0a9783f3f42282ee9b98e22a92f2b308b8dfe97bbf9c770a8add1 SHA512 0fc326941861260becd4129c8a351e89ba0f98f9a3ce9b5d50812f0eaf667743ab0d403889aa1b0a2d9fcedbe0212ba879d165ec8edd115686d4768e6b1326ca diff --git a/dev-python/starlette/starlette-0.42.0.ebuild b/dev-python/starlette/starlette-0.42.0.ebuild new file mode 100644 index 000000000000..b7ad404f1294 --- /dev/null +++ b/dev-python/starlette/starlette-0.42.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 +} |