From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1254275-garchives=archives.gentoo.org@lists.gentoo.org> 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 1D4491382C5 for <garchives@archives.gentoo.org>; Wed, 24 Feb 2021 00:06:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 266DAE0839; Wed, 24 Feb 2021 00:06:58 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 9888EE081E for <gentoo-commits@lists.gentoo.org>; Wed, 24 Feb 2021 00:06:57 +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 B85A6335CDE for <gentoo-commits@lists.gentoo.org>; Wed, 24 Feb 2021 00:06:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 162124F3 for <gentoo-commits@lists.gentoo.org>; Wed, 24 Feb 2021 00:06:55 +0000 (UTC) From: "Louis Sautier" <sbraz@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" <sbraz@gentoo.org> Message-ID: <1614125089.b5dc6c977c60efae257f408911e3e57141deafb9.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/httpx/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/httpx/Manifest dev-python/httpx/httpx-0.16.1.ebuild dev-python/httpx/metadata.xml X-VCS-Directories: dev-python/httpx/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: b5dc6c977c60efae257f408911e3e57141deafb9 X-VCS-Branch: master Date: Wed, 24 Feb 2021 00:06:55 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1f55e914-c8ed-49d4-94a3-f59e454c657d X-Archives-Hash: 1064d3b560903ced42ecc8493bf151f0 commit: b5dc6c977c60efae257f408911e3e57141deafb9 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> AuthorDate: Tue Feb 23 17:01:17 2021 +0000 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> CommitDate: Wed Feb 24 00:04:49 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5dc6c97 dev-python/httpx: new package, version 0.16.1 New dependency of dev-python/denonavr. dev-python/uvicorn will be added in the next commit. Package-Manager: Portage-3.0.14, Repoman-3.0.2 RepoMan-Options: --force Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> dev-python/httpx/Manifest | 1 + dev-python/httpx/httpx-0.16.1.ebuild | 45 ++++++++++++++++++++++++++++++++++++ dev-python/httpx/metadata.xml | 13 +++++++++++ 3 files changed, 59 insertions(+) diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest new file mode 100644 index 00000000000..f0d4a82982b --- /dev/null +++ b/dev-python/httpx/Manifest @@ -0,0 +1 @@ +DIST httpx-0.16.1.tar.gz 965347 BLAKE2B a6c5bcdda595ffcfb824194564ebd93760a9180e60665a9540fc6a2822b1be4273b940fee61cb4b49c2d97a5f4d71b1caf32deddec18d2fb636465b3868aece4 SHA512 d76b2c94c655c187ab150f20b16906034574d017a67c4a06c456d55071434cc0ba7752bdceda86aa6b1a1fe9109fa11594e4ea679cd7d2a77898fb40fa5153d3 diff --git a/dev-python/httpx/httpx-0.16.1.ebuild b/dev-python/httpx/httpx-0.16.1.ebuild new file mode 100644 index 00000000000..aff93e055f9 --- /dev/null +++ b/dev-python/httpx/httpx-0.16.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 + +DESCRIPTION="Fully-featured HTTP client which provides sync and async APIs" +HOMEPAGE="https://www.python-httpx.org/" +SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] + =dev-python/httpcore-0.12*[${PYTHON_USEDEP}] + >=dev-python/rfc3986-1.3[${PYTHON_USEDEP}] + <dev-python/rfc3986-2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/brotlipy[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/hyper-h2[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/uvicorn[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # Require Internet access + sed -i 's/test_async_proxy_close\|test_sync_proxy_close/_&/' \ + tests/client/test_proxies.py || die + # trio is not currently in the tree + sed -i '/^import trio/d' tests/concurrency.py || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/httpx/metadata.xml b/dev-python/httpx/metadata.xml new file mode 100644 index 00000000000..8749dfa631b --- /dev/null +++ b/dev-python/httpx/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">httpx</remote-id> + <remote-id type="github">encode/httpx</remote-id> + <bugs-to>https://github.com/encode/httpx/issues</bugs-to> + </upstream> +</pkgmetadata>