diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-12-23 12:55:20 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-12-23 12:55:20 +0000 |
commit | 50b00ea36cbb4848dd02009ce7c1601ea8f903e8 (patch) | |
tree | 42d0fc57072e66e7f20cfe1cc0b2f77fd4c085e6 /dev-python/gmpy | |
parent | Security cleanup, bug #492782 (diff) | |
download | gentoo-2-50b00ea36cbb4848dd02009ce7c1601ea8f903e8.tar.gz gentoo-2-50b00ea36cbb4848dd02009ce7c1601ea8f903e8.tar.bz2 gentoo-2-50b00ea36cbb4848dd02009ce7c1601ea8f903e8.zip |
dev-python/gmpy: Version BUmp; Bump to distutils-r1
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'dev-python/gmpy')
-rw-r--r-- | dev-python/gmpy/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/gmpy/gmpy-1.17.ebuild | 38 | ||||
-rw-r--r-- | dev-python/gmpy/gmpy-2.0.0.ebuild | 4 | ||||
-rw-r--r-- | dev-python/gmpy/gmpy-2.0.3.ebuild | 42 | ||||
-rw-r--r-- | dev-python/gmpy/metadata.xml | 3 |
5 files changed, 93 insertions, 3 deletions
diff --git a/dev-python/gmpy/ChangeLog b/dev-python/gmpy/ChangeLog index ec9208498010..e7c32973a441 100644 --- a/dev-python/gmpy/ChangeLog +++ b/dev-python/gmpy/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-python/gmpy # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/ChangeLog,v 1.38 2013/08/07 13:28:52 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/ChangeLog,v 1.39 2013/12/23 12:55:20 jlec Exp $ + +*gmpy-2.0.3 (23 Dec 2013) +*gmpy-1.17 (23 Dec 2013) + + 23 Dec 2013; Justin Lecher <jlec@gentoo.org> +gmpy-1.17.ebuild, + gmpy-2.0.0.ebuild, +gmpy-2.0.3.ebuild, metadata.xml: + Version BUmp; Bump to distutils-r1 07 Aug 2013; Agostino Sarubbo <ago@gentoo.org> gmpy-2.0.0.ebuild: Stable for x86, wrt bug #474182 diff --git a/dev-python/gmpy/gmpy-1.17.ebuild b/dev-python/gmpy/gmpy-1.17.ebuild new file mode 100644 index 000000000000..bc35e0414761 --- /dev/null +++ b/dev-python/gmpy/gmpy-1.17.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/gmpy-1.17.ebuild,v 1.1 2013/12/23 12:55:20 jlec Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for GMP library" +HOMEPAGE="http://www.aleax.it/gmpy.html http://code.google.com/p/gmpy/ http://pypi.python.org/pypi/gmpy" +SRC_URI="http://${PN}.googlecode.com/files/${P}.zip" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~x86 ~x86-linux ~ppc-macos" +IUSE="" + +RDEPEND="dev-libs/gmp" +DEPEND="${RDEPEND} + app-arch/unzip" + +DOCS=( doc/gmpydoc.txt ) +HTML_DOCS=( doc/index.html ) + +python_test() { + if $(python_is_python3); then + pushd test3 > /dev/null + else + pushd test > /dev/null + fi + sed \ + -e 's:_test():_test(chat=True):g' \ + -i gmpy_test.py || die + "${EPYTHON}" gmpy_test.py || return 1 + popd > /dev/null +} diff --git a/dev-python/gmpy/gmpy-2.0.0.ebuild b/dev-python/gmpy/gmpy-2.0.0.ebuild index 8a0ba28feb05..7e36c99cff46 100644 --- a/dev-python/gmpy/gmpy-2.0.0.ebuild +++ b/dev-python/gmpy/gmpy-2.0.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/gmpy-2.0.0.ebuild,v 1.3 2013/08/07 13:28:52 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/gmpy-2.0.0.ebuild,v 1.4 2013/12/23 12:55:20 jlec Exp $ EAPI=5 @@ -12,7 +12,7 @@ MY_PN="${PN}2" MY_P="${MY_PN}-${PV}" DESCRIPTION="Python bindings for GMP library" -HOMEPAGE="http://www.aleax.it/gmpy.html http://code.google.com/p/gmpy/ http://pypi.python.org/pypi/gmpy" +HOMEPAGE="http://www.aleax.it/gmpy.html http://code.google.com/p/gmpy/ http://pypi.python.org/pypi/gmpy2" SRC_URI="http://gmpy.googlecode.com/files/${MY_P}.zip" LICENSE="LGPL-2.1" diff --git a/dev-python/gmpy/gmpy-2.0.3.ebuild b/dev-python/gmpy/gmpy-2.0.3.ebuild new file mode 100644 index 000000000000..1282ddade204 --- /dev/null +++ b/dev-python/gmpy/gmpy-2.0.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/gmpy-2.0.3.ebuild,v 1.1 2013/12/23 12:55:20 jlec Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) + +inherit distutils-r1 + +MY_PN="${PN}2" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python bindings for GMP library" +HOMEPAGE="http://www.aleax.it/gmpy.html http://code.google.com/p/gmpy/ http://pypi.python.org/pypi/gmpy2" +SRC_URI="http://gmpy.googlecode.com/files/${MY_P}.zip" + +LICENSE="LGPL-2.1" +SLOT="2" +KEYWORDS="~amd64 ~x86 ~x86-linux ~ppc-macos" +IUSE="mpir" + +RDEPEND=" + >=dev-libs/mpc-1.0.0 + >=dev-libs/mpfr-3.1.0 + !mpir? ( dev-libs/gmp ) + mpir? ( sci-libs/mpir )" +DEPEND="${RDEPEND} + app-arch/unzip" + +S="${WORKDIR}"/${MY_P} + +python_configure_all() { + mydistutilsargs=( + $(usex mpir --mpir --gmp) + ) +} + +python_test() { + cd test || die + ${PYTHON} runtests.py || die +} diff --git a/dev-python/gmpy/metadata.xml b/dev-python/gmpy/metadata.xml index 3262f178c657..1636a88e1710 100644 --- a/dev-python/gmpy/metadata.xml +++ b/dev-python/gmpy/metadata.xml @@ -7,4 +7,7 @@ <upstream> <remote-id type="google-code">gmpy</remote-id> </upstream> + <use> + <flag name="mpir">Use <pkg>sci-libs/mpir</pkg> as gmp implementation</flag> + </use> </pkgmetadata> |