summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2011-12-25 14:19:47 +0000
committerPatrick Lauer <patrick@gentoo.org>2011-12-25 14:19:47 +0000
commit07fc0d094db2a2c77dbfec6f5cd8cabdec6f33e1 (patch)
tree1e03c70840bf4c850377ea05ffc8af583be5f67e /dev-python/basemap
parentFix kdeenablefinal build, bug 395979 (diff)
downloadgentoo-2-07fc0d094db2a2c77dbfec6f5cd8cabdec6f33e1.tar.gz
gentoo-2-07fc0d094db2a2c77dbfec6f5cd8cabdec6f33e1.tar.bz2
gentoo-2-07fc0d094db2a2c77dbfec6f5cd8cabdec6f33e1.zip
Bump for #393591
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/basemap')
-rw-r--r--dev-python/basemap/ChangeLog7
-rw-r--r--dev-python/basemap/basemap-1.0.2.ebuild57
2 files changed, 63 insertions, 1 deletions
diff --git a/dev-python/basemap/ChangeLog b/dev-python/basemap/ChangeLog
index b66a1329218a..9a71261733ea 100644
--- a/dev-python/basemap/ChangeLog
+++ b/dev-python/basemap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/basemap
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/ChangeLog,v 1.21 2011/07/18 14:31:56 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/ChangeLog,v 1.22 2011/12/25 14:19:47 patrick Exp $
+
+*basemap-1.0.2 (25 Dec 2011)
+
+ 25 Dec 2011; Patrick Lauer <patrick@gentoo.org> +basemap-1.0.2.ebuild:
+ Bump for #393591
18 Jul 2011; Tomáš Chvátal <scarabeus@gentoo.org> -basemap-1.0.ebuild:
old
diff --git a/dev-python/basemap/basemap-1.0.2.ebuild b/dev-python/basemap/basemap-1.0.2.ebuild
new file mode 100644
index 000000000000..1fe52858e5d8
--- /dev/null
+++ b/dev-python/basemap/basemap-1.0.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/basemap-1.0.2.ebuild,v 1.1 2011/12/25 14:19:47 patrick Exp $
+
+EAPI=3
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit eutils distutils
+
+DESCRIPTION="matplotlib toolkit to plot map projections"
+HOMEPAGE="http://matplotlib.sourceforge.net/basemap/doc/html/ http://pypi.python.org/pypi/basemap"
+SRC_URI="mirror://sourceforge/matplotlib/${P}.tar.gz"
+
+IUSE="examples"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LICENSE="MIT GPL-2"
+
+CDEPEND="sci-libs/shapelib
+ >=dev-python/matplotlib-0.98
+ >=sci-libs/geos-3.1.1"
+
+DEPEND="${CDEPEND}
+ dev-python/setuptools"
+
+RDEPEND="${CDEPEND}
+ >=dev-python/pupynere-1.0.8
+ dev-python/dap"
+
+DOCS="FAQ API_CHANGES"
+
+src_prepare() {
+ # use system libraries
+ rm -f lib/mpl_toolkits/basemap/pupynere.py || die
+}
+
+src_install() {
+ distutils_src_install --install-data="${EPREFIX}/usr/share/${PN}"
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples || die
+ fi
+
+ # respect FHS
+ mv "${ED}$(python_get_sitedir -f)/mpl_toolkits/basemap/data" "${ED}usr/share/basemap"
+
+ cleaning() {
+ # clean up collision with matplotlib
+ rm -f "${ED}$(python_get_sitedir)/mpl_toolkits/__init__.py"
+ # respect FHS
+ rm -fr "${ED}$(python_get_sitedir)/mpl_toolkits/basemap/data"
+ }
+ python_execute_function -q cleaning
+}