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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8FA5E138350 for ; Mon, 9 Mar 2020 17:55:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A20AAE0970; Mon, 9 Mar 2020 17:55:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 731FFE0970 for ; Mon, 9 Mar 2020 17:55:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3C1CA34F32A for ; Mon, 9 Mar 2020 17:55:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D6994173 for ; Mon, 9 Mar 2020 17:55:27 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1583774648.ec6535a78f3943b09f3fee9046dc3565334799f1.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/uvicorn/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/uvicorn/Manifest dev-python/uvicorn/metadata.xml dev-python/uvicorn/uvicorn-0.11.3.ebuild X-VCS-Directories: dev-python/uvicorn/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: ec6535a78f3943b09f3fee9046dc3565334799f1 X-VCS-Branch: master Date: Mon, 9 Mar 2020 17:55:27 +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: b5ca7e2b-fdf7-443d-aa16-133e27862df6 X-Archives-Hash: 87be9b65053ba1e38809609df63d89d2 commit: ec6535a78f3943b09f3fee9046dc3565334799f1 Author: Andrew Ammerlaan riseup net> AuthorDate: Mon Mar 9 17:09:04 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Mar 9 17:24:08 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ec6535a7 dev-python/uvicorn: The lightning-fast ASGI server Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/uvicorn/Manifest | 1 + dev-python/uvicorn/metadata.xml | 9 +++++ dev-python/uvicorn/uvicorn-0.11.3.ebuild | 57 ++++++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+) diff --git a/dev-python/uvicorn/Manifest b/dev-python/uvicorn/Manifest new file mode 100644 index 0000000..f5a6ba3 --- /dev/null +++ b/dev-python/uvicorn/Manifest @@ -0,0 +1 @@ +DIST uvicorn-0.11.3.tar.gz 490532 BLAKE2B 521f137ec94906d5fe9411e780551fb3f4a6eb3da2e7e49d67524b380267e1089bd778b5294f4c72e0da270aeddd89e598bb2c79251262fa528da29103eb259b SHA512 c7e5badbd57bf2962fb4ef538072bed8e509ade20ff98856dd88099adeaeb9044b35a547b9f1ade3575c6dbc4564519d69aaeca7dad95a3b463160cdd9a464a9 diff --git a/dev-python/uvicorn/metadata.xml b/dev-python/uvicorn/metadata.xml new file mode 100644 index 0000000..628ab20 --- /dev/null +++ b/dev-python/uvicorn/metadata.xml @@ -0,0 +1,9 @@ + + + + + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + diff --git a/dev-python/uvicorn/uvicorn-0.11.3.ebuild b/dev-python/uvicorn/uvicorn-0.11.3.ebuild new file mode 100644 index 0000000..e906cfa --- /dev/null +++ b/dev-python/uvicorn/uvicorn-0.11.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="The lightning-fast ASGI server" +HOMEPAGE="https://www.uvicorn.org/ + https://github.com/encode/uvicorn" +SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +IUSE="doc" +REQUIRED_USE="x86? ( !doc )" + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + dev-python/h11[${PYTHON_USEDEP}] + >=dev-python/uvloop-0.14.0[${PYTHON_USEDEP}] + dev-python/wsproto[${PYTHON_USEDEP}]" + +BDEPEND="doc? ( !x86? ( + dev-python/mkdocs + dev-python/mkdocs-material ) )" + +DEPEND="test? ( + dev-python/isort[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_prepare_all() { + # these tests fail, likely because wsproto is out of date + rm tests/protocols/test_websocket.py || die + rm tests/protocols/test_http.py || die + + # do not install LICENSE to /usr/ + sed -i -e '/data_files/d' setup.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + default + if use doc; then + mkdocs build || die "failed to make docs" + HTML_DOCS="site" + fi +} 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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 54B33138351 for ; Mon, 9 Mar 2020 17:28:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D278E08A2; Mon, 9 Mar 2020 17:28:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 096EFE08A2 for ; Mon, 9 Mar 2020 17:28:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4415A34F329 for ; Mon, 9 Mar 2020 17:28:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C57EE161 for ; Mon, 9 Mar 2020 17:28:27 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1583774648.ec6535a78f3943b09f3fee9046dc3565334799f1.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/uvicorn/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/uvicorn/Manifest dev-python/uvicorn/metadata.xml dev-python/uvicorn/uvicorn-0.11.3.ebuild X-VCS-Directories: dev-python/uvicorn/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: ec6535a78f3943b09f3fee9046dc3565334799f1 X-VCS-Branch: dev Date: Mon, 9 Mar 2020 17:28:27 +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: 1d3250f7-2030-456a-98d5-b342975e363b X-Archives-Hash: 973d10bd9ce9bc5812665891d06cf6b4 Message-ID: <20200309172827.TAtDaqX01tdByHFeBwLv_9Wxr93v-wYKoYrZeQJb2IQ@z> commit: ec6535a78f3943b09f3fee9046dc3565334799f1 Author: Andrew Ammerlaan riseup net> AuthorDate: Mon Mar 9 17:09:04 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Mar 9 17:24:08 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ec6535a7 dev-python/uvicorn: The lightning-fast ASGI server Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/uvicorn/Manifest | 1 + dev-python/uvicorn/metadata.xml | 9 +++++ dev-python/uvicorn/uvicorn-0.11.3.ebuild | 57 ++++++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+) diff --git a/dev-python/uvicorn/Manifest b/dev-python/uvicorn/Manifest new file mode 100644 index 0000000..f5a6ba3 --- /dev/null +++ b/dev-python/uvicorn/Manifest @@ -0,0 +1 @@ +DIST uvicorn-0.11.3.tar.gz 490532 BLAKE2B 521f137ec94906d5fe9411e780551fb3f4a6eb3da2e7e49d67524b380267e1089bd778b5294f4c72e0da270aeddd89e598bb2c79251262fa528da29103eb259b SHA512 c7e5badbd57bf2962fb4ef538072bed8e509ade20ff98856dd88099adeaeb9044b35a547b9f1ade3575c6dbc4564519d69aaeca7dad95a3b463160cdd9a464a9 diff --git a/dev-python/uvicorn/metadata.xml b/dev-python/uvicorn/metadata.xml new file mode 100644 index 0000000..628ab20 --- /dev/null +++ b/dev-python/uvicorn/metadata.xml @@ -0,0 +1,9 @@ + + + + + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + diff --git a/dev-python/uvicorn/uvicorn-0.11.3.ebuild b/dev-python/uvicorn/uvicorn-0.11.3.ebuild new file mode 100644 index 0000000..e906cfa --- /dev/null +++ b/dev-python/uvicorn/uvicorn-0.11.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="The lightning-fast ASGI server" +HOMEPAGE="https://www.uvicorn.org/ + https://github.com/encode/uvicorn" +SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +IUSE="doc" +REQUIRED_USE="x86? ( !doc )" + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + dev-python/h11[${PYTHON_USEDEP}] + >=dev-python/uvloop-0.14.0[${PYTHON_USEDEP}] + dev-python/wsproto[${PYTHON_USEDEP}]" + +BDEPEND="doc? ( !x86? ( + dev-python/mkdocs + dev-python/mkdocs-material ) )" + +DEPEND="test? ( + dev-python/isort[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_prepare_all() { + # these tests fail, likely because wsproto is out of date + rm tests/protocols/test_websocket.py || die + rm tests/protocols/test_http.py || die + + # do not install LICENSE to /usr/ + sed -i -e '/data_files/d' setup.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + default + if use doc; then + mkdocs build || die "failed to make docs" + HTML_DOCS="site" + fi +}