From 869505b9d9d549048ffcfca1ded431348b44e7b3 Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Tue, 1 Mar 2016 20:43:41 +0100 Subject: dev-python/pywavelets: Bump Package-Manager: portage-2.2.27 --- dev-python/pywavelets/Manifest | 1 + dev-python/pywavelets/pywavelets-0.4.0.ebuild | 54 +++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 dev-python/pywavelets/pywavelets-0.4.0.ebuild diff --git a/dev-python/pywavelets/Manifest b/dev-python/pywavelets/Manifest index ff53073fee17..64925dfd5fb1 100644 --- a/dev-python/pywavelets/Manifest +++ b/dev-python/pywavelets/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-python/pywavelets/pywavelets-0.4.0.ebuild b/dev-python/pywavelets/pywavelets-0.4.0.ebuild new file mode 100644 index 000000000000..387ad4a82ab4 --- /dev/null +++ b/dev-python/pywavelets/pywavelets-0.4.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit distutils-r1 + +RESTRICT="test" + +MY_PN="${PN/pyw/PyW}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python module for discrete, stationary, and packet wavelet transforms" +HOMEPAGE="http://www.pybytes.com/pywavelets https://github.com/PyWavelets/pywt" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples test" + +DEPEND=" + app-arch/unzip + dev-python/cython[${PYTHON_USEDEP}] + test? ( dev-python/numpy[${PYTHON_USEDEP}] ) + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${MY_P}" + +python_test() { + # Taken form tox.ini + "${PYTHON}" runtests.py -n -m full pywt/tests/ || die +} + +python_compile() { + python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + distutils-r1_python_compile +} + +python_compile_all() { + use doc && emake -C doc html +} + +python_install_all() { + distutils-r1_python_install_all + use doc && local HTML_DOCS=( doc/build/html/. ) + use examples && local EXAMPLES=( demo/. ) + + distutils-r1_python_install_all +} -- cgit v1.2.3-65-gdbad