public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Louis Sautier" <sbraz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/httpcore/
Date: Wed, 24 Feb 2021 00:06:55 +0000 (UTC)	[thread overview]
Message-ID: <1614124969.f154b7a92f4208fb2404d16c802c3c7a4082bf99.sbraz@gentoo> (raw)

commit:     f154b7a92f4208fb2404d16c802c3c7a4082bf99
Author:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 23 16:50:05 2021 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Wed Feb 24 00:02:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f154b7a9

dev-python/httpcore: new package, version 0.12.3

Indirect dependency of dev-python/denonavr.

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>

 dev-python/httpcore/Manifest               |  1 +
 dev-python/httpcore/httpcore-0.12.3.ebuild | 64 ++++++++++++++++++++++++++++++
 dev-python/httpcore/metadata.xml           | 13 ++++++
 3 files changed, 78 insertions(+)

diff --git a/dev-python/httpcore/Manifest b/dev-python/httpcore/Manifest
new file mode 100644
index 00000000000..b7e7fb9d804
--- /dev/null
+++ b/dev-python/httpcore/Manifest
@@ -0,0 +1 @@
+DIST httpcore-0.12.3.tar.gz 57587 BLAKE2B 3c0e7a210b21e54564c4c6077fadf66344b887662c71b05a1ad4a2c0224a4d703eccdf576d4443341176edee03b6776bfd49aaef2ea2f29f02614677e1dfad85 SHA512 b31535231dc2b6a5f1c9c0c538628f75360f04b4747b447ab0a7168ed32d0eabd463335c2f7fa782dcabb4cbc32891a2839ae50e0999d5a791c01b02533d38f0

