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 8A668158091 for ; Sun, 29 May 2022 18:38:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9404CE08D3; Sun, 29 May 2022 18:38:39 +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 pigeon.gentoo.org (Postfix) with ESMTPS id 7A6C0E08D3 for ; Sun, 29 May 2022 18:38:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 7BD633417F6 for ; Sun, 29 May 2022 18:38:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 31AB63B8 for ; Sun, 29 May 2022 18:38:36 +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: <1653849141.d5e4c1d38a0d88f1a8d5c4c0be53999d20fb9540.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ratelimit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/ratelimit/ratelimit-2.2.1-r1.ebuild X-VCS-Directories: dev-python/ratelimit/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: d5e4c1d38a0d88f1a8d5c4c0be53999d20fb9540 X-VCS-Branch: master Date: Sun, 29 May 2022 18:38:36 +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: 9efa4adb-db48-4fda-8eba-d47bb271343d X-Archives-Hash: 8aa1388c56b177735ede94fae2b50d9e commit: d5e4c1d38a0d88f1a8d5c4c0be53999d20fb9540 Author: Arthur Zamarin gentoo org> AuthorDate: Sun May 29 18:32:21 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sun May 29 18:32:21 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5e4c1d3 dev-python/ratelimit: Use pep517 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/ratelimit/ratelimit-2.2.1-r1.ebuild | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/dev-python/ratelimit/ratelimit-2.2.1-r1.ebuild b/dev-python/ratelimit/ratelimit-2.2.1-r1.ebuild new file mode 100644 index 000000000000..5bac32d2843f --- /dev/null +++ b/dev-python/ratelimit/ratelimit-2.2.1-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="An API rate limit decorator for Python" +HOMEPAGE="https://github.com/tomasbasham/ratelimit" +SRC_URI=" + https://github.com/tomasbasham/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +distutils_enable_tests pytest + +src_prepare() { + # remove --cov args injection + rm pytest.ini || die + distutils-r1_src_prepare +}