summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-23 23:27:30 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-23 23:27:30 +0000
commitcf285b65b34c9696db45499a302befdad6e91781 (patch)
tree438583504aa55af3d36d041979f3dc4fdd0f67ad /dev-python
parentfix for mmx bug in 323745 (diff)
downloadhistorical-cf285b65b34c9696db45499a302befdad6e91781.tar.gz
historical-cf285b65b34c9696db45499a302befdad6e91781.tar.bz2
historical-cf285b65b34c9696db45499a302befdad6e91781.zip
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/natgrid/ChangeLog8
-rw-r--r--dev-python/natgrid/Manifest14
-rw-r--r--dev-python/natgrid/natgrid-0.1.ebuild26
3 files changed, 28 insertions, 20 deletions
diff --git a/dev-python/natgrid/ChangeLog b/dev-python/natgrid/ChangeLog
index 4ec7f0ec7a35..a069e71837d5 100644
--- a/dev-python/natgrid/ChangeLog
+++ b/dev-python/natgrid/ChangeLog
@@ -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
diff --git a/dev-python/natgrid/Manifest b/dev-python/natgrid/Manifest
index 54bed59e2500..a3e906de0854 100644
--- a/dev-python/natgrid/Manifest
+++ b/dev-python/natgrid/Manifest
@@ -1,14 +1,4 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST natgrid-0.1.tar.gz 27380 RMD160 7635c7008c8339f6e95f938842b822f8cff9041c SHA1 734aa1440b98d673f93449a18b08fc9f9b6dd310 SHA256 4856224bf0ef6874851dc71d26f06683405ce925c1d8bfc90186c45bd6793929
-EBUILD natgrid-0.1.ebuild 688 RMD160 4b97efce9e2d5079a37d36509f459c320dcc18cb SHA1 6ed52b406d2ff154151d84a24a548e24ac41ceba SHA256 21c2984bd55ab952dd5e0df74d4d0db094065a38ff9a2b804293d143092d80d2
-MISC ChangeLog 545 RMD160 13b6a15b7b4ad3cf320d8b5d863007e39ded6ab8 SHA1 b316ef4692c4c276b2929cff6aad74179845c004 SHA256 0cf2ae49c39935395a91b65e0cd0679af5776270ba3b13fabf380eaba2fa9cbb
+EBUILD natgrid-0.1.ebuild 973 RMD160 4beba8bd6387e4061747fa77917a003c9297cd61 SHA1 a68d7ecf99d8e1d300ddec263d93b61a9e3a8c3f SHA256 f256e902da2c25fb90cd7231c6105255fb9479e80167c9fbba190704b9862f02
+MISC ChangeLog 668 RMD160 fe6cd83aa6b6e5cc0875f9d611a71e4fc7332ff8 SHA1 953986ffd693331f7f652017a55a05f6eff12f86 SHA256 5e686e3fb823e9db784cb8d5822b81f788c3a40b39f32e0acc47cbbabc7b69b4
MISC metadata.xml 437 RMD160 e18e81d248f6433900e15b664d2900b4d81e3e62 SHA1 a2711b42825ff9305184d0db23a741b77a877518 SHA256 3e2fa7e43498559638b5b7b0273ae6455063e9af37bbb64b50c199b087924584
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkkHVj4ACgkQ1ycZbhPLE2C1pACeKrSEXGb8O70rf6lotr83f3D5
-SXwAoIKTYOal8f4Bu70kacA16aEf9o2H
-=ORbn
------END PGP SIGNATURE-----
diff --git a/dev-python/natgrid/natgrid-0.1.ebuild b/dev-python/natgrid/natgrid-0.1.ebuild
index e7ae1d3591b6..e9e4b80ba0fe 100644
--- a/dev-python/natgrid/natgrid-0.1.ebuild
+++ b/dev-python/natgrid/natgrid-0.1.ebuild
@@ -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 @@ SRC_URI="mirror://sourceforge/matplotlib/${P}.tar.gz"
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__
}