1 |
commit: 59112113a36871a7263ee26a163967739c3576ba |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 28 21:14:07 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 28 21:24:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59112113 |
7 |
|
8 |
dev-python/pywavelets: Remove redundant versions |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pywavelets/pywavelets-0.5.2.ebuild | 53 --------------------------- |
13 |
1 file changed, 53 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/pywavelets/pywavelets-0.5.2.ebuild b/dev-python/pywavelets/pywavelets-0.5.2.ebuild |
16 |
deleted file mode 100644 |
17 |
index 791d46262b6..00000000000 |
18 |
--- a/dev-python/pywavelets/pywavelets-0.5.2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,53 +0,0 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=6 |
25 |
- |
26 |
-PYTHON_COMPAT=( python{2_7,3_6} ) |
27 |
- |
28 |
-inherit distutils-r1 |
29 |
- |
30 |
-MY_PN="${PN/pyw/PyW}" |
31 |
-MY_P="${MY_PN}-${PV}" |
32 |
- |
33 |
-DESCRIPTION="Discrete Wavelet Transforms in Python" |
34 |
-HOMEPAGE="https://pywavelets.readthedocs.io/en/latest/" |
35 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
36 |
- |
37 |
-LICENSE="MIT" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
40 |
-IUSE="doc examples test" |
41 |
-RESTRICT="!test? ( test )" |
42 |
- |
43 |
-RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" |
44 |
-DEPEND=" |
45 |
- dev-python/cython[${PYTHON_USEDEP}] |
46 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] |
47 |
- dev-python/numpydoc[${PYTHON_USEDEP}] ) |
48 |
- test? ( |
49 |
- ${RDEPEND} |
50 |
- dev-python/nose[${PYTHON_USEDEP}] |
51 |
- ) |
52 |
-" |
53 |
- |
54 |
-S="${WORKDIR}/${MY_P}" |
55 |
- |
56 |
-python_test() { |
57 |
- cd "${BUILD_DIR}"/lib || die |
58 |
- nosetests -v . |
59 |
-} |
60 |
- |
61 |
-python_compile_all() { |
62 |
- use doc && emake -C doc html |
63 |
-} |
64 |
- |
65 |
-python_install_all() { |
66 |
- use doc && local HTML_DOCS=( doc/build/html/. ) |
67 |
- distutils-r1_python_install_all |
68 |
- if use examples; then |
69 |
- insinto /usr/share/doc/${PF}/examples |
70 |
- doins -r demo/* |
71 |
- docompress -x /usr/share/doc/${PF}/examples |
72 |
- fi |
73 |
-} |