1 |
commit: f3575030148e54b9f5fbedad0a88a099516ca11e |
2 |
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> |
3 |
AuthorDate: Thu Mar 28 21:21:30 2019 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 28 21:21:30 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3575030 |
7 |
|
8 |
dev-python/pympler: Version bump to 0.6 |
9 |
|
10 |
Copyright: Sony Interactive Entertainment Inc. |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
12 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
13 |
|
14 |
dev-python/pympler/Manifest | 1 + |
15 |
dev-python/pympler/pympler-0.6.ebuild | 42 +++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 43 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/pympler/Manifest b/dev-python/pympler/Manifest |
19 |
index e41570df645..27c2724d1be 100644 |
20 |
--- a/dev-python/pympler/Manifest |
21 |
+++ b/dev-python/pympler/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST pympler-0.5.tar.gz 263627 BLAKE2B 5ce881664e2d57d1a7a9b87238cfc6657fd35a140e6ab906b55ca6e0ac91fc8a74377d4db21706708c55773f8ca65d3578c101669ba409339418e09ca53d0fb2 SHA512 254b758df70bafe57f315a973de0caeef6cd616bd0cc7b4475c74c3a9a94f52b3ac3da3f073483db3560cd0060536c95ed1297007c24dfe8db89fd893ff1409c |
24 |
+DIST pympler-0.6.tar.gz 267267 BLAKE2B 84a8df3177d0defed949869bec9342beb4336c912be5539c597388207abcbc53fa5218da34b16a872dca804ff559a448dc092b4d33396d570164311c1808765a SHA512 891822ce0a76377d74aa99dd2ce8b21a364084f0bc03ab6d6fe505597a0e182dde459b218dff8e0e6a753e1d88ba9f01b3a4b97be31a20e73a93d6c6fee66e1b |
25 |
|
26 |
diff --git a/dev-python/pympler/pympler-0.6.ebuild b/dev-python/pympler/pympler-0.6.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..03f9d85458e |
29 |
--- /dev/null |
30 |
+++ b/dev-python/pympler/pympler-0.6.ebuild |
31 |
@@ -0,0 +1,42 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+MY_PN="Pympler" |
42 |
+MY_P="${MY_PN}-${PV}" |
43 |
+ |
44 |
+DESCRIPTION="Memory profiling for Python applications" |
45 |
+HOMEPAGE="https://pypi.org/project/Pympler/ https://github.com/pympler/pympler" |
46 |
+SRC_URI="https://github.com/pympler/pympler/archive/${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+# The PyPi tarball is missing the documentation |
48 |
+#SRC_URI="mirror://pypi/P/${MY_PN}/${MY_P}.tar.gz" |
49 |
+ |
50 |
+SLOT="0" |
51 |
+LICENSE="Apache-2.0" |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
53 |
+IUSE="doc test" |
54 |
+ |
55 |
+RDEPEND="dev-python/bottle[${PYTHON_USEDEP}]" |
56 |
+DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
57 |
+ test? ( ${RDEPEND} )" |
58 |
+ |
59 |
+python_compile_all() { |
60 |
+ if use doc; then |
61 |
+ python_setup |
62 |
+ sphinx-build -b html doc/{source,html} || die |
63 |
+ fi |
64 |
+} |
65 |
+ |
66 |
+python_test() { |
67 |
+ esetup.py try |
68 |
+} |
69 |
+ |
70 |
+python_install_all() { |
71 |
+ use doc && local HTML_DOCS=( doc/html/. ) |
72 |
+ distutils-r1_python_install_all |
73 |
+} |