summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-11-19 23:17:58 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-11-19 23:17:58 +0000
commit12f01dd51a5fc36570dbbae304942ed6ba4e4bca (patch)
tree6a326b14b877514cb60b87f9e7aab042380049d8 /dev-python
parentcholmod only needed with metis (diff)
downloadgentoo-2-12f01dd51a5fc36570dbbae304942ed6ba4e4bca.tar.gz
gentoo-2-12f01dd51a5fc36570dbbae304942ed6ba4e4bca.tar.bz2
gentoo-2-12f01dd51a5fc36570dbbae304942ed6ba4e4bca.zip
Fixed testing. Keyworded for ~amd64-linux and ~x86-linux
(Portage version: 2.2.01.21313-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/basemap/ChangeLog6
-rw-r--r--dev-python/basemap/basemap-1.0.5.ebuild9
-rw-r--r--dev-python/basemap/metadata.xml6
3 files changed, 14 insertions, 7 deletions
diff --git a/dev-python/basemap/ChangeLog b/dev-python/basemap/ChangeLog
index 582bca85bf69..ea28a7979fa6 100644
--- a/dev-python/basemap/ChangeLog
+++ b/dev-python/basemap/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/basemap
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/ChangeLog,v 1.29 2012/11/09 12:41:25 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/ChangeLog,v 1.30 2012/11/19 23:17:58 bicatali Exp $
+
+ 19 Nov 2012; Sébastien Fabbro <bicatali@gentoo.org> basemap-1.0.5.ebuild,
+ metadata.xml:
+ Fixed testing. Keyworded for ~amd64-linux and ~x86-linux
09 Nov 2012; Justin Lecher <jlec@gentoo.org> basemap-1.0.3.ebuild,
basemap-1.0.4.ebuild, basemap-1.0.5.ebuild, metadata.xml:
diff --git a/dev-python/basemap/basemap-1.0.5.ebuild b/dev-python/basemap/basemap-1.0.5.ebuild
index 6f25f120951f..64fb1a195c33 100644
--- a/dev-python/basemap/basemap-1.0.5.ebuild
+++ b/dev-python/basemap/basemap-1.0.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/basemap-1.0.5.ebuild,v 1.2 2012/11/09 12:41:25 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/basemap-1.0.5.ebuild,v 1.3 2012/11/19 23:17:58 bicatali Exp $
EAPI=4
PYTHON_DEPEND="2"
@@ -15,7 +15,7 @@ SRC_URI="mirror://sourceforge/matplotlib/${P}.tar.gz"
IUSE="examples test"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="MIT GPL-2"
CDEPEND="sci-libs/shapelib
@@ -35,6 +35,9 @@ DOCS="FAQ API_CHANGES"
REQUIRED_USE="test? ( examples )"
src_prepare() {
+ sed -i \
+ -e "s:/usr:${EPREFIX}/usr:g" \
+ setup.py || die
# use /usr/share/data
sed -i \
-e "/_datadir.*=.*join/s|\(.*datadir.*=\).*|\1'${EROOT}usr/share/${PN}'|g" \
@@ -45,7 +48,7 @@ src_prepare() {
# This one works. examples appear to be need be installed to run.
src_test() {
testing() {
- pushd "$(find build-${PYTHON_ABI}/ -namelib.linux-*)/mpl_toolkits/basemap/"
+ pushd "$(find build-${PYTHON_ABI} -name lib.\*)/mpl_toolkits/basemap/"
PYTHONPATH=.:../../ "$(PYTHON)" test.py
popd
}
diff --git a/dev-python/basemap/metadata.xml b/dev-python/basemap/metadata.xml
index 3dba671d74e1..186fe76c1b90 100644
--- a/dev-python/basemap/metadata.xml
+++ b/dev-python/basemap/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>python</herd>
- <herd>sci-geosciences</herd>
- <longdescription>
+<herd>python</herd>
+<herd>sci-geosciences</herd>
+<longdescription>
basemap is a matplotlib toolkit. It allows to plot data on map
projections (with continental and political boundaries).
</longdescription>