grozin      14/06/11 07:01:42

  Modified:             ChangeLog
  Added:                mpmath-0.19.ebuild
  Removed:              mpmath-0.17-r1.ebuild
  Log:
  Version bump
  
  (Portage version: 2.2.10/cvs/Linux i686, signed Manifest commit with key 
0x3AFFCE974D34BD8C!)

Revision  Changes    Path
1.32                 dev-python/mpmath/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/mpmath/ChangeLog,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- ChangeLog   2 Feb 2014 17:14:59 -0000       1.31
+++ ChangeLog   11 Jun 2014 07:01:40 -0000      1.32
@@ -1,6 +1,13 @@
 # ChangeLog for dev-python/mpmath
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/mpmath/ChangeLog,v 1.31 
2014/02/02 17:14:59 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mpmath/ChangeLog,v 1.32 
2014/06/11 07:01:40 grozin Exp $
+
+*mpmath-0.19 (11 Jun 2014)
+
+  11 Jun 2014; Andrey Grozin <[email protected]> -mpmath-0.17-r1.ebuild,
+  +mpmath-0.19.ebuild, -files/mpmath-0.17-gmpy2.patch,
+  -files/mpmath-0.17-python-3.2.patch:
+  Version bump
 
 *mpmath-0.17-r1 (02 Feb 2014)
 



1.1                  dev-python/mpmath/mpmath-0.19.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mpmath/mpmath-0.19.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mpmath/mpmath-0.19.ebuild?rev=1.1&content-type=text/plain

Index: mpmath-0.19.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/mpmath/mpmath-0.19.ebuild,v 1.1 
2014/06/11 07:01:41 grozin Exp $

EAPI=5

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

inherit distutils-r1 eutils

MY_PN=${PN}-all
MY_P=${MY_PN}-${PV}

DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic"
HOMEPAGE="http://mpmath.org/";
SRC_URI="http://mpmath.org/files/${MY_P}.tar.gz";

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-linux ~x86-macos"

IUSE="doc examples gmp matplotlib test"

RDEPEND="
        gmp? ( dev-python/gmpy )
        matplotlib? ( dev-python/matplotlib )"
DEPEND="${RDEPEND}
        doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
        test? ( dev-python/pytest[${PYTHON_USEDEP}] )"

S="${WORKDIR}/${MY_P}"

python_prepare_all() {
        local PATCHES=(
                "${FILESDIR}/${PN}.patch"
                )

        # this fails with the current version of dev-python/py
        rm ${PN}/conftest.py || die

        # this test requires X
        rm ${PN}/tests/test_visualization.py || die

        distutils-r1_python_prepare_all
}

python_compile_all() {
        if use doc; then
                einfo "Generation of documentation"
                cd doc || die
                "${PYTHON}" build.py || die "Generation of documentation failed"
        fi
}

python_test() {
        py.test -v || die
}

python_install_all() {
        use doc && local HTML_DOCS=( doc/build/. )
        use examples && local EXAMPLES=( demo/. )
        distutils-r1_python_install_all
}




Reply via email to