summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2013-05-02 03:57:16 +0000
committerPatrick Lauer <patrick@gentoo.org>2013-05-02 03:57:16 +0000
commitb1dd1418c39f7673b02f4cd13ac1c5705871a90e (patch)
tree427555c35ab4625bda1752fca4f35a78f5792e14 /dev-python/guppy
parentAutomake 1.13 fix (diff)
downloadgentoo-2-b1dd1418c39f7673b02f4cd13ac1c5705871a90e.tar.gz
gentoo-2-b1dd1418c39f7673b02f4cd13ac1c5705871a90e.tar.bz2
gentoo-2-b1dd1418c39f7673b02f4cd13ac1c5705871a90e.zip
Bump
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-python/guppy')
-rw-r--r--dev-python/guppy/ChangeLog9
-rw-r--r--dev-python/guppy/guppy-0.1.10.ebuild58
2 files changed, 65 insertions, 2 deletions
diff --git a/dev-python/guppy/ChangeLog b/dev-python/guppy/ChangeLog
index a71d6754fecd..bd7b1878ca78 100644
--- a/dev-python/guppy/ChangeLog
+++ b/dev-python/guppy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/guppy
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/guppy/ChangeLog,v 1.17 2012/11/07 12:23:30 idella4 Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/guppy/ChangeLog,v 1.18 2013/05/02 03:57:16 patrick Exp $
+
+*guppy-0.1.10 (02 May 2013)
+
+ 02 May 2013; Patrick Lauer <patrick@gentoo.org> +guppy-0.1.10.ebuild:
+ Bump
08 Nov 2012; Ian Delaney <idella4@gentoo.org>
+files/guppy-0.1.9-rm_BrokenTests.patch, guppy-0.1.9-r2.ebuild:
diff --git a/dev-python/guppy/guppy-0.1.10.ebuild b/dev-python/guppy/guppy-0.1.10.ebuild
new file mode 100644
index 000000000000..125f795a1714
--- /dev/null
+++ b/dev-python/guppy/guppy-0.1.10.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/guppy/guppy-0.1.10.ebuild,v 1.1 2013/05/02 03:57:16 patrick Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
+PYTHON_TESTS_RESTRICTED_ABIS="2.[56]"
+DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
+
+inherit distutils eutils
+
+DESCRIPTION="Guppy-PE -- A Python Programming Environment"
+HOMEPAGE="http://guppy-pe.sourceforge.net/ http://pypi.python.org/pypi/guppy"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
+
+DOCS="ANNOUNCE ChangeLog"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.1.9-rm_BrokenTests.patch
+ distutils_src_prepare
+ preparation() {
+ if [[ ${PYTHON_ABI} == "2.7" ]]; then
+ sed -e 's:_PyLong_AsScaledDouble:_PyLong_Frexp:' -i src/sets/bitset.c || die
+ fi
+ }
+ python_execute_function -s preparation
+}
+
+src_test() {
+ testing() {
+ "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --home="${T}/test-${PYTHON_ABI}" || die "Installation of tests failed with Python ${PYTHON_ABI}"
+ cd "${T}/test-${PYTHON_ABI}/lib/python"
+ PYTHONPATH="$(ls -d "${BUILDDIR}/build-${PYTHON_ABI}/"lib*):." "$(PYTHON)" guppy/heapy/test/test_all.py || return 1
+ }
+ python_execute_function -s testing
+}
+
+src_install() {
+ distutils_src_install
+ dohtml guppy/doc/*
+
+ delete_duplicated_documentation() {
+ find "${D}$(python_get_sitedir)" -name '*.html' -o -name '*.jpg' | xargs rm -f
+ }
+ python_execute_function -q delete_duplicated_documentation
+}