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 1F1B5158096 for ; Mon, 25 Jul 2022 07:12:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 532D0E10E5; Mon, 25 Jul 2022 07:12:31 +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 3633AE10E3 for ; Mon, 25 Jul 2022 07:12:31 +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 53155340F33 for ; Mon, 25 Jul 2022 07:12:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BC42A552 for ; Mon, 25 Jul 2022 07:12:27 +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: <1658733136.705aeabc66a0e15057080c943a2bf36b73e9ef05.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/executing/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/executing/Manifest dev-python/executing/executing-0.9.0.ebuild X-VCS-Directories: dev-python/executing/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 705aeabc66a0e15057080c943a2bf36b73e9ef05 X-VCS-Branch: master Date: Mon, 25 Jul 2022 07:12:27 +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: 8a61f1f7-64b6-4c86-86b8-629a84e18b50 X-Archives-Hash: 79e3cb04a2177261fd7558b88c50d363 commit: 705aeabc66a0e15057080c943a2bf36b73e9ef05 Author: Michał Górny gentoo org> AuthorDate: Mon Jul 25 05:43:52 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Jul 25 07:12:16 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=705aeabc dev-python/executing: Bump to 0.9.0 Signed-off-by: Michał Górny gentoo.org> dev-python/executing/Manifest | 1 + dev-python/executing/executing-0.9.0.ebuild | 42 +++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/executing/Manifest b/dev-python/executing/Manifest index dc2ebe0f8a92..36e284379a1a 100644 --- a/dev-python/executing/Manifest +++ b/dev-python/executing/Manifest @@ -1 +1,2 @@ DIST executing-0.8.3.gh.tar.gz 495111 BLAKE2B ccb1a7df974f94b48960fc84a8365f6e57a7f34590972192e692f03340662e2bde97498c2ebf5617e45d8dfb6e866fd7de290644adb58e5338b2e0fdccc215f1 SHA512 4e01c1f48734c9568412b84160150e7e50ebdf5ba3dd466cf9d37b7f875ca2993915db75e2f6dd8e75e60b7b952fb0146928a41dde100ad38384b9be2ed60522 +DIST executing-0.9.0.gh.tar.gz 506632 BLAKE2B 195e6dc896bcb0add7377ba7fbfdaaf09322a5480127150a3c37eef94f57d24dfcc3c83c5a0dd7c9154c5bb7688f47754550d45adafb82d72a4b0c38d094dd50 SHA512 461a8350d55ab0346de35d7d8423164b616e2ec8152d229e3462208497b478e51fd75085dc11f7d3cace42a82d4c2cbd1b102a680aa6c2b31fa18f1f9ec69cdc diff --git a/dev-python/executing/executing-0.9.0.ebuild b/dev-python/executing/executing-0.9.0.ebuild new file mode 100644 index 000000000000..43f1dbdd67f3 --- /dev/null +++ b/dev-python/executing/executing-0.9.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 2020-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="Get information about what a Python frame is currently doing" +HOMEPAGE=" + https://github.com/alexmojaki/executing/ + https://pypi.org/project/executing/ +" +SRC_URI=" + https://github.com/alexmojaki/executing/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# asttokens is optional runtime dep +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/asttokens[${PYTHON_USEDEP}] + dev-python/littleutils[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + # this test explodes when collected by pytest + "${EPYTHON}" tests/test_main.py || die "Tests failed with ${EPYTHON}" + epytest tests/test_pytest.py +}