public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/httpcore/
Date: Sun, 29 Mar 2020 09:29:09 +0000 (UTC)	[thread overview]
Message-ID: <1585474144.261df3eb62bc415489e08cbb84ab8cc5401df969.Alessandro-Barbieri@gentoo> (raw)

commit:     261df3eb62bc415489e08cbb84ab8cc5401df969
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Mar 29 09:28:02 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Mar 29 09:29:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=261df3eb

dev-python/httpcore: new package

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/httpcore/Manifest              |  1 +
 dev-python/httpcore/httpcore-0.7.0.ebuild | 49 +++++++++++++++++++++++++++++++
 dev-python/httpcore/metadata.xml          | 26 ++++++++++++++++
 3 files changed, 76 insertions(+)

diff --git a/dev-python/httpcore/Manifest b/dev-python/httpcore/Manifest
new file mode 100644
index 0000000..82c23f3
--- /dev/null
+++ b/dev-python/httpcore/Manifest
@@ -0,0 +1 @@
+DIST httpcore-0.7.0.tar.gz 24689 BLAKE2B 5a7fa8eab6dc166f96c1a71d2ce1980155c37e286421fe10ff17315680d5a1ba5a6b52a8e0bcf8f727cdb146971ea82942327a900408ab72f8c82e2bfc9f9f83 SHA512 4999900e23aa9750f830e0d521db51e606c5b43e254cad8b98c17c2d3e4b2bd59020308954f5411ad766bff1759e2812a5b5e313273be22002dd87a75ea2413a

diff --git a/dev-python/httpcore/httpcore-0.7.0.ebuild b/dev-python/httpcore/httpcore-0.7.0.ebuild
new file mode 100644
index 0000000..acaa8e1
--- /dev/null
+++ b/dev-python/httpcore/httpcore-0.7.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_6 )
+
+inherit distutils-r1
+
+DESCRIPTION="A minimal HTTP client"
+HOMEPAGE="
+	https://github.com/encode/httpcore
+	https://pypi.org/project/httpcore
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND="
+	dev-python/h11[${PYTHON_USEDEP}]
+	dev-python/hyper-h2[${PYTHON_USEDEP}]
+	dev-python/sniffio[${PYTHON_USEDEP}]
+	dev-python/trio[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	doc? (
+		dev-python/mkautodoc
+		dev-python/mkdocs
+		dev-python/mkdocs-material
+	)
+"
+DEPEND="
+	${RDEPEND}
+	test? (
+		dev-python/autoflake[${PYTHON_USEDEP}]
+		dev-python/black[${PYTHON_USEDEP}]
+		dev-python/isort[${PYTHON_USEDEP}]
+		dev-python/mypy[${PYTHON_USEDEP}]
+		dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+		dev-python/pytest-trio[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_tests pytest
+#todo doc

diff --git a/dev-python/httpcore/metadata.xml b/dev-python/httpcore/metadata.xml
new file mode 100644
index 0000000..8b1dc83
--- /dev/null
+++ b/dev-python/httpcore/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>lssndrbarbieri@gmail.com</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <longdescription lang="en">
+The HTTP Core package provides a minimal low-level HTTP client, which does one thing only. Sending HTTP requests.
+
+It does not provide any high level model abstractions over the API, does not handle redirects, multipart uploads, building authentication headers, transparent HTTP caching, URL parsing, session cookie handling, content or charset decoding, handling JSON, environment based configuration defaults, or any of that Jazz.
+
+Some things HTTP Core does do:
+
+    Sending HTTP requests.
+    Provides both sync and async interfaces.
+    Supports HTTP/1.1 and HTTP/2.
+    Async backend support for asyncio and trio.
+    Automatic connection pooling.
+    HTTP(S) proxy support.
+  </longdescription>
+  <upstream>
+    <remote-id type="github">https://github.com/encode/httpcore</remote-id>
+    <remote-id type="pypi">httpcore</remote-id>
+  </upstream>
+</pkgmetadata>


             reply	other threads:[~2020-03-29  9:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-29  9:29 Alessandro Barbieri [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-03-29 13:21 [gentoo-commits] repo/proj/guru:master commit in: dev-python/httpcore/ Andrew Ammerlaan
2020-03-29 13:21 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-04-07  1:22 Alessandro Barbieri
2020-05-24 19:03 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-05-24  8:35 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-05-28 11:05 Andrew Ammerlaan
2020-07-03 18:44 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-07-03 18:44 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-08-14 18:20 Andrew Ammerlaan
2020-08-29 14:14 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-08-29 14:14 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-12-06  9:40 Alessandro Barbieri
2020-12-18 14:15 Andrew Ammerlaan
2021-02-17 18:33 Andrew Ammerlaan
2021-02-17 18:33 Andrew Ammerlaan

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=1585474144.261df3eb62bc415489e08cbb84ab8cc5401df969.Alessandro-Barbieri@gentoo \
    --to=lssndrbarbieri@gmail.com \
    --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