bicatali    14/05/29 15:42:10

  Modified:             ChangeLog
  Added:                oct2py-1.3.0-r1.ebuild
  Removed:              oct2py-1.0.0.ebuild
  Log:
  Imported fix for bug #511044 to main tree
  
  (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 
0x13CB1360)

Revision  Changes    Path
1.16                 dev-python/oct2py/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oct2py/ChangeLog?rev=1.16&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oct2py/ChangeLog?rev=1.16&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oct2py/ChangeLog?r1=1.15&r2=1.16

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/oct2py/ChangeLog,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ChangeLog   25 Feb 2014 17:24:45 -0000      1.15
+++ ChangeLog   29 May 2014 15:42:10 -0000      1.16
@@ -1,6 +1,18 @@
 # ChangeLog for dev-python/oct2py
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/oct2py/ChangeLog,v 1.15 
2014/02/25 17:24:45 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/oct2py/ChangeLog,v 1.16 
2014/05/29 15:42:10 bicatali Exp $
+
+*oct2py-1.3.0-r1 (29 May 2014)
+
+  29 May 2014; Sébastien Fabbro <bicat...@gentoo.org> -oct2py-1.0.0.ebuild,
+  +oct2py-1.3.0-r1.ebuild, +files/oct2py-1.3.0-test.patch:
+  Imported to main tree
+
+*oct2py-1.3.0-r1 (28 May 2014)
+
+  28 May 2014; cel <cel.gen...@gmail.com> +files/oct2py-1.3.0-test.patch,
+  +metadata.xml, +oct2py-1.3.0-r1.ebuild:
+  updated oct2py ebuild to provide a working test suite.
 
   25 Feb 2014; Sébastien Fabbro <bicat...@gentoo.org> oct2py-1.3.0.ebuild:
   Fixed documentation building, bug #502310



1.1                  dev-python/oct2py/oct2py-1.3.0-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oct2py/oct2py-1.3.0-r1.ebuild?rev=1.1&view=markup
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

Index: oct2py-1.3.0-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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 $

EAPI=5

PYTHON_COMPAT=( python{2_6,2_7,3_3} )

inherit distutils-r1

DESCRIPTION="Python to GNU Octave bridge"
HOMEPAGE="http://pypi.python.org/pypi/oct2py";
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"

RDEPEND="
        sci-libs/scipy[${PYTHON_USEDEP}]
        sci-mathematics/octave"
DEPEND="${RDEPEND}
        doc? (
                dev-python/sphinx-bootstrap-theme
                dev-python/numpydoc
        )
        test? (
                dev-python/nose[${PYTHON_USEDEP}]
                dev-python/ipython[${PYTHON_USEDEP}]
        )"

python_prepare_all() {
        local PATCHES=(
                "${FILESDIR}/${P}-test.patch"
        )
        distutils-r1_python_prepare_all
}

python_compile_all() {
        if use doc; then
                sphinx-build docs html || die
        fi
}

python_test() {
        unset DISPLAY
        if [[ ${EPYTHON} == python2* ]]; then
                local OPTIONS="--with-doctest"
        fi
        nosetests oct2py ${OPTIONS} || die "Tests fail with ${EPYTHON}"
        iptest -v IPython.extensions.tests.test_octavemagic || die "Tests fail 
with ${EPYTHON}"
}

python_install_all() {
        use doc && local HTML_DOCS=( html/. )
        distutils-r1_python_install_all

        if use examples; then
                insinto /usr/share/doc/${PF}
                doins -r example
        fi
}




Reply via email to