diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2007-05-03 14:21:13 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2007-05-03 14:21:13 +0000 |
commit | 8126ff189454a1baba961cd9b676809b9f8e4df8 (patch) | |
tree | fc2eed993a4479978ee84c4a22272a52f4e7a8bc /dev-python/basemap | |
parent | Version bump, basic fixes according to new package structure (diff) | |
download | historical-8126ff189454a1baba961cd9b676809b9f8e4df8.tar.gz historical-8126ff189454a1baba961cd9b676809b9f8e4df8.tar.bz2 historical-8126ff189454a1baba961cd9b676809b9f8e4df8.zip |
Version bump, basic fixes according to new package structure
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'dev-python/basemap')
-rw-r--r-- | dev-python/basemap/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/basemap/basemap-0.9.5.ebuild | 38 | ||||
-rw-r--r-- | dev-python/basemap/files/basemap-0.9.5-syslib.patch | 45 | ||||
-rw-r--r-- | dev-python/basemap/files/digest-basemap-0.9.5 | 6 |
4 files changed, 96 insertions, 1 deletions
diff --git a/dev-python/basemap/ChangeLog b/dev-python/basemap/ChangeLog index 1992a8c6fa55..30d2d0ac7b9a 100644 --- a/dev-python/basemap/ChangeLog +++ b/dev-python/basemap/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/basemap # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/ChangeLog,v 1.2 2007/02/24 01:07:06 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/ChangeLog,v 1.3 2007/05/03 14:21:13 bicatali Exp $ + +*basemap-0.9.5 (03 May 2007) + + 03 May 2007; SĂ©bastien Fabbro <bicatali@gentoo.org> + +files/basemap-0.9.5-syslib.patch, +basemap-0.9.5.ebuild: + Version bump, basic fixes according to new package structure *basemap-0.9.4 (24 Feb 2007) diff --git a/dev-python/basemap/basemap-0.9.5.ebuild b/dev-python/basemap/basemap-0.9.5.ebuild new file mode 100644 index 000000000000..f1808c555ca6 --- /dev/null +++ b/dev-python/basemap/basemap-0.9.5.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/basemap-0.9.5.ebuild,v 1.1 2007/05/03 14:21:13 bicatali Exp $ + +inherit distutils + +DESCRIPTION="matplotlib toolkit to plot map projections" +HOMEPAGE="http://matplotlib.sourceforge.net/matplotlib.toolkits.basemap.basemap.html" +SRC_URI="mirror://sourceforge/matplotlib/${P}.tgz + examples? ( mirror://sourceforge/matplotlib/${PN}-examples-${PV}.tgz )" + +IUSE="examples" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="MIT GPL-2" +RESTRICT="test" + +DEPEND="sci-libs/shapelib + sci-libs/proj" + +RDEPEND="${DEPEND} + >=dev-python/matplotlib-0.87.3" + +DOCS="FAQ API_CHANGES" + +src_unpack() { + unpack ${A} + # patch to use proj and shapelib system libraries + epatch "${FILESDIR}/${P}-syslib.patch" +} + +src_install() { + distutils_src_install + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/* + fi +} diff --git a/dev-python/basemap/files/basemap-0.9.5-syslib.patch b/dev-python/basemap/files/basemap-0.9.5-syslib.patch new file mode 100644 index 000000000000..b712a4743620 --- /dev/null +++ b/dev-python/basemap/files/basemap-0.9.5-syslib.patch @@ -0,0 +1,45 @@ +--- basemap-0.9.5/setup.py.orig 2007-03-15 07:26:43.000000000 -0600 ++++ basemap-0.9.5/setup.py 2007-03-23 15:36:02.000000000 -0600 +@@ -11,7 +11,7 @@ + DBFUpdateHeader is available, we scan shapefil.h for the string + 'DBFUpdateHeader'. + """ +- f = open(convert_path("pyshapelib/shapelib/shapefil.h")) ++ f = open(convert_path("/usr/include/libshp/shapefil.h")) + contents = f.read() + f.close() + if contents.find("DBFUpdateHeader") >= 0: +@@ -23,7 +23,7 @@ + + packages = ['matplotlib.toolkits.basemap'] + package_dirs = {'':'lib'} +-extensions = [Extension("matplotlib.toolkits.basemap._pyproj",deps,include_dirs = ['src'],)] ++extensions = [Extension("matplotlib.toolkits.basemap._pyproj",['src/_pyproj.c'],include_dirs = ['src'],libraries=["proj"])] + + # only install shapelib and dbflib if user hasn't got them. + #try: import shapelib +@@ -40,17 +40,16 @@ + package_dirs['dbflib'] ='lib/dbflib' + extensions = extensions + \ + [Extension("shapelibc", +- ["pyshapelib/shapelib_wrap.c", +- "pyshapelib/shapelib/shpopen.c", +- "pyshapelib/shapelib/shptree.c"], +- include_dirs = ["pyshapelib/shapelib"]), ++ ["pyshapelib/shapelib_wrap.c"], ++ include_dirs = ["/usr/include/libshp"], ++ libraries=["shp"]), + Extension("shptree", + ["pyshapelib/shptreemodule.c"], +- include_dirs = ["pyshapelib/shapelib"]), ++ include_dirs = ["/usr/include/libshp"]), + Extension("dbflibc", +- ["pyshapelib/dbflib_wrap.c", +- "pyshapelib/shapelib/dbfopen.c"], +- include_dirs = ["pyshapelib/shapelib"], ++ ["pyshapelib/dbflib_wrap.c"], ++ include_dirs = ["/usr/include/libshp"], ++ libraries=["shp"], + define_macros = dbf_macros()) ] + + if 'setuptools' in sys.modules: diff --git a/dev-python/basemap/files/digest-basemap-0.9.5 b/dev-python/basemap/files/digest-basemap-0.9.5 new file mode 100644 index 000000000000..a4979eb2590b --- /dev/null +++ b/dev-python/basemap/files/digest-basemap-0.9.5 @@ -0,0 +1,6 @@ +MD5 d214dc6a7201080a8e7419f2a5c8306b basemap-0.9.5.tgz 12746902 +RMD160 ae24bfff210bef1a6c9d80fe29b8a49876f78845 basemap-0.9.5.tgz 12746902 +SHA256 c7698745765da1476309bd01b93796e8521ed8ffe4a9dc21511d74c95ea211d6 basemap-0.9.5.tgz 12746902 +MD5 3184e9ae9009d189f0026dee9d2db5ae basemap-examples-0.9.5.tgz 5337800 +RMD160 90d231eade7de6e3278fecf52396f03b2d40f635 basemap-examples-0.9.5.tgz 5337800 +SHA256 6674c8687f8928be53e70f228f8a1520625221be4c3470e44a8cb7419c9a6030 basemap-examples-0.9.5.tgz 5337800 |