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 CCE2A13835A for ; Mon, 19 Apr 2021 07:23:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D92C7E0830; Mon, 19 Apr 2021 07:23:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BEBAAE0830 for ; Mon, 19 Apr 2021 07:23:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 77F13340E78 for ; Mon, 19 Apr 2021 07:23:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D93B364A for ; Mon, 19 Apr 2021 07:23:01 +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: <1618816592.5be0d6072e217d0f3362c2de6cfb0db0ce363b45.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.6.0.ebuild X-VCS-Directories: dev-python/executing/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5be0d6072e217d0f3362c2de6cfb0db0ce363b45 X-VCS-Branch: master Date: Mon, 19 Apr 2021 07:23:01 +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: e9f27c9a-0739-46c2-9731-87aa73ff2832 X-Archives-Hash: 25a5bd22d979379b691239b6836cbca7 commit: 5be0d6072e217d0f3362c2de6cfb0db0ce363b45 Author: Michał Górny gentoo org> AuthorDate: Mon Apr 19 07:16:32 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Apr 19 07:16:32 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5be0d607 dev-python/executing: Bump to 0.6.0 Signed-off-by: Michał Górny gentoo.org> dev-python/executing/Manifest | 1 + dev-python/executing/executing-0.6.0.ebuild | 37 +++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-python/executing/Manifest b/dev-python/executing/Manifest index 4cc57ad5e52..4532a2330b3 100644 --- a/dev-python/executing/Manifest +++ b/dev-python/executing/Manifest @@ -1 +1,2 @@ DIST executing-0.5.4.gh.tar.gz 330687 BLAKE2B 10f526dfb3a9f72dda788af97547e011425a56d1af73c30f5704fb8d348beb4e4538e118355dd415ec6125507ca9b2b015c02dc0bd81a2ef732a60aafb89f12a SHA512 3953ee1f6667c32fea28f964b395d53e99fa7869e27495a241f70179577865ec430ddfa07776995b6b1aaddd660adf6c6b61a8e8931589c0faeea94743fbc209 +DIST executing-0.6.0.gh.tar.gz 330731 BLAKE2B f6a86072907c5140aefb45beb46bcc8c6e3e242e2e821046e59f0eafe1d5c16efe3c08dd1b19b1ce85388fd9cc4757bfe586b95fb490a594cfee4f5e69b5a0af SHA512 5d2f621ff4cbfd55ac43b555f771b129ade5d20f882f4e5d6a060a1a099abad73cc4128c9e6bd32fccc40c4c85c51c28b3be40ab16f163e1ceaaad07f1936ab7 diff --git a/dev-python/executing/executing-0.6.0.ebuild b/dev-python/executing/executing-0.6.0.ebuild new file mode 100644 index 00000000000..63116e793be --- /dev/null +++ b/dev-python/executing/executing-0.6.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +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 ~ppc ~ppc64 ~sparc ~x86" + +# asttokens is optional runtime dep +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + test? ( + dev-python/asttokens[${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}" + pytest -vv tests/test_pytest.py || die "Tests failed with ${EPYTHON}" +}