diff options
-rw-r--r-- | dev-python/starlette/Manifest | 1 | ||||
-rw-r--r-- | dev-python/starlette/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/starlette/starlette-0.17.1.ebuild | 37 |
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest new file mode 100644 index 000000000000..bdd1afa4880c --- /dev/null +++ b/dev-python/starlette/Manifest @@ -0,0 +1 @@ +DIST starlette-0.17.1.tar.gz 403781 BLAKE2B 75de462afc507d89159f17002eb2acc5453520ad312573d5697f5da8fc7d76fcb2407bf41086c923a60a59766f5ac02de1b003962a4d1031c062bd80a0d50e6c SHA512 a8f8cee0dc40d19eab62996f4ef1230fa758375fa9b51e15eae5c906a89b76519ebe4e423aa567d73e4c055cef63e9bbae11b47d4372e28b615f6edaf22a06a7 diff --git a/dev-python/starlette/metadata.xml b/dev-python/starlette/metadata.xml new file mode 100644 index 000000000000..55eaddf99b38 --- /dev/null +++ b/dev-python/starlette/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">encode/starlette</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/starlette/starlette-0.17.1.ebuild b/dev-python/starlette/starlette-0.17.1.ebuild new file mode 100644 index 000000000000..ddc0f7326ba1 --- /dev/null +++ b/dev-python/starlette/starlette-0.17.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="The little ASGI framework that shines" +HOMEPAGE="https://www.starlette.io/" +SRC_URI="https://github.com/encode/starlette/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +# Needs fixing with trio deprecations (dies on ModuleWithDeprecations) +RESTRICT="test" + +RDEPEND="dev-python/anyio[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}]" +BDEPEND="test? ( dev-python/trio[${PYTHON_USEDEP}] )" + +EPYTEST_IGNORE=( + # Unpackaged 'databases' dependency + tests/test_database.py + + # Unpackaged 'multipart' dependency + tests/test_formparsers.py +) + +EPYTEST_DESELECT=( + # Unpackaged 'multipart' dependency + tests/test_requests.py::test_request_form_urlencoded +) + +distutils_enable_tests pytest |