idella4     15/01/18 05:33:37

  Modified:             ChangeLog
  Added:                gmpy-2.0.5.ebuild
  Removed:              gmpy-2.0.0.ebuild gmpy-1.16.ebuild
  Log:
  bump, expand test phase, rm old
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.51                 dev-python/gmpy/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/gmpy/ChangeLog,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- ChangeLog   6 Dec 2014 16:53:58 -0000       1.50
+++ ChangeLog   18 Jan 2015 05:33:37 -0000      1.51
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/gmpy
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/ChangeLog,v 1.50 2014/12/06 
16:53:58 ago Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/ChangeLog,v 1.51 2015/01/18 
05:33:37 idella4 Exp $
+
+*gmpy-2.0.5 (18 Jan 2015)
+
+  18 Jan 2015; Ian Delaney <idel...@gentoo.org> +gmpy-2.0.5.ebuild,
+  -gmpy-1.16.ebuild, -gmpy-2.0.0.ebuild:
+  bump, expand test phase, rm old
 
   06 Dec 2014; Agostino Sarubbo <a...@gentoo.org> gmpy-2.0.3.ebuild:
   Stable for ia64, wrt bug #526460



1.1                  dev-python/gmpy/gmpy-2.0.5.ebuild

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

Index: gmpy-2.0.5.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/gmpy-2.0.5.ebuild,v 1.1 
2015/01/18 05:33:37 idella4 Exp $

EAPI=5

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

inherit distutils-r1

MY_PN="${PN}2"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="Python bindings for GMP, MPC, MPFR and MPIR libraries"
HOMEPAGE="http://code.google.com/p/gmpy/";
SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.zip"

LICENSE="LGPL-2.1"
SLOT="2"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc mpir"

RDEPEND="
        >=dev-libs/mpc-1.0.2
        >=dev-libs/mpfr-3.1.2
        !mpir? ( dev-libs/gmp )
        mpir? ( sci-libs/mpir )"
DEPEND="${RDEPEND}
        app-arch/unzip
        doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"

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

python_prepare_all() {
        # rm non std test file
        rm test*/gmpy_test_thr.py || die
        distutils-r1_python_prepare_all
}

python_configure_all() {
        mydistutilsargs=(
                $(usex mpir --mpir --gmp)
                )
}

python_compile() {
        python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
        distutils-r1_python_compile
}

python_compile_all() {
        use doc && emake -C docs html
}

python_test() {
        cd test || die
        "${PYTHON}" runtests.py || die "tests failed under ${EPYTHON}"
        if python_is_python3; then
                cd ../test3 || die
        else
                cd ../test2 || die
        fi
        for test in ./gmpy_test*.py
        do
                "${PYTHON}" $test || die "test $test failed under ${EPYTHON}"
        done
}

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




Reply via email to