diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2007-03-01 10:20:04 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2007-03-01 10:20:04 +0000 |
commit | 9b539f13f8c916635c1fe9717abc739d984110ea (patch) | |
tree | 4a4edecadf186b30bd8468860746f190253e47a6 /dev-python/pywavelets/pywavelets-0.1.6.ebuild | |
parent | Dropped ppc-macos keyword, see you in prefix (diff) | |
download | historical-9b539f13f8c916635c1fe9717abc739d984110ea.tar.gz historical-9b539f13f8c916635c1fe9717abc739d984110ea.tar.bz2 historical-9b539f13f8c916635c1fe9717abc739d984110ea.zip |
initial import. close #Bug 156955
Package-Manager: portage-2.1.2-r9
Diffstat (limited to 'dev-python/pywavelets/pywavelets-0.1.6.ebuild')
-rw-r--r-- | dev-python/pywavelets/pywavelets-0.1.6.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/pywavelets/pywavelets-0.1.6.ebuild b/dev-python/pywavelets/pywavelets-0.1.6.ebuild new file mode 100644 index 000000000000..b27f644978ac --- /dev/null +++ b/dev-python/pywavelets/pywavelets-0.1.6.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pywavelets/pywavelets-0.1.6.ebuild,v 1.1 2007/03/01 10:20:04 bicatali Exp $ + +NEED_PYTHON=2.4 + +inherit distutils + +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/" +SRC_URI="http://cheeseshop.python.org/packages/source/${MY_P:0:1}/${MY_PN}/${MY_P}.zip" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" +DEPEND="app-arch/unzip" +RDEPEND=">=dev-python/numpy-1.0.1" + +S="${WORKDIR}/${MY_P}" + +src_test() { + cd "${S}"/build/lib* + PYTHONPATH=. \ + ${python} "${S}"/tests/test_perfect_reconstruction.py \ + || die "test failed" +} + +src_install () { + DOCS="CHANGES.txt THANKS.txt" + distutils_src_install + insinto /usr/share/doc/${PF}/demo + doins demo/* + use doc && dohtml -r doc/html/* +} |