summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-08-02 17:57:17 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-08-02 17:57:17 +0000
commitf547c7b28babd4d7646f7322726cfbc44dc50b35 (patch)
treebcc675810ed77ffc89927ce13f0069170334189e /dev-python/pywavelets
parentVersion bump. Remove no-op USE="opencv" and add missing media-libs/libwebp de... (diff)
downloadgentoo-2-f547c7b28babd4d7646f7322726cfbc44dc50b35.tar.gz
gentoo-2-f547c7b28babd4d7646f7322726cfbc44dc50b35.tar.bz2
gentoo-2-f547c7b28babd4d7646f7322726cfbc44dc50b35.zip
Keyword amd64-linux and x86-linux
(Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pywavelets')
-rw-r--r--dev-python/pywavelets/ChangeLog6
-rw-r--r--dev-python/pywavelets/metadata.xml16
-rw-r--r--dev-python/pywavelets/pywavelets-0.2.0.ebuild16
3 files changed, 20 insertions, 18 deletions
diff --git a/dev-python/pywavelets/ChangeLog b/dev-python/pywavelets/ChangeLog
index f121efadd817..afab97c439bb 100644
--- a/dev-python/pywavelets/ChangeLog
+++ b/dev-python/pywavelets/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pywavelets
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pywavelets/ChangeLog,v 1.6 2012/02/23 03:25:47 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pywavelets/ChangeLog,v 1.7 2012/08/02 17:57:17 bicatali Exp $
+
+ 02 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml,
+ pywavelets-0.2.0.ebuild:
+ Keyword amd64-linux and x86-linux
23 Feb 2012; Patrick Lauer <patrick@gentoo.org> pywavelets-0.2.0.ebuild:
Restricting pypy
diff --git a/dev-python/pywavelets/metadata.xml b/dev-python/pywavelets/metadata.xml
index ea49e3d89e10..1a408ec16ae5 100644
--- a/dev-python/pywavelets/metadata.xml
+++ b/dev-python/pywavelets/metadata.xml
@@ -1,14 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci-mathematics</herd>
- <herd>python</herd>
- <longdescription lang="en">PyWavelets is a Python wavelet transforms module that can perform:
+<herd>sci-mathematics</herd>
+<herd>python</herd>
+<longdescription lang="en">
+PyWavelets is a Python wavelet transforms module that can perform:
* Discrete Wavelet Transform (1D and 2D)
* Inverse Discrete Wavelet Transform (1D and 2D)
* Stationary Wavelet Transform
- * Wavelet Packets decomposition and reconstruction</longdescription>
- <upstream>
- <remote-id type="pypi">PyWavelets</remote-id>
- </upstream>
+ * Wavelet Packets decomposition and reconstruction
+</longdescription>
+<upstream>
+ <remote-id type="pypi">PyWavelets</remote-id>
+</upstream>
</pkgmetadata>
diff --git a/dev-python/pywavelets/pywavelets-0.2.0.ebuild b/dev-python/pywavelets/pywavelets-0.2.0.ebuild
index 9d7783018efa..b04a818f0235 100644
--- a/dev-python/pywavelets/pywavelets-0.2.0.ebuild
+++ b/dev-python/pywavelets/pywavelets-0.2.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pywavelets/pywavelets-0.2.0.ebuild,v 1.5 2012/02/23 03:25:47 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pywavelets/pywavelets-0.2.0.ebuild,v 1.6 2012/08/02 17:57:17 bicatali Exp $
-EAPI="3"
+EAPI=4
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
@@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
DEPEND="dev-python/cython
@@ -32,25 +32,21 @@ PYTHON_MODNAME="pywt"
src_prepare() {
distutils_src_prepare
-
# https://bitbucket.org/nigma/pywt/changeset/784802d4118c
sed -e "167s/__new__/__cinit__/" -i src/_pywt.pyx
}
src_test() {
testing() {
- PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" tests/test_perfect_reconstruction.py
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" \
+ "$(PYTHON)" tests/test_perfect_reconstruction.py
}
python_execute_function testing
}
src_install () {
distutils_src_install
-
- if use doc; then
- dohtml -r doc/build/html/* || die "dohtml failed"
- fi
-
+ use doc && dohtml -r doc/build/html/*
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins demo/* || die "doins failed"