From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 938E1158086 for ; Tue, 14 Dec 2021 07:14:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5AD4C2BC047; Tue, 14 Dec 2021 07:14:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9CFB92BC009 for ; Tue, 14 Dec 2021 07:14:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AF3D234366B for ; Tue, 14 Dec 2021 07:14:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D977424E for ; Tue, 14 Dec 2021 07:14:04 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1639465345.455d5bbd08e18d836476d51d66b7679245965b2a.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/starlette/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/starlette/Manifest dev-python/starlette/metadata.xml dev-python/starlette/starlette-0.17.1.ebuild X-VCS-Directories: dev-python/starlette/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 455d5bbd08e18d836476d51d66b7679245965b2a X-VCS-Branch: dev Date: Tue, 14 Dec 2021 07:14:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ae2df91d-6e85-413a-9cd2-df752e0892ce X-Archives-Hash: 200bc26e651c4c5260ac53d86c4ad592 commit: 455d5bbd08e18d836476d51d66b7679245965b2a Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Fri Dec 10 07:56:15 2021 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Tue Dec 14 07:02:25 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=455d5bbd dev-python/starlette: add 0.17.1 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-python/starlette/Manifest | 1 + dev-python/starlette/metadata.xml | 3 +- dev-python/starlette/starlette-0.17.1.ebuild | 59 ++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+), 2 deletions(-) diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest index 18540adc6..4865dbb97 100644 --- a/dev-python/starlette/Manifest +++ b/dev-python/starlette/Manifest @@ -1 +1,2 @@ DIST starlette-0.14.2.tar.gz 438350 BLAKE2B 862f1f6526f194e0dfd52e14860b63fbd97507a4a6d694d71e44041edbb435608a1e3511144e6fb3e8b39405672baf81e00685ad3928aebb244e566cfcd665d0 SHA512 4321d3d1890c49dea53d7923b456772ecc9d28083d28392e0e9cd1f39f33180cc1cb28914bee443849fa8c87015dd99610ea18e03f0101b0eaf3f8df56249fab +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 index a507be0a7..3287f65d2 100644 --- a/dev-python/starlette/metadata.xml +++ b/dev-python/starlette/metadata.xml @@ -1,6 +1,5 @@ - - + piotr.staroszczyk@get24.org 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..da23a8bd6 --- /dev/null +++ b/dev-python/starlette/starlette-0.17.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND="dev-python/mkdocs-material" +DOCS_AUTODOC=1 + +inherit distutils-r1 docs optfeature + +DESCRIPTION="The little ASGI framework that shines" +HOMEPAGE=" + https://www.starlette.io/ + https://github.com/encode/starlette +" +SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# trio tests are completely broken +RESTRICT="test" + +RDEPEND="dev-python/anyio[${PYTHON_USEDEP}]" +BDEPEND="test? ( + dev-python/aiosqlite[${PYTHON_USEDEP}] + dev-python/databases[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/python-multipart[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/sse-starlette[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] +)" + +distutils_enable_tests pytest + +python_prepare_all() { + # do not install LICENSE to /usr/ + sed -i -e '/data_files/d' setup.py || die + # do not depend on pytest-cov and fail on DeprecationWarning + rm setup.cfg || die + + distutils-r1_python_prepare_all +} + +pkg_postinst() { + optfeature "Required if you want to use Jinja2Templates" dev-python/jinja + optfeature "Required if you want to support form parsing, with request.form()" dev-python/python-multipart + optfeature "Required for SessionMiddleware support." dev-python/itsdangerous + optfeature "Required for SchemaGenerator support." dev-python/pyyaml + optfeature "Required if you want to use UJSONResponse." dev-python/ujson + optfeature "Server Sent Events" dev-python/sse-starlette +}