From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 87A8E15800F for ; Fri, 27 Jan 2023 16:05:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C4F9E0D0A; Fri, 27 Jan 2023 16:05:51 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6DBA5E0D0A for ; Fri, 27 Jan 2023 16:05:51 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 63F0333BEA5 for ; Fri, 27 Jan 2023 16:05:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6872985B for ; Fri, 27 Jan 2023 16:05:48 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1674835057.77e83c646a626e079ccd19be0af7919f9e1b9c71.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/txrequests/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/txrequests/txrequests-0.9.6-r1.ebuild X-VCS-Directories: dev-python/txrequests/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 77e83c646a626e079ccd19be0af7919f9e1b9c71 X-VCS-Branch: master Date: Fri, 27 Jan 2023 16:05:48 +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: c75e9e41-96cd-494a-8d5a-f1f251cfa26e X-Archives-Hash: d6ae984872c70e2847e34583423bb6db commit: 77e83c646a626e079ccd19be0af7919f9e1b9c71 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jan 27 15:57:37 2023 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jan 27 15:57:37 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77e83c64 dev-python/txrequests: Use PEP517 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/txrequests/txrequests-0.9.6-r1.ebuild | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/dev-python/txrequests/txrequests-0.9.6-r1.ebuild b/dev-python/txrequests/txrequests-0.9.6-r1.ebuild new file mode 100644 index 000000000000..702041359e4e --- /dev/null +++ b/dev-python/txrequests/txrequests-0.9.6-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..10} ) + +inherit distutils-r1 + +DESCRIPTION="Asynchronous Python HTTP for Humans" +HOMEPAGE="https://github.com/tardyp/txrequests" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/requests-1.2.0[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}] +" +BDEPEND="test? ( ${RDEPEND} )" + +python_test() { + "${EPYTHON}" -m twisted.trial txrequests || die "Tests failed with ${EPYTHON}" +}