From 04fcc07ffd9d4dfadb6c97833b3a28db032be4f5 Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Thu, 5 May 2022 16:24:03 -0400 Subject: [PATCH] starlette: add outdated starlette for theHarvester --- dev-python/starlette/Manifest | 1 + dev-python/starlette/starlette-0.17.1.ebuild | 37 +++++++++++++++++++ .../base/package.accept_keywords/dev-python | 1 + 3 files changed, 39 insertions(+) create mode 100644 dev-python/starlette/Manifest create mode 100644 dev-python/starlette/starlette-0.17.1.ebuild diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest new file mode 100644 index 000000000..bdd1afa48 --- /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/starlette-0.17.1.ebuild b/dev-python/starlette/starlette-0.17.1.ebuild new file mode 100644 index 000000000..81bb333e7 --- /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 ~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 diff --git a/profiles/pentoo/base/package.accept_keywords/dev-python b/profiles/pentoo/base/package.accept_keywords/dev-python index 8d30d9c92..bc84ab07e 100644 --- a/profiles/pentoo/base/package.accept_keywords/dev-python +++ b/profiles/pentoo/base/package.accept_keywords/dev-python @@ -202,6 +202,7 @@ dev-python/shodan dev-python/grequests dev-python/aiomultiprocess dev-python/aiosqlite +~dev-python/starlette-0.17.1 ~dev-python/starlette-0.18.0 =dev-python/starlette-0.19* #testing