1 |
commit: fa44a2f0245cfb7b09cd80e4c61c067afe332e9f |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 3 17:12:05 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 3 17:30:12 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa44a2f0 |
7 |
|
8 |
dev-python/yappi: add 1.3.6 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/yappi/Manifest | 1 + |
13 |
dev-python/yappi/yappi-1.3.6.ebuild | 40 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 41 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/yappi/Manifest b/dev-python/yappi/Manifest |
17 |
index 9911da7ac7bb..ec3eefb7206e 100644 |
18 |
--- a/dev-python/yappi/Manifest |
19 |
+++ b/dev-python/yappi/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST yappi-1.3.5.gh.tar.gz 936884 BLAKE2B a33ea0c506b3e0d05e141b01ebf4af158c6c794c0c504e52c19c00295f105cfff8a6aa8964ce07e13b87cd60164adfd1107da2c286e17dc0d779e7f9e916fbf8 SHA512 2fc243522414626ed6327b3f6b26c4001f01e288700df62cef81e73cf4077af238836b100167df3c4cfb4e0091d4de14385d349b9821759401cc3666e6fe94e9 |
22 |
+DIST yappi-1.3.6.gh.tar.gz 937785 BLAKE2B eb98d51f450091e66429affcc12f4329629bfc466dd8db9c5e77f5385a6b7bb551fd336825d64d94141ae41129618025a716a1b4e0718b022e67978330900bf0 SHA512 f55555042363581535eb4dfca096b1c698fb32720e5d1740d72ee7290f162ec44f0ed05936d6d85fc63f347e6be19b182550bd6e6593b65616d11d109fce8cbc |
23 |
|
24 |
diff --git a/dev-python/yappi/yappi-1.3.6.ebuild b/dev-python/yappi/yappi-1.3.6.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..699a13380131 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/yappi/yappi-1.3.6.ebuild |
29 |
@@ -0,0 +1,40 @@ |
30 |
+# Copyright 1999-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="Yet Another Python Profiler" |
41 |
+HOMEPAGE=" |
42 |
+ https://pypi.org/project/yappi/ |
43 |
+ https://github.com/sumerc/yappi/ |
44 |
+" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/sumerc/yappi/archive/${PV}.tar.gz |
47 |
+ -> ${P}.gh.tar.gz |
48 |
+" |
49 |
+ |
50 |
+LICENSE="MIT" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" |
53 |
+ |
54 |
+BDEPEND=" |
55 |
+ test? ( |
56 |
+ dev-python/gevent[${PYTHON_USEDEP}] |
57 |
+ ) |
58 |
+" |
59 |
+ |
60 |
+distutils_enable_tests unittest |
61 |
+ |
62 |
+PATCHES=( |
63 |
+ "${FILESDIR}/yappi-1.2.5-warnings.patch" |
64 |
+) |
65 |
+ |
66 |
+python_test() { |
67 |
+ local -x PYTHONPATH=tests |
68 |
+ eunittest |
69 |
+} |