1 |
commit: ce87dab6c5be2a1c40b2f0ed6f4757df811c75f6 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 30 18:25:31 2017 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 30 18:25:31 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce87dab6 |
7 |
|
8 |
dev-python/mpmath: cleaning 0.19 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-python/mpmath/mpmath-0.19.ebuild | 62 ------------------------------------ |
13 |
1 file changed, 62 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/mpmath/mpmath-0.19.ebuild b/dev-python/mpmath/mpmath-0.19.ebuild |
16 |
deleted file mode 100644 |
17 |
index 8002d1400bf..00000000000 |
18 |
--- a/dev-python/mpmath/mpmath-0.19.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,62 +0,0 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
- |
26 |
-PYTHON_COMPAT=( python{2_7,3_4} ) |
27 |
- |
28 |
-inherit distutils-r1 eutils |
29 |
- |
30 |
-MY_PN=${PN}-all |
31 |
-MY_P=${MY_PN}-${PV} |
32 |
- |
33 |
-DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic" |
34 |
-HOMEPAGE="http://mpmath.org/" |
35 |
-SRC_URI="http://mpmath.org/files/${MY_P}.tar.gz" |
36 |
- |
37 |
-LICENSE="BSD" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
40 |
- |
41 |
-IUSE="doc examples gmp matplotlib test" |
42 |
- |
43 |
-RDEPEND=" |
44 |
- gmp? ( dev-python/gmpy ) |
45 |
- matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )" |
46 |
-DEPEND="${RDEPEND} |
47 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
48 |
- test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
49 |
- |
50 |
-S="${WORKDIR}/${MY_P}" |
51 |
- |
52 |
-python_prepare_all() { |
53 |
- local PATCHES=( |
54 |
- "${FILESDIR}/${PN}.patch" |
55 |
- ) |
56 |
- |
57 |
- # this fails with the current version of dev-python/py |
58 |
- rm ${PN}/conftest.py || die |
59 |
- |
60 |
- # this test requires X |
61 |
- rm ${PN}/tests/test_visualization.py || die |
62 |
- |
63 |
- distutils-r1_python_prepare_all |
64 |
-} |
65 |
- |
66 |
-python_compile_all() { |
67 |
- if use doc; then |
68 |
- einfo "Generation of documentation" |
69 |
- cd doc || die |
70 |
- "${PYTHON}" build.py || die "Generation of documentation failed" |
71 |
- fi |
72 |
-} |
73 |
- |
74 |
-python_test() { |
75 |
- py.test -v || die |
76 |
-} |
77 |
- |
78 |
-python_install_all() { |
79 |
- use doc && local HTML_DOCS=( doc/build/. ) |
80 |
- use examples && local EXAMPLES=( demo/. ) |
81 |
- distutils-r1_python_install_all |
82 |
-} |