summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-09-13 19:59:00 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-09-13 19:59:00 +0000
commit5cba36225fd496854ba5e212cdc0973368f97cf6 (patch)
tree0b7a8508f0b24f8a29893e9845a2418e3ca949f7 /dev-python/gmpy
parentWhitespace. (diff)
downloadgentoo-2-5cba36225fd496854ba5e212cdc0973368f97cf6.tar.gz
gentoo-2-5cba36225fd496854ba5e212cdc0973368f97cf6.tar.bz2
gentoo-2-5cba36225fd496854ba5e212cdc0973368f97cf6.zip
Version bump.
(Portage version: 2.2_rc81_p9/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/gmpy')
-rw-r--r--dev-python/gmpy/ChangeLog8
-rw-r--r--dev-python/gmpy/gmpy-1.13.ebuild44
2 files changed, 51 insertions, 1 deletions
diff --git a/dev-python/gmpy/ChangeLog b/dev-python/gmpy/ChangeLog
index dd0956a4e38c..816340298cd3 100644
--- a/dev-python/gmpy/ChangeLog
+++ b/dev-python/gmpy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/gmpy
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/ChangeLog,v 1.17 2010/07/20 00:02:07 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/ChangeLog,v 1.18 2010/09/13 19:59:00 arfrever Exp $
+
+*gmpy-1.13 (13 Sep 2010)
+
+ 13 Sep 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +gmpy-1.13.ebuild:
+ Version bump.
*gmpy-1.12 (20 Jul 2010)
diff --git a/dev-python/gmpy/gmpy-1.13.ebuild b/dev-python/gmpy/gmpy-1.13.ebuild
new file mode 100644
index 000000000000..b88b2551942e
--- /dev/null
+++ b/dev-python/gmpy/gmpy-1.13.ebuild
@@ -0,0 +1,44 @@
+# 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.13.ebuild,v 1.1 2010/09/13 19:59:00 arfrever Exp $
+
+EAPI="3"
+SUPPORT_PYTHON_ABIS="1"
+
+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"
+IUSE=""
+
+RDEPEND="dev-libs/gmp"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
+
+DISTUTILS_SETUP_FILES=("setup.py" "setes.py")
+
+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
+ dodoc doc/gmpydoc.txt
+}