diff options
author | Sam James <sam@gentoo.org> | 2021-12-12 02:45:47 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-12-12 06:08:49 +0000 |
commit | 746bd436e8d59436079d0f87acacd94177bb6aaa (patch) | |
tree | 291d3a91f28f18f9c573d1f6675028e1f3c1c2f4 /dev-python/starlette | |
parent | dev-lisp/sbcl: bump to 2.1.11 (diff) | |
download | gentoo-746bd436e8d59436079d0f87acacd94177bb6aaa.tar.gz gentoo-746bd436e8d59436079d0f87acacd94177bb6aaa.tar.bz2 gentoo-746bd436e8d59436079d0f87acacd94177bb6aaa.zip |
dev-python/starlette: initial import
Bug: https://bugs.gentoo.org/807748
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/starlette')
-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 |