1 |
commit: be901b2db524390c1be7bb85185d449145e4e2c8 |
2 |
Author: Oleksandr Trotsenko <oleksandr.trotsenko <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Oct 28 03:56:15 2018 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 1 20:07:13 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be901b2d |
7 |
|
8 |
dev-python/memory_profiler: Version bump to 0.54.0 |
9 |
|
10 |
Updating the package to the latest available version. |
11 |
|
12 |
See: https://github.com/gentoo/gentoo/pull/10198 |
13 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
14 |
Signed-off-by: Oleksandr Trotsenko <oleksandr.trotsenko <AT> gmail.com> |
15 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
16 |
|
17 |
dev-python/memory_profiler/Manifest | 1 + |
18 |
.../memory_profiler/memory_profiler-0.54.0.ebuild | 38 ++++++++++++++++++++++ |
19 |
2 files changed, 39 insertions(+) |
20 |
|
21 |
diff --git a/dev-python/memory_profiler/Manifest b/dev-python/memory_profiler/Manifest |
22 |
index fc5e68bb8b1..bc606b32e13 100644 |
23 |
--- a/dev-python/memory_profiler/Manifest |
24 |
+++ b/dev-python/memory_profiler/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST memory_profiler-0.47.tar.gz 33725 BLAKE2B 66fc0e5c579febeea9dcd5132caa6fdbccdb5cb0a2c9083f5abf8aa03baaaafe1f77f72cdbe4d5384c6ce27fd4760511f9a947fda46eee1d81e7125c1dcd2970 SHA512 110e16ecad33068d31cf53b2f0b775d65230d51345f24a4d7d3cafafb706b10a0c7e2d98a799256b0366f1bafa9b69c060222595bb4eb9e1689301428a36fc3d |
27 |
+DIST memory_profiler-0.54.0.tar.gz 31376 BLAKE2B 4c89a046bdce36a139448dde45c8cf952aaa8fe8e2089bf9574a8fb2ed1abb89991e54f59742b0ea1ae5315378c0799ef140752549f9a8d13a91bf0ceb021984 SHA512 ec5735b7e41e706ea35ce9fe0dd3963c51e50e5bdf7f1871c51bbbb2a0ae75abcdba23abd3a14979c26ce19e7ce7d2cf6782aefc77e0c17cfe4da573a6e249ae |
28 |
|
29 |
diff --git a/dev-python/memory_profiler/memory_profiler-0.54.0.ebuild b/dev-python/memory_profiler/memory_profiler-0.54.0.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..90563399961 |
32 |
--- /dev/null |
33 |
+++ b/dev-python/memory_profiler/memory_profiler-0.54.0.ebuild |
34 |
@@ -0,0 +1,38 @@ |
35 |
+# Copyright 1999-2018 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) |
41 |
+ |
42 |
+inherit distutils-r1 |
43 |
+ |
44 |
+DESCRIPTION="A module for monitoring memory usage of a python program" |
45 |
+HOMEPAGE="https://pypi.org/project/memory_profiler/ https://github.com/fabianp/memory_profiler" |
46 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="BSD" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ dev-python/psutil[${PYTHON_USEDEP}] |
54 |
+" |
55 |
+DEPEND="${RDEPEND} |
56 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
57 |
+ |
58 |
+python_test() { |
59 |
+ ${EPYTHON} -m memory_profiler test/test_func.py || die |
60 |
+ ${EPYTHON} -m memory_profiler test/test_loop.py || die |
61 |
+ ${EPYTHON} -m memory_profiler test/test_as.py || die |
62 |
+ ${EPYTHON} -m memory_profiler test/test_global.py || die |
63 |
+ ${EPYTHON} -m memory_profiler test/test_precision_command_line.py || die |
64 |
+ ${EPYTHON} -m memory_profiler test/test_gen.py || die |
65 |
+ if python_is_python3; then |
66 |
+ ${EPYTHON} -m memory_profiler test/test_unicode.py || die |
67 |
+ fi |
68 |
+ ${EPYTHON} test/test_tracemalloc.py || die |
69 |
+ ${EPYTHON} test/test_import.py || die |
70 |
+ ${EPYTHON} test/test_memory_usage.py || die |
71 |
+ ${EPYTHON} test/test_precision_import.py || die |
72 |
+} |