mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-python/starlette: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
acfca20efd
commit
1eb20dbe8b
@ -1,2 +1 @@
|
||||
DIST starlette-0.47.1.gh.tar.gz 2583032 BLAKE2B e27b59a89a937cb70cbd4df50f2f55df6c07fab318772e3afb1b3143fd57fa61c07a48df6563b61682832852ea4db5f1df3c0cbebd2fd135f8d2d16d23fe3aa9 SHA512 22744f3697448c9327bdb1a6e71f4ea7fd6c1b868bdce1eaaa797e9a8be5dbd81513ae086c7b9d23e8fbf9c57373a43990f4aacf0bebef5c4c6fb626b16d8ab2
|
||||
DIST starlette-0.47.2.gh.tar.gz 2583977 BLAKE2B dbb7dbbd8e5b7092c37d5c169d9a82c5739335bcc6766e04f0b639559b1c3b6dd12bebf6feb62fb75f16af4550864e211c9f1fe3982ca115ca8e7d6cd9fbeca0 SHA512 812ac9d3eadd41a729c1b0d3ac1d6b0f369122fed450962280de252c0e8fab73fc5944991a7453ef48f920171849bfcb797d15f64302ee3645a34ae49004ee73
|
||||
|
||||
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
|
||||
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.6.2[${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}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/starlette[${PYTHON_USEDEP}]
|
||||
' 3.11 3.12)
|
||||
"
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user