From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1E5271580E0 for ; Wed, 04 Jun 2025 02:07:32 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 0961934311E for ; Wed, 04 Jun 2025 02:07:32 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 85AAE1104A7; Wed, 04 Jun 2025 02:07:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 7EBEB1104A7 for ; Wed, 04 Jun 2025 02:07:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 362B434308C for ; Wed, 04 Jun 2025 02:07:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D7B242937 for ; Wed, 04 Jun 2025 02:07:14 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1749002802.a7aa4cc00ca5e6dc1cd833ca81d03a3675743456.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/treq/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/treq/Manifest dev-python/treq/treq-25.5.0.ebuild X-VCS-Directories: dev-python/treq/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a7aa4cc00ca5e6dc1cd833ca81d03a3675743456 X-VCS-Branch: master Date: Wed, 04 Jun 2025 02:07:14 +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: ac122720-9b39-4521-b6da-cfddc670b791 X-Archives-Hash: 22b4b2d3f107620239e4c6d8ea9fc3ac commit: a7aa4cc00ca5e6dc1cd833ca81d03a3675743456 Author: Michał Górny gentoo org> AuthorDate: Wed Jun 4 01:38:55 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jun 4 02:06:42 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7aa4cc0 dev-python/treq: Bump to 25.5.0 Signed-off-by: Michał Górny gentoo.org> dev-python/treq/Manifest | 1 + dev-python/treq/treq-25.5.0.ebuild | 57 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-python/treq/Manifest b/dev-python/treq/Manifest index 7291f894e81b..589ccefe0388 100644 --- a/dev-python/treq/Manifest +++ b/dev-python/treq/Manifest @@ -1 +1,2 @@ DIST treq-24.9.1.tar.gz 85614 BLAKE2B cce700ae1f18b7e97953c45cb835786655caf47a0e425944e58f94c76a33c5948920c38f89283f50b51624f365326045d6ebb163c86644069f5bf548e137b9c0 SHA512 b8ed6ed5262073559babe8d0413a1f5369215a41ac7459441172a9086c654cf1dc7e51a0497d4c714726ae02d2163760cddde7008e360f37ebb4586b82409bb8 +DIST treq-25.5.0.tar.gz 83588 BLAKE2B 671e3e1f79f76abd1bda8b7826500bfc18c2d0bb192c668667f138fc123b178dcaee33e99e29f0ef437cbcaf12b511d54641b6300e6f068e85850a178dcf6617 SHA512 59fb457c2b4bc60ffa6fc0649c55fedcf4c64fdc43d7ea5c74241ab8e7a8afc23f878138dea249890e64ac0ba33959e8de443decb6ac388a976d8d4dabf64086 diff --git a/dev-python/treq/treq-25.5.0.ebuild b/dev-python/treq/treq-25.5.0.ebuild new file mode 100644 index 000000000000..a13d435d0958 --- /dev/null +++ b/dev-python/treq/treq-25.5.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A requests-like API built on top of twisted.web's Agent" +HOMEPAGE=" + https://github.com/twisted/treq/ + https://pypi.org/project/treq/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/hyperlink-21.0.0[${PYTHON_USEDEP}] + >=dev-python/incremental-24.7.2[${PYTHON_USEDEP}] + dev-python/multipart[${PYTHON_USEDEP}] + >=dev-python/requests-2.1.0[${PYTHON_USEDEP}] + >=dev-python/twisted-22.10.0[ssl,${PYTHON_USEDEP}] + >=dev-python/typing-extensions-3.10.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/incremental-24.7.2[${PYTHON_USEDEP}] + test? ( + dev-python/httpbin[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme + +src_prepare() { + distutils-r1_src_prepare + + # fix relative path for docs generation + sed -e 's@("..")@("../src")@' -i docs/conf.py || die + + # unbundle multipart + rm src/treq/_multipart.py || die + find -name '*.py' -exec \ + sed -i -e 's:from [.]\+_multipart:from multipart:' {} + || die +} + +python_test() { + "${EPYTHON}" -m twisted.trial treq || die "Tests failed with ${EPYTHON}" +}