public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/ipython: ipython-0.10.ebuild ChangeLog
Date: Sun, 30 Aug 2009 00:08:21 +0000	[thread overview]
Message-ID: <E1MhXy1-0004zw-5Y@stork.gentoo.org> (raw)

arfrever    09/08/30 00:08:21

  Modified:             ipython-0.10.ebuild ChangeLog
  Log:
  Set SUPPORT_PYTHON_ABIS.
  (Portage version: 14170-svn/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  dev-python/ipython/ipython-0.10.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipython/ipython-0.10.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipython/ipython-0.10.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipython/ipython-0.10.ebuild?r1=1.2&r2=1.3

Index: ipython-0.10.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.10.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ipython-0.10.ebuild	18 Aug 2009 16:47:06 -0000	1.2
+++ ipython-0.10.ebuild	30 Aug 2009 00:08:20 -0000	1.3
@@ -1,9 +1,12 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.10.ebuild,v 1.2 2009/08/18 16:47:06 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.10.ebuild,v 1.3 2009/08/30 00:08:20 arfrever Exp $
+
+EAPI="2"
+
+NEED_PYTHON="2.4"
+SUPPORT_PYTHON_ABIS="1"
 
-NEED_PYTHON=2.4
-EAPI=2
 inherit eutils distutils elisp-common
 
 DESCRIPTION="An advanced interactive shell for Python."
@@ -27,6 +30,8 @@
 DEPEND="${CDEPEND}
 	test? ( dev-python/nose )"
 
+RESTRICT_PYTHON_ABIS="3*"
+
 PYTHON_MODNAME="IPython"
 SITEFILE="62ipython-gentoo.el"
 
@@ -50,29 +55,29 @@
 
 src_compile() {
 	distutils_src_compile
-	if use emacs ; then
+	if use emacs; then
 		elisp-compile docs/emacs/ipython.el || die "elisp-compile failed"
 	fi
 }
 
 src_test() {
-	"${python}" setup.py \
-		install --home="${WORKDIR}/test" > /dev/null \
-		|| die "fake install for testing failed"
-	cd "${WORKDIR}"/test
-	# first initialize .ipython stuff
-	PATH="${WORKDIR}/test/bin:${PATH}" \
-		PYTHONPATH="${WORKDIR}/test/lib/python" ipython > /dev/null <<-EOF
+	testing() {
+		"$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --home="${WORKDIR}/test-${PYTHON_ABI}" > /dev/null || die "Installation of tests failed with Python ${PYTHON_ABI}"
+		pushd "${WORKDIR}/test-${PYTHON_ABI}" > /dev/null || die
+		# First initialize .ipython stuff.
+		PATH="${WORKDIR}/test-${PYTHON_ABI}/bin:${PATH}" PYTHONPATH="${WORKDIR}/test-${PYTHON_ABI}/lib/python" ipython > /dev/null <<-EOF
 		EOF
-	# test ( -v for more verbosity)
-	PATH="${WORKDIR}/test/bin:${PATH}" \
-		PYTHONPATH="${WORKDIR}/test/lib/python" iptest || die "test failed"
+		# Test (-v for more verbosity).
+		PATH="${WORKDIR}/test-${PYTHON_ABI}/bin:${PATH}" PYTHONPATH="${WORKDIR}/test-${PYTHON_ABI}/lib/python" iptest
+		popd > /dev/null || die
+	}
+	python_execute_function testing
 }
 
 src_install() {
 	DOCS="docs/source/changes.txt"
 	distutils_src_install
-	if use emacs ; then
+	if use emacs; then
 		pushd docs/emacs
 		elisp-install ${PN} ${PN}.el* || die "elisp-install failed"
 		elisp-site-file-install "${FILESDIR}/${SITEFILE}"



1.66                 dev-python/ipython/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipython/ChangeLog?rev=1.66&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipython/ChangeLog?rev=1.66&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipython/ChangeLog?r1=1.65&r2=1.66

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/ipython/ChangeLog,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- ChangeLog	18 Aug 2009 16:47:06 -0000	1.65
+++ ChangeLog	30 Aug 2009 00:08:20 -0000	1.66
@@ -1,6 +1,10 @@
 # ChangeLog for dev-python/ipython
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ChangeLog,v 1.65 2009/08/18 16:47:06 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ChangeLog,v 1.66 2009/08/30 00:08:20 arfrever Exp $
+
+  29 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  ipython-0.10.ebuild:
+  Set SUPPORT_PYTHON_ABIS.
 
   18 Aug 2009; Sébastien Fabbro <bicatali@gentoo.org> ipython-0.9.1.ebuild,
   ipython-0.10.ebuild:






             reply	other threads:[~2009-08-29 18:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-30  0:08 Arfrever Frehtes Taifersar Arahesis (arfrever) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-06-29  4:14 [gentoo-commits] gentoo-x86 commit in dev-python/ipython: ipython-0.10.ebuild ChangeLog Arfrever Frehtes Taifersar Arahesis (arfrever)
2010-04-30 15:25 Fabian Groffen (grobian)
2009-11-11  0:06 Brent Baude (ranger)
2009-11-03 17:20 Raul Porcel (armin76)
2009-10-10 17:20 Fabian Groffen (grobian)
2009-10-07 17:56 Gysbert Wassenaar (nixnut)
2009-10-03  9:55 Markus Meier (maekke)
2009-08-17 14:53 Patrick Lauer (patrick)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1MhXy1-0004zw-5Y@stork.gentoo.org \
    --to=arfrever@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox