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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 91A4A158086 for ; Wed, 6 Oct 2021 04:56:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4BB5E08F4; Wed, 6 Oct 2021 04:56:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 05BDFE08F4 for ; Wed, 6 Oct 2021 04:56:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A5EFF343101 for ; Wed, 6 Oct 2021 04:56:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 254EEDC for ; Wed, 6 Oct 2021 04:56:37 +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: <1633496182.83bcc51c77a7ba4b394d55d6e149ff4b464e85a8.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/yappi/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/yappi/Manifest dev-python/yappi/yappi-1.3.3.ebuild X-VCS-Directories: dev-python/yappi/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 83bcc51c77a7ba4b394d55d6e149ff4b464e85a8 X-VCS-Branch: master Date: Wed, 6 Oct 2021 04:56:37 +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: 2f9a0d97-e272-4539-926f-dc79b224ae8f X-Archives-Hash: 28e2e4f63c62008fd48f25d9f86225c7 commit: 83bcc51c77a7ba4b394d55d6e149ff4b464e85a8 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Oct 6 04:55:46 2021 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Wed Oct 6 04:56:22 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83bcc51c dev-python/yappi: add 1.3.3, enable py3.10 Closes: https://bugs.gentoo.org/813021 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/yappi/Manifest | 1 + dev-python/yappi/yappi-1.3.3.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-python/yappi/Manifest b/dev-python/yappi/Manifest index dae8e3e9f32..5f30820a5e9 100644 --- a/dev-python/yappi/Manifest +++ b/dev-python/yappi/Manifest @@ -1 +1,2 @@ DIST yappi-1.3.2.tar.gz 936566 BLAKE2B 55f114b8ed8689944f8146cb283701b41f34e87f3e5104d7d8df239cd2afc24f1ca1bf86f99bf672735677005df6527c83c5306a7902ea45e335134a925d6e18 SHA512 7a555bf6db8d7b9d8b4e36ceda1a40319a3d0aa478c512fb0fbca678dd3966b1facffa7555dca1ffaf07461ed3ab81284bd643e331eb2e6d1ee9c99eab1acb55 +DIST yappi-1.3.3.gh.tar.gz 936700 BLAKE2B 45e974949dfeaf6487dd76ef13a1b7f4456e805e50d85d089a366c5dc4ac852ccc117224ce5f17affa1f1ba1950a86b6f666cbc8e76edf51bf21cf2f527b877f SHA512 5634b8af997a082031ad1ec12eb83498949f1a56be3a324137d118f55ee51758af8c129da30138fa54f165eafed1572fb2289476e6d0cd838a884ee9118fd8da diff --git a/dev-python/yappi/yappi-1.3.3.ebuild b/dev-python/yappi/yappi-1.3.3.ebuild new file mode 100644 index 00000000000..96b06934954 --- /dev/null +++ b/dev-python/yappi/yappi-1.3.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +# no tags on github, no tests on pypi +COMMIT_HASH="8bf7a650066f104f59c3cae4a189ec15e7d51c8c" + +DESCRIPTION="Yet Another Python Profiler" +HOMEPAGE="https://pypi.org/project/yappi/ https://github.com/sumerc/yappi" +SRC_URI=" + https://github.com/sumerc/yappi/archive/${COMMIT_HASH}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${PN}-${COMMIT_HASH}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +BDEPEND="test? ( dev-python/gevent[${PYTHON_USEDEP}] )" + +distutils_enable_tests unittest + +PATCHES=( + "${FILESDIR}/yappi-1.2.5-warnings.patch" + "${FILESDIR}/yappi-1.3.0-tests.patch" +) + +python_prepare_all() { + cp tests/utils.py "${S}" || die + distutils-r1_python_prepare_all +}