1 |
commit: db94d35b8036d41bf9f41c1ec14c38e3af9b2af1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 31 15:24:47 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 31 15:49:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db94d35b |
7 |
|
8 |
dev-python/yappi: Bump to 1.4.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/yappi/Manifest | 1 + |
13 |
dev-python/yappi/yappi-1.4.0.ebuild | 40 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 41 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/yappi/Manifest b/dev-python/yappi/Manifest |
17 |
index f99179deb040..c0c1e736d320 100644 |
18 |
--- a/dev-python/yappi/Manifest |
19 |
+++ b/dev-python/yappi/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST yappi-1.3.6.gh.tar.gz 937785 BLAKE2B eb98d51f450091e66429affcc12f4329629bfc466dd8db9c5e77f5385a6b7bb551fd336825d64d94141ae41129618025a716a1b4e0718b022e67978330900bf0 SHA512 f55555042363581535eb4dfca096b1c698fb32720e5d1740d72ee7290f162ec44f0ed05936d6d85fc63f347e6be19b182550bd6e6593b65616d11d109fce8cbc |
22 |
+DIST yappi-1.4.0.gh.tar.gz 938290 BLAKE2B 98a9c82d101e64f70f589b51ee461e1967c0fada75ab98e0de8f0446254e7ad73e25b842c85464953b9f81fc54d2007151dfc91e4176068a7cb320176c8828d2 SHA512 c557c67cfce29db1a526a2d385af28cd241eae46a653e9b4f7308a6f52ff1ede49b9211af09889c63eae3eeb38d55813a8026161b1184fccf4db4add8a022541 |
23 |
|
24 |
diff --git a/dev-python/yappi/yappi-1.4.0.ebuild b/dev-python/yappi/yappi-1.4.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..5e588ab2fbb2 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/yappi/yappi-1.4.0.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..11} ) |
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 |
+} |