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 BDB43138359 for ; Thu, 10 Sep 2020 08:49:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D86ECE0869; Thu, 10 Sep 2020 08:49:02 +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 B8660E0869 for ; Thu, 10 Sep 2020 08:49:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 94240340F1F for ; Thu, 10 Sep 2020 08:49:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1CF9D35A for ; Thu, 10 Sep 2020 08:49:00 +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: <1599727732.5b3dc74582c62bb747fdc67d147272a604a1c148.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.5.2.ebuild dev-python/executing/metadata.xml X-VCS-Directories: dev-python/executing/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5b3dc74582c62bb747fdc67d147272a604a1c148 X-VCS-Branch: master Date: Thu, 10 Sep 2020 08:49:00 +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: 9927b6f8-11f7-4b42-8c3e-3a9d85efaf4b X-Archives-Hash: eedf96e83076170163b710572b7ad4bf commit: 5b3dc74582c62bb747fdc67d147272a604a1c148 Author: Michał Górny gentoo org> AuthorDate: Thu Sep 10 08:12:14 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Sep 10 08:48:52 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3dc745 dev-python/executing: New package, test dep of sentry-sdk Signed-off-by: Michał Górny gentoo.org> dev-python/executing/Manifest | 1 + dev-python/executing/executing-0.5.2.ebuild | 35 +++++++++++++++++++++++++++++ dev-python/executing/metadata.xml | 7 ++++++ 3 files changed, 43 insertions(+) diff --git a/dev-python/executing/Manifest b/dev-python/executing/Manifest new file mode 100644 index 00000000000..6665f9a3453 --- /dev/null +++ b/dev-python/executing/Manifest @@ -0,0 +1 @@ +DIST executing-0.5.2.gh.tar.gz 303118 BLAKE2B e3b0ee22791a7fc4b378cf9f0c4640b4971ebd772d95a5d8d0abd25959c53eede5c61e4807abd4be38b9e14d0e3ab9083941ace7f59f0b6358c68b2e85291193 SHA512 2487dbb95240553f9bb7e1249af42e83be7db8cfa8a8c0569c22bfad48add9eddf903a4f365e3a6409e5208bef0d32893abb0c4dc5a93782c3b33125b091ef54 diff --git a/dev-python/executing/executing-0.5.2.ebuild b/dev-python/executing/executing-0.5.2.ebuild new file mode 100644 index 00000000000..0f05179cc81 --- /dev/null +++ b/dev-python/executing/executing-0.5.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..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 ~x86" + +# asttokens is optional runtime dep +BDEPEND=" + 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}" +} diff --git a/dev-python/executing/metadata.xml b/dev-python/executing/metadata.xml new file mode 100644 index 00000000000..266e3f19ca5 --- /dev/null +++ b/dev-python/executing/metadata.xml @@ -0,0 +1,7 @@ + + + + + python@gentoo.org + +