1 |
bicatali 14/05/29 15:42:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: oct2py-1.3.0-r1.ebuild |
5 |
Removed: oct2py-1.0.0.ebuild |
6 |
Log: |
7 |
Imported fix for bug #511044 to main tree |
8 |
|
9 |
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360) |
10 |
|
11 |
Revision Changes Path |
12 |
1.16 dev-python/oct2py/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oct2py/ChangeLog?rev=1.16&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oct2py/ChangeLog?rev=1.16&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oct2py/ChangeLog?r1=1.15&r2=1.16 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/oct2py/ChangeLog,v |
21 |
retrieving revision 1.15 |
22 |
retrieving revision 1.16 |
23 |
diff -u -r1.15 -r1.16 |
24 |
--- ChangeLog 25 Feb 2014 17:24:45 -0000 1.15 |
25 |
+++ ChangeLog 29 May 2014 15:42:10 -0000 1.16 |
26 |
@@ -1,6 +1,18 @@ |
27 |
# ChangeLog for dev-python/oct2py |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/oct2py/ChangeLog,v 1.15 2014/02/25 17:24:45 bicatali Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/oct2py/ChangeLog,v 1.16 2014/05/29 15:42:10 bicatali Exp $ |
31 |
+ |
32 |
+*oct2py-1.3.0-r1 (29 May 2014) |
33 |
+ |
34 |
+ 29 May 2014; Sébastien Fabbro <bicatali@g.o> -oct2py-1.0.0.ebuild, |
35 |
+ +oct2py-1.3.0-r1.ebuild, +files/oct2py-1.3.0-test.patch: |
36 |
+ Imported to main tree |
37 |
+ |
38 |
+*oct2py-1.3.0-r1 (28 May 2014) |
39 |
+ |
40 |
+ 28 May 2014; cel <cel.gentoo@×××××.com> +files/oct2py-1.3.0-test.patch, |
41 |
+ +metadata.xml, +oct2py-1.3.0-r1.ebuild: |
42 |
+ updated oct2py ebuild to provide a working test suite. |
43 |
|
44 |
25 Feb 2014; Sébastien Fabbro <bicatali@g.o> oct2py-1.3.0.ebuild: |
45 |
Fixed documentation building, bug #502310 |
46 |
|
47 |
|
48 |
|
49 |
1.1 dev-python/oct2py/oct2py-1.3.0-r1.ebuild |
50 |
|
51 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oct2py/oct2py-1.3.0-r1.ebuild?rev=1.1&view=markup |
52 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oct2py/oct2py-1.3.0-r1.ebuild?rev=1.1&content-type=text/plain |
53 |
|
54 |
Index: oct2py-1.3.0-r1.ebuild |
55 |
=================================================================== |
56 |
# Copyright 1999-2014 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/oct2py/oct2py-1.3.0-r1.ebuild,v 1.1 2014/05/29 15:42:10 bicatali Exp $ |
59 |
|
60 |
EAPI=5 |
61 |
|
62 |
PYTHON_COMPAT=( python{2_6,2_7,3_3} ) |
63 |
|
64 |
inherit distutils-r1 |
65 |
|
66 |
DESCRIPTION="Python to GNU Octave bridge" |
67 |
HOMEPAGE="http://pypi.python.org/pypi/oct2py" |
68 |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
69 |
|
70 |
LICENSE="MIT" |
71 |
SLOT="0" |
72 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
73 |
IUSE="doc examples test" |
74 |
|
75 |
RDEPEND=" |
76 |
sci-libs/scipy[${PYTHON_USEDEP}] |
77 |
sci-mathematics/octave" |
78 |
DEPEND="${RDEPEND} |
79 |
doc? ( |
80 |
dev-python/sphinx-bootstrap-theme |
81 |
dev-python/numpydoc |
82 |
) |
83 |
test? ( |
84 |
dev-python/nose[${PYTHON_USEDEP}] |
85 |
dev-python/ipython[${PYTHON_USEDEP}] |
86 |
)" |
87 |
|
88 |
python_prepare_all() { |
89 |
local PATCHES=( |
90 |
"${FILESDIR}/${P}-test.patch" |
91 |
) |
92 |
distutils-r1_python_prepare_all |
93 |
} |
94 |
|
95 |
python_compile_all() { |
96 |
if use doc; then |
97 |
sphinx-build docs html || die |
98 |
fi |
99 |
} |
100 |
|
101 |
python_test() { |
102 |
unset DISPLAY |
103 |
if [[ ${EPYTHON} == python2* ]]; then |
104 |
local OPTIONS="--with-doctest" |
105 |
fi |
106 |
nosetests oct2py ${OPTIONS} || die "Tests fail with ${EPYTHON}" |
107 |
iptest -v IPython.extensions.tests.test_octavemagic || die "Tests fail with ${EPYTHON}" |
108 |
} |
109 |
|
110 |
python_install_all() { |
111 |
use doc && local HTML_DOCS=( html/. ) |
112 |
distutils-r1_python_install_all |
113 |
|
114 |
if use examples; then |
115 |
insinto /usr/share/doc/${PF} |
116 |
doins -r example |
117 |
fi |
118 |
} |