diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-12-06 17:34:05 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-12-06 17:34:05 +0000 |
commit | 351a98e9b75855f2c51b48be7d04a058b2c26cca (patch) | |
tree | 1b9a84a9852c88901f997cfaeacdd862235e0958 /dev-python/gmpy/gmpy-1.14.ebuild | |
parent | Delete older ebuilds. (diff) | |
download | historical-351a98e9b75855f2c51b48be7d04a058b2c26cca.tar.gz historical-351a98e9b75855f2c51b48be7d04a058b2c26cca.tar.bz2 historical-351a98e9b75855f2c51b48be7d04a058b2c26cca.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha7_p1/cvs/Linux x86_64
Diffstat (limited to 'dev-python/gmpy/gmpy-1.14.ebuild')
-rw-r--r-- | dev-python/gmpy/gmpy-1.14.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/gmpy/gmpy-1.14.ebuild b/dev-python/gmpy/gmpy-1.14.ebuild new file mode 100644 index 000000000000..b0c031de4d06 --- /dev/null +++ b/dev-python/gmpy/gmpy-1.14.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/gmpy-1.14.ebuild,v 1.1 2010/12/06 17:34:05 arfrever Exp $ + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="*-jython" + +inherit distutils + +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" + +PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") + +DISTUTILS_SETUP_FILES=("setup.py" "setes.py") +DOCS="doc/gmpydoc.txt" + +src_test() { + testing() { + if [[ "${PYTHON_ABI}" == 3.* ]]; then + pushd test3 > /dev/null + else + pushd test > /dev/null + fi + PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" gmpy_test.py || return 1 + popd > /dev/null + } + python_execute_function testing +} + +src_install() { + distutils_src_install + dohtml doc/index.html || die "dohtml failed" +} |