diff --git a/dev-python/httpcore/httpcore-0.12.3.ebuild b/dev-python/httpcore/httpcore-0.12.3.ebuild
new file mode 100644
index 00000000000..9d5010440b8
--- /dev/null
+++ b/dev-python/httpcore/httpcore-0.12.3.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-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="A minimal low-level HTTP client"
+HOMEPAGE="https://www.encode.io/httpcore/"
+SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	=dev-python/h11-0*[${PYTHON_USEDEP}]
+	=dev-python/sniffio-1*[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+		dev-python/trustme[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+	# anyio and trio are not in the tree
+	sed -i 's/^@pytest.mark.\(anyio\|trio\)/@pytest.mark.skip/' \
+		tests/async_tests/test_*.py || die
+	sed -i '/^import trio/d' tests/utils.py || die
+	# pproxy is not in the tree, the associated fixture
+	# must be disabled to prevent errors during test setup
+	sed -i 's/def proxy_server().*/&\n    pytest.skip()/' \
+		tests/conftest.py || die
+	distutils-r1_python_prepare_all
+}
+
+python_test() {
+	local skipped_tests=(
+	# Require Internet access or hypercorn (not in the tree)
+		tests/test_threadsafety.py::test_threadsafe_basic
+		tests/sync_tests/test_interfaces.py::test_http_request
+		tests/sync_tests/test_interfaces.py::test_https_request
+		tests/sync_tests/test_interfaces.py::test_http2_request
+		tests/sync_tests/test_interfaces.py::test_closing_http_request
+		tests/sync_tests/test_interfaces.py::test_connection_pool_get_connection_info
+		tests/sync_tests/test_interfaces.py::test_max_keepalive_connections_handled_correctly
+		tests/sync_tests/test_interfaces.py::test_explicit_backend_name
+		tests/sync_tests/test_interfaces.py::test_connection_timeout_tcp
+		tests/sync_tests/test_interfaces.py::test_broken_socket_detection_many_open_files
+		tests/sync_tests/test_retries.py::test_no_retries
+		tests/sync_tests/test_retries.py::test_retries_exceeded
+		tests/sync_tests/test_retries.py::test_retries_enabled
+		# Require hypercorn
+		tests/sync_tests/test_interfaces.py::test_connection_timeout_uds
+	)
+	pytest -vv ${skipped_tests[@]/#/--deselect } \
+		|| die "Tests failed with ${EPYTHON}"
+}

diff --git a/dev-python/httpcore/metadata.xml b/dev-python/httpcore/metadata.xml
new file mode 100644
index 00000000000..3b3eef0fd95
--- /dev/null
+++ b/dev-python/httpcore/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">httpcore</remote-id>
+		<remote-id type="github">encode/httpcore</remote-id>
+		<bugs-to>https://github.com/encode/httpcore/issues</bugs-to>
+	</upstream>
+</pkgmetadata>


             reply	other threads:[~2021-02-24  0:06 UTC|newest]

Thread overview: 128+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-24  0:06 Louis Sautier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-02-26 14:26 [gentoo-commits] repo/gentoo:master commit in: dev-python/httpcore/ Sam James
2021-04-22  7:36 Michał Górny
2021-04-29  7:18 Michał Górny
2021-04-29 19:56 Michał Górny
2021-05-07  8:47 Michał Górny
2021-05-07 11:58 Michał Górny
2021-05-15  1:55 Sam James
2021-05-15  2:23 Sam James
2021-05-15 19:28 Sam James
2021-05-18 17:28 Sam James
2021-06-15 21:32 Michał Górny
2021-06-16 15:40 Sergei Trofimovich
2021-07-08  7:09 Sergei Trofimovich
2021-07-08  7:11 Sergei Trofimovich
2021-07-12  0:58 Sam James
2021-07-26  1:30 Sam James
2021-07-26  2:14 Sam James
2021-07-26  2:14 Sam James
2021-07-26  2:27 Sam James
2021-07-28  1:08 Sam James
2021-08-04 18:43 Louis Sautier
2021-08-05 13:30 Sam James
2021-09-13 20:31 Michał Górny
2021-09-20  6:25 Agostino Sarubbo
2021-10-17  6:31 Sam James
2021-10-17  8:58 Michał Górny
2021-11-13  9:26 Arthur Zamarin
2021-11-13  9:42 Jakov Smolić
2021-11-15 16:29 Agostino Sarubbo
2021-11-18  9:09 Sam James
2021-11-18 10:50 Sam James
2021-11-19  7:59 Arthur Zamarin
2021-11-19  8:37 Arthur Zamarin
2021-11-19 11:39 Arthur Zamarin
2021-11-24 23:59 Sam James
2021-12-03 14:20 Arthur Zamarin
2021-12-03 16:41 Michał Górny
2021-12-04  8:54 Arthur Zamarin
2021-12-20 23:10 Michał Górny
2021-12-21  9:42 Michał Górny
2022-01-05 17:18 Arthur Zamarin
2022-01-19  6:59 Arthur Zamarin
2022-01-19  7:43 Arthur Zamarin
2022-01-19  7:43 Arthur Zamarin
2022-01-19  7:43 Arthur Zamarin
2022-01-19  7:43 Arthur Zamarin
2022-01-19 13:51 Marek Szuba
2022-01-20  8:43 Arthur Zamarin
2022-01-20 13:08 Jakov Smolić
2022-01-20 13:08 Jakov Smolić
2022-01-20 16:42 Arthur Zamarin
2022-01-21 12:12 Arthur Zamarin
2022-01-29 15:39 Sam James
2022-02-01 22:03 Michał Górny
2022-02-04 17:16 Arthur Zamarin
2022-02-13  8:41 Jakov Smolić
2022-02-13  8:41 Jakov Smolić
2022-02-13 19:34 Arthur Zamarin
2022-02-16 19:52 Arthur Zamarin
2022-02-16 19:57 Arthur Zamarin
2022-02-19  0:37 Sam James
2022-02-19  7:28 Arthur Zamarin
2022-02-19  7:28 Arthur Zamarin
2022-02-19  7:54 Michał Górny
2022-02-27 18:46 Michał Górny
2022-04-07  9:24 Michał Górny
2022-04-08 14:23 Arthur Zamarin
2022-05-01  1:52 WANG Xuerui
2022-05-11 12:56 Jakov Smolić
2022-05-15  7:29 Michał Górny
2022-05-18  5:58 Michał Górny
2022-06-22  5:47 Agostino Sarubbo
2022-06-23  8:17 Michał Górny
2022-11-07  4:39 Michał Górny
2022-11-07 15:43 Michał Górny
2022-11-17 18:34 Arthur Zamarin
2022-11-26  6:28 Michał Górny
2022-12-10  8:59 Arthur Zamarin
2022-12-10  9:06 Michał Górny
2022-12-21  7:51 Michał Górny
2023-02-13  3:22 Matt Turner
2023-02-16 20:21 Michał Górny
2023-03-17  5:32 Michał Górny
2023-04-16 16:42 Arthur Zamarin
2023-05-18  3:14 Michał Górny
2023-05-24  7:02 Michał Górny
2023-05-30 16:21 Michał Górny
2023-06-18 14:47 Sam James
2023-06-18 17:13 Michał Górny
2023-06-18 18:47 Michał Górny
2023-07-06  3:31 Michał Górny
2023-08-05 15:13 Arthur Zamarin
2023-08-05 15:21 Michał Górny
2023-09-09  3:22 Michał Górny
2023-09-09 13:52 Michał Górny
2023-10-06 14:29 Sam James
2023-10-06 15:08 Michał Górny
2023-10-06 18:12 Michał Górny
2023-11-03 18:35 Michał Górny
2023-11-10 21:11 Michał Górny
2023-11-11 19:21 Sam James
2023-11-12 16:00 Michał Górny
2023-11-29 10:10 Michał Górny
2023-11-29 10:12 Michał Górny
2024-02-15  4:11 Michał Górny
2024-02-21 17:06 Michał Górny
2024-03-07 16:10 Michał Górny
2024-03-07 16:15 Michał Górny
2024-03-28  5:55 Michał Górny
2024-04-11 16:08 Arthur Zamarin
2024-04-11 19:04 Michał Górny
2024-05-14 17:13 Michał Górny
2024-06-14 15:55 Michał Górny
2024-10-02 11:22 Michał Górny
2024-10-19  7:45 Arthur Zamarin
2024-10-19  8:36 Michał Górny
2024-11-16  7:24 Michał Górny
2024-11-30 10:55 Arthur Zamarin
2024-11-30 11:12 Michał Górny
2025-02-16 19:58 Michał Górny
2025-04-12  4:54 Michał Górny
2025-04-25  4:46 Michał Górny
2025-04-26 13:00 Michał Górny
2025-05-02  9:29 Michał Górny
2025-05-14 11:59 Michał Górny
2025-05-31  9:59 Michał Górny
2025-05-31 10:19 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1614124969.f154b7a92f4208fb2404d16c802c3c7a4082bf99.sbraz@gentoo \
    --to=sbraz@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox