From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D7362138334 for ; Sat, 3 Aug 2019 20:36:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96439E086E; Sat, 3 Aug 2019 20:36:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 77EFBE0866 for ; Sat, 3 Aug 2019 20:36:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ECD353493FF for ; Sat, 3 Aug 2019 20:36:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DCAAA744 for ; Sat, 3 Aug 2019 20:36:41 +0000 (UTC) From: "Alexey Shvetsov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" Message-ID: <1564863502.daa3b9ce8cd78de425b3fb0dc37014d1b337f2d1.alexxy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pywavelets/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pywavelets/pywavelets-0.5.2-r1.ebuild X-VCS-Directories: dev-python/pywavelets/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: daa3b9ce8cd78de425b3fb0dc37014d1b337f2d1 X-VCS-Branch: master Date: Sat, 3 Aug 2019 20:36:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 13febe7b-bf52-4979-a66c-37fe09d6deb6 X-Archives-Hash: db81ef594b42b3fd72a999e85377dce9 commit: daa3b9ce8cd78de425b3fb0dc37014d1b337f2d1 Author: Alexey Shvetsov gentoo org> AuthorDate: Sat Aug 3 20:18:22 2019 +0000 Commit: Alexey Shvetsov gentoo org> CommitDate: Sat Aug 3 20:18:22 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daa3b9ce dev-python/pywavelets: Works with py3.7 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Alexey Shvetsov gentoo.org> dev-python/pywavelets/pywavelets-0.5.2-r1.ebuild | 52 ++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/dev-python/pywavelets/pywavelets-0.5.2-r1.ebuild b/dev-python/pywavelets/pywavelets-0.5.2-r1.ebuild new file mode 100644 index 00000000000..4efbea0aa77 --- /dev/null +++ b/dev-python/pywavelets/pywavelets-0.5.2-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) + +inherit distutils-r1 + +MY_PN="${PN/pyw/PyW}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Discrete Wavelet Transforms in Python" +HOMEPAGE="https://pywavelets.readthedocs.io/en/latest/" +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}] + dev-python/numpydoc[${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 +}