public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/natgrid: ChangeLog natgrid-0.1.ebuild
@ 2010-07-23 23:27 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; only message in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2010-07-23 23:27 UTC (permalink / raw
  To: gentoo-commits

arfrever    10/07/23 23:27:30

  Modified:             ChangeLog natgrid-0.1.ebuild
  Log:
  Set SUPPORT_PYTHON_ABIS.
  
  (Portage version: HEAD/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  dev-python/natgrid/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/natgrid/ChangeLog?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/natgrid/ChangeLog?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/natgrid/ChangeLog?r1=1.2&r2=1.3

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/natgrid/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog	28 Oct 2008 18:13:09 -0000	1.2
+++ ChangeLog	23 Jul 2010 23:27:30 -0000	1.3
@@ -1,6 +1,10 @@
 # ChangeLog for dev-python/natgrid
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/natgrid/ChangeLog,v 1.2 2008/10/28 18:13:09 bicatali Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/natgrid/ChangeLog,v 1.3 2010/07/23 23:27:30 arfrever Exp $
+
+  23 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  natgrid-0.1.ebuild:
+  Set SUPPORT_PYTHON_ABIS.
 
   28 Oct 2008; Sébastien Fabbro <bicatali@gentoo.org> natgrid-0.1.ebuild:
   Removed mpl_toolkits/__init__.py which collides with matplotlib, updated



1.3                  dev-python/natgrid/natgrid-0.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/natgrid/natgrid-0.1.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/natgrid/natgrid-0.1.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/natgrid/natgrid-0.1.ebuild?r1=1.2&r2=1.3

Index: natgrid-0.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/natgrid/natgrid-0.1.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- natgrid-0.1.ebuild	28 Oct 2008 18:13:09 -0000	1.2
+++ natgrid-0.1.ebuild	23 Jul 2010 23:27:30 -0000	1.3
@@ -1,6 +1,11 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/natgrid/natgrid-0.1.ebuild,v 1.2 2008/10/28 18:13:09 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/natgrid/natgrid-0.1.ebuild,v 1.3 2010/07/23 23:27:30 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
 
 inherit distutils
 
@@ -11,13 +16,22 @@
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-
 IUSE=""
-RDEPEND=">=dev-python/matplotlib-0.98"
+
+DEPEND=">=dev-python/matplotlib-0.98"
+RDEPEND="${DEPEND}"
+
+PYTHON_MODNAME="mpl_toolkits/natgrid"
 
 src_install() {
 	distutils_src_install
+
 	insinto /usr/share/doc/${PF}
-	rm -f "${D}"/usr/lib*/python*/site-packages/mpl_toolkits/__init__.py
-	doins test.py || die
+	doins test.py || die "doins failed"
+
+	# Fix collision with dev-python/matplotlib.
+	delete_mpl_toolkits.__init__() {
+		rm -f "${ED}$(python_get_sitedir)/mpl_toolkits/__init__.py"
+	}
+	python_execute_function -q delete_mpl_toolkits.__init__
 }






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-23 23:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-23 23:27 [gentoo-commits] gentoo-x86 commit in dev-python/natgrid: ChangeLog natgrid-0.1.ebuild Arfrever Frehtes Taifersar Arahesis (arfrever)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox