blob: 81bb333e77d0012f47d9dd79802dff638c63fd40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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 ~x86"
# 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
|