1 |
commit: 10668cbc13fa7b5764cf682b9bbaccb04cd253e6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 28 07:26:16 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 28 08:28:28 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10668cbc |
7 |
|
8 |
dev-python/executing: Bump to 0.8.3 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/executing/Manifest | 1 + |
13 |
dev-python/executing/executing-0.8.3.ebuild | 42 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/executing/Manifest b/dev-python/executing/Manifest |
17 |
index a39b3b6667a3..9a40d6031446 100644 |
18 |
--- a/dev-python/executing/Manifest |
19 |
+++ b/dev-python/executing/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST executing-0.8.2.gh.tar.gz 494836 BLAKE2B d6ade5658c8df656e80bb596f6c19493475d74ea10ddfc60b25eadb4a2f68d8afd2f437a6f82807932bba0469617fdac7a4dd90569623d1c8d7f96220e02ec9a SHA512 9a7fe4d3bae77d49725f35bae9d239bfb2a6e89d893d871d76f26fe4beffe0a07c6cbf50ea7b35b9ced66148d015c48106bc5774b26f201f9b40577f3380f5b3 |
22 |
+DIST executing-0.8.3.gh.tar.gz 495111 BLAKE2B ccb1a7df974f94b48960fc84a8365f6e57a7f34590972192e692f03340662e2bde97498c2ebf5617e45d8dfb6e866fd7de290644adb58e5338b2e0fdccc215f1 SHA512 4e01c1f48734c9568412b84160150e7e50ebdf5ba3dd466cf9d37b7f875ca2993915db75e2f6dd8e75e60b7b952fb0146928a41dde100ad38384b9be2ed60522 |
23 |
|
24 |
diff --git a/dev-python/executing/executing-0.8.3.ebuild b/dev-python/executing/executing-0.8.3.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..082c1bb1c0c6 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/executing/executing-0.8.3.ebuild |
29 |
@@ -0,0 +1,42 @@ |
30 |
+# Copyright 2020-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Get information about what a Python frame is currently doing" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/alexmojaki/executing/ |
43 |
+ https://pypi.org/project/executing/ |
44 |
+" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/alexmojaki/executing/archive/v${PV}.tar.gz |
47 |
+ -> ${P}.gh.tar.gz |
48 |
+" |
49 |
+ |
50 |
+LICENSE="MIT" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~riscv ~sparc" |
53 |
+ |
54 |
+# asttokens is optional runtime dep |
55 |
+BDEPEND=" |
56 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
57 |
+ test? ( |
58 |
+ dev-python/asttokens[${PYTHON_USEDEP}] |
59 |
+ dev-python/littleutils[${PYTHON_USEDEP}] |
60 |
+ ) |
61 |
+" |
62 |
+ |
63 |
+distutils_enable_tests pytest |
64 |
+ |
65 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
66 |
+ |
67 |
+python_test() { |
68 |
+ # this test explodes when collected by pytest |
69 |
+ "${EPYTHON}" tests/test_main.py || die "Tests failed with ${EPYTHON}" |
70 |
+ epytest tests/test_pytest.py |
71 |
+} |