From 5f32bf904f8879f22ded92316a7fe515a0b58039 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Fabbro?= Date: Sun, 26 Feb 2017 18:01:47 +0000 Subject: [PATCH] dev-python/pywavelets: version bump Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- dev-python/pywavelets/Manifest | 1 + dev-python/pywavelets/pywavelets-0.5.1.ebuild | 52 +++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 dev-python/pywavelets/pywavelets-0.5.1.ebuild diff --git a/dev-python/pywavelets/Manifest b/dev-python/pywavelets/Manifest index 64925dfd5fb1..1b4fbd9db0ae 100644 --- a/dev-python/pywavelets/Manifest +++ b/dev-python/pywavelets/Manifest @@ -1,3 +1,4 @@ DIST PyWavelets-0.2.2.zip 528210 SHA256 04b53436f5f2a9b895a1f56e86e16b94632a5d6bcfc076be1110e41cf3071278 SHA512 2cfd2b0e8f90750cc15ca60400101836f97661e52041abd4c032232eba6843b104c01ef2a50f4384afc5b11dd022add03101ef9b8c1b582ca64e84919f609a5b WHIRLPOOL 07dbec72901deb262a5f52954becee8ff4c9749fa311c206351db86c7612513dec329c6bcbad8e4ab6f1f1043ebfd08cfd8af762df95388789da13dfe6747e2a DIST PyWavelets-0.3.0.zip 680099 SHA256 a04bf36ce4ab03b4a4471d598c2097e069d051df3ab3ac01b3f17ba528bf994e SHA512 e197dab2dd6f228f39cf841d3c10c33732fe289ae58bbb969bfd82288aef16fe37cdb283a33e777144e904b7894eae9f06983dbe33fce18d8cb28bd75008ffc4 WHIRLPOOL e6aebf31874d917314e54737d9e3bc226f490e92c0034d34d4dca52ec68985d08b6a107d0efd8487664d54932167406b48f4133f4f6145bc59d1df8aaf29d2ce DIST PyWavelets-0.4.0.zip 1258090 SHA256 993dc346278e4643f0688828731a8f175a1379dc63600cac89dbb1895cae0619 SHA512 4a59b05cc9d30caf44ca46c79fdda69250a87fc4f560c5e6cbe956a7c65371c4bd6c2b503e256dfdf696d249d721fc6cd36dc288777bd3c1f943dde18be53a1b WHIRLPOOL e07a876247e771923943d28fc3ffe33296554ff5fe70c45a26e450cbd0cd828ab7eeb84b7fc0dbc96c1d4dfc1c3d40f1cf21552b691d1564b5410fec11f8bd82 +DIST PyWavelets-0.5.1.tar.gz 4429280 SHA256 7b0634e3588f1d1f9c8bceaf366c8d61bb7e2869096652eb3ca66f723659c9a6 SHA512 34d97ec1147b3c8ab03c086066561d61e21a0f2569699aaa61d3fbdac5847e22f482aed8c94548feaf613c179eb0d0d9c72b6f11a0ed540a5c53993b58895cd6 WHIRLPOOL 67dc1f76fa78528ca327bad1c999afedb09f1cc9cd7ac2f5ef2a7f164da74baeccc022cc3e374861f1bba1895c3898846a6c0cc51b7d90ec6c2734e8aba06dad diff --git a/dev-python/pywavelets/pywavelets-0.5.1.ebuild b/dev-python/pywavelets/pywavelets-0.5.1.ebuild new file mode 100644 index 000000000000..cb4f5f4e7a15 --- /dev/null +++ b/dev-python/pywavelets/pywavelets-0.5.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 + +MY_PN="${PN/pyw/PyW}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Discrete Wavelet Transforms in Python" +HOMEPAGE="http://pywavelets.readthedocs.org/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples test" + +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_P}" + +python_test() { + cd "${BUILD_DIR}"/lib || die + nosetests -v . +} + +python_compile_all() { + use doc && emake -C doc html +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/build/html/. ) + distutils-r1_python_install_all + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r demo/* + docompress -x /usr/share/doc/${PF}/examples + fi +} -- 2.26.2