public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/httptools/
Date: Thu, 17 Oct 2024 02:51:36 +0000 (UTC)	[thread overview]
Message-ID: <1729133017.10270479b5d8c8b7c9e8a05482e8928af69b5ec6.mgorny@gentoo> (raw)

commit:     10270479b5d8c8b7c9e8a05482e8928af69b5ec6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 17 02:43:37 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Oct 17 02:43:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10270479

dev-python/httptools: Bump to 0.6.4

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/httptools/Manifest               |  1 +
 dev-python/httptools/httptools-0.6.4.ebuild | 67 +++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/dev-python/httptools/Manifest b/dev-python/httptools/Manifest
index a0116e633120..5aeca41590c8 100644
--- a/dev-python/httptools/Manifest
+++ b/dev-python/httptools/Manifest
@@ -1 +1,2 @@
 DIST httptools-0.6.2.gh.tar.gz 15209 BLAKE2B f9dbb15a46db4ff6d9ce418fa9854fe465d22c5ca7b758389f2d132f0e031015faea37241f68e8f47e3957da39de9930481e50d0b08e0308ad7d3bb918fc86bb SHA512 a4f79cfd82b1ab3d1bb4dc50cb4c720cdc5b2f94cb72ef693e4385726a02687f1a45d649c8cc22388f1215c9497f329b67eed90f065859380dbd54dd3046c89b
+DIST httptools-0.6.4.gh.tar.gz 15756 BLAKE2B 1f128fb566d677f783798236a12fc1729f819fb4e4cd52f43c4879ac6cff8a5c69fb147fef1dadda89e47b560652b15e7ab07e3e5b00f1e8a6ee23afe2efb879 SHA512 3a2518204b22ce00c1fa3f2387138f768511ff03a2a2ddf0b9c44a4d5de65c93bfd8d3ac9f4e9417805c7c9708a8cb39ec4889e08933fdc029607bcae5b54331

diff --git a/dev-python/httptools/httptools-0.6.4.ebuild b/dev-python/httptools/httptools-0.6.4.ebuild
new file mode 100644
index 000000000000..2e05bc44ea88
--- /dev/null
+++ b/dev-python/httptools/httptools-0.6.4.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="A collection of framework independent HTTP protocol utils"
+HOMEPAGE="
+	https://github.com/MagicStack/httptools/
+	https://pypi.org/project/httptools/
+"
+# sdist is missing cython source files, as of 0.6.2
+SRC_URI="
+	https://github.com/MagicStack/httptools/archive/v${PV}.tar.gz
+		-> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# don't ask me why they use both
+DEPEND="
+	net-libs/http-parser:=
+	net-libs/llhttp:=
+"
+RDEPEND="
+	${DEPEND}
+"
+BDEPEND="
+	dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_configure() {
+	cat > setup.cfg <<-EOF || die
+		[build_ext]
+		use_system_llhttp = true
+		use_system_http_parser = true
+		cython_always = true
+	EOF
+}
+
+python_test() {
+	local EPYTEST_DESELECT=()
+
+	case ${EPYTHON} in
+		pypy3)
+			EPYTEST_DESELECT+=(
+				# error message mismatches
+				# https://github.com/MagicStack/httptools/issues/16#issuecomment-1114181747
+				tests/test_parser.py::TestResponseParser::test_parser_response_2
+				tests/test_parser.py::TestRequestParser::test_parser_request_4
+				tests/test_parser.py::TestUrlParser::test_parser_url_10
+			)
+			;;
+	esac
+
+	rm -rf httptools || die
+	epytest tests
+}


             reply	other threads:[~2024-10-17  2:51 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-17  2:51 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-23  8:48 [gentoo-commits] repo/gentoo:master commit in: dev-python/httptools/ Arthur Zamarin
2025-02-16 18:44 Michał Górny
2025-01-05 10:33 WANG Xuerui
2025-01-04 13:41 Sam James
2024-12-14 16:54 Sam James
2024-11-03  4:40 Sam James
2024-11-02 17:34 Sam James
2024-11-02 12:28 Arthur Zamarin
2024-11-02 10:41 Arthur Zamarin
2024-11-02  8:48 Michał Górny
2024-11-02  8:48 Michał Górny
2024-11-02  8:48 Michał Górny
2024-10-25 11:31 Arthur Zamarin
2024-10-24 16:27 Arthur Zamarin
2024-10-24 16:27 Arthur Zamarin
2024-10-24 15:20 Arthur Zamarin
2024-10-24 12:12 Arthur Zamarin
2024-10-23 21:01 Arthur Zamarin
2024-10-17 15:29 Jakov Smolić
2024-10-17  3:40 Sam James
2024-10-17  3:29 Sam James
2024-10-16 18:12 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=1729133017.10270479b5d8c8b7c9e8a05482e8928af69b5ec6.mgorny@gentoo \
    --to=mgorny@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