summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-05-02 17:29:29 -0700
committerZac Medico <zmedico@gentoo.org>2017-05-02 17:32:30 -0700
commit6c53d943744dd2ea3c9371c802f32e0af82fbb11 (patch)
treece7596dfea7ea2fb44fdd513474e6ea822bfab6e /dev-python/pympler
parentdev-python/pympler: version bump to 0.4.3 (diff)
downloadgentoo-6c53d943744dd2ea3c9371c802f32e0af82fbb11.tar.gz
gentoo-6c53d943744dd2ea3c9371c802f32e0af82fbb11.tar.bz2
gentoo-6c53d943744dd2ea3c9371c802f32e0af82fbb11.zip
dev-python/pympler: version bump to 0.5
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-python/pympler')
-rw-r--r--dev-python/pympler/Manifest1
-rw-r--r--dev-python/pympler/pympler-0.5.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/pympler/Manifest b/dev-python/pympler/Manifest
index e669fc74562..97804750f47 100644
--- a/dev-python/pympler/Manifest
+++ b/dev-python/pympler/Manifest
@@ -1,3 +1,4 @@
DIST Pympler-0.4.1.tar.gz 395535 SHA256 6a8bfd2972c4ec34ac8750358515950be4a4ca13dfa6a05a9a22419786745f90 SHA512 3f7e2d88ca431ae73cf49d5140c10de4eab10c1627cdacc12e216c89410add16cb5e1faedc484ea765e4b866b905a5379bb21e7d41b9b8d622c4ac7b1b16a8a3 WHIRLPOOL 4b35b554cabda8b9ab633409f1c91728956cad31c1a41d3b66a8d2cbf2e1283edd32017181d5f9c8bd66a1bac7ba398c292dd60fd9cdc268fec86222b4a790c8
DIST Pympler-0.4.2.tar.gz 395765 SHA256 3c3f9d8eb3dddf4f29c433433ea77c9c3f2f0dcc06575c0c2a9d81b2602893b2 SHA512 ae6e7718ecf8e7bc46ce968dd3b57543c4a3e882a07d7cb68ee38e60debc157ce2410c66b23c14179c47fef1b89647886289d9e4fdfc5f9e9ecd87a052f204aa WHIRLPOOL cc1e0ddb1509d92f3cc44f8e09c84a4fdc59fb273d0d5c2e10c421c97d0b83468dd7ffbf8d9817a480683afefb0f7dcf79993aa4ec7a7fb6b1789fc655ecb9c6
DIST pympler-0.4.3.tar.gz 259409 SHA256 80dfbda9c9dc36d8cc6696b9f1066d4c6bdb87371f58fe7940fad8918b8c288f SHA512 de4a36e8e5b639c1b78460677d821a5ad829c01a568496a5df4682ab32fea14e24c47260aed96c68722285e3fdb4b202348a7cbfcb95531ca2954bd8d5cebb68 WHIRLPOOL 21324bd5b30be363e4295e6191aa2bc884b97b4224623c019fe888f394bc5bca59391f69503fbb0c799f3e93b68f6920728843197a0fd8680ac975ec4b6234e4
+DIST pympler-0.5.tar.gz 263627 SHA256 74d26dfb6f02777a5087be181ef7f8ae57625e7ec3ae41e2fdd24f31289e772e SHA512 254b758df70bafe57f315a973de0caeef6cd616bd0cc7b4475c74c3a9a94f52b3ac3da3f073483db3560cd0060536c95ed1297007c24dfe8db89fd893ff1409c WHIRLPOOL fd32c60fd5152e527c2147dad569a1c1369e95c8c05aa67314fad6a09794ca694320ab481e38277c1bba66cb5929fd56099286428a6e12773ae8134fcd97649a
diff --git a/dev-python/pympler/pympler-0.5.ebuild b/dev-python/pympler/pympler-0.5.ebuild
new file mode 100644
index 00000000000..e9bf81fe01b
--- /dev/null
+++ b/dev-python/pympler/pympler-0.5.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+MY_PN="Pympler"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Memory profiling for Python applications"
+HOMEPAGE="https://code.google.com/p/pympler/ https://pypi.python.org/pypi/Pympler https://github.com/pympler/pympler"
+SRC_URI="https://github.com/pympler/pympler/archive/${PV}.tar.gz -> ${P}.tar.gz"
+# The PyPi tarball is missing the documentation
+#SRC_URI="mirror://pypi/P/${MY_PN}/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="Apache-2.0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test"
+
+RDEPEND="dev-python/bottle[${PYTHON_USEDEP}]"
+DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ test? ( ${RDEPEND} )"
+
+python_compile_all() {
+ if use doc; then
+ python_setup
+ sphinx-build -b html doc/{source,html} || die
+ fi
+}
+
+python_test() {
+ esetup.py try
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( doc/html/. )
+ distutils-r1_python_install_all
+}