diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-07-08 20:38:00 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-07-08 20:38:00 +0000 |
commit | cac2d8821cdac0e216105f7e4b122e98eda4ad55 (patch) | |
tree | 32f8e623c6c31103e2a7a5d1cc69636f0863705f /dev-python/basemap | |
parent | Stable for PPC (bug #323859). (diff) | |
download | gentoo-2-cac2d8821cdac0e216105f7e4b122e98eda4ad55.tar.gz gentoo-2-cac2d8821cdac0e216105f7e4b122e98eda4ad55.tar.bz2 gentoo-2-cac2d8821cdac0e216105f7e4b122e98eda4ad55.zip |
Version bump. Switched to EAPI3
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/basemap')
-rw-r--r-- | dev-python/basemap/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/basemap/basemap-1.0.ebuild | 51 |
2 files changed, 58 insertions, 2 deletions
diff --git a/dev-python/basemap/ChangeLog b/dev-python/basemap/ChangeLog index 4178a8b1aa8f..97387f4bc736 100644 --- a/dev-python/basemap/ChangeLog +++ b/dev-python/basemap/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/basemap -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/ChangeLog,v 1.16 2009/12/01 06:03:45 bicatali Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/ChangeLog,v 1.17 2010/07/08 20:38:00 bicatali Exp $ + +*basemap-1.0 (08 Jul 2010) + + 08 Jul 2010; Sébastien Fabbro <bicatali@gentoo.org> +basemap-1.0.ebuild: + Version bump. Switched to EAPI3 01 Dec 2009; Sébastien Fabbro <bicatali@gentoo.org> -basemap-0.99.3.ebuild, basemap-0.99.4.ebuild: diff --git a/dev-python/basemap/basemap-1.0.ebuild b/dev-python/basemap/basemap-1.0.ebuild new file mode 100644 index 000000000000..02e8500ac52e --- /dev/null +++ b/dev-python/basemap/basemap-1.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/basemap-1.0.ebuild,v 1.1 2010/07/08 20:38:00 bicatali Exp $ + +EAPI=3 +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/" +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 + epatch "${FILESDIR}"/${PN}-0.99.3-syslib.patch + epatch "${FILESDIR}"/${PN}-0.99.3-datadir.patch + 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 + # clean up collision with matplotlib + rm "${D%/}${EPREFIX}"/usr/lib*/python*/site-packages/mpl_toolkits/__init__.py || die + # respect FHS + mv "${D%/}${EPREFIX}"/usr/lib*/python*/site-packages/mpl_toolkits/basemap/data \ + "${D%/}${EPREFIX}"/usr/share/basemap || die +} |