diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-07-02 17:00:06 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-07-02 17:00:06 +0000 |
commit | 1155839775d8778bd3ed3980ce132beb08be115c (patch) | |
tree | 432d79de7a7fb6ca5cbc453a1564d91f8bf2a4a4 /dev-python/basemap | |
parent | Version bump (diff) | |
download | historical-1155839775d8778bd3ed3980ce132beb08be115c.tar.gz historical-1155839775d8778bd3ed3980ce132beb08be115c.tar.bz2 historical-1155839775d8778bd3ed3980ce132beb08be115c.zip |
Version bump. Closing bug #229857
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-python/basemap')
-rw-r--r-- | dev-python/basemap/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/basemap/Manifest | 13 | ||||
-rw-r--r-- | dev-python/basemap/basemap-0.99.ebuild | 46 | ||||
-rw-r--r-- | dev-python/basemap/files/basemap-0.99-syslib.patch | 45 |
4 files changed, 106 insertions, 6 deletions
diff --git a/dev-python/basemap/ChangeLog b/dev-python/basemap/ChangeLog index ad6660e2b144..f51866cde200 100644 --- a/dev-python/basemap/ChangeLog +++ b/dev-python/basemap/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/basemap # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/ChangeLog,v 1.6 2008/02/13 14:12:09 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/ChangeLog,v 1.7 2008/07/02 17:00:05 bicatali Exp $ + +*basemap-0.99 (02 Jul 2008) + + 02 Jul 2008; SĂ©bastien Fabbro <bicatali@gentoo.org> + +files/basemap-0.99-syslib.patch, +basemap-0.99.ebuild: + Version bump. Closing bug #229857 *basemap-0.9.9-r1 (13 Feb 2008) diff --git a/dev-python/basemap/Manifest b/dev-python/basemap/Manifest index 01a35f6b1dcb..159e2dc8c7bc 100644 --- a/dev-python/basemap/Manifest +++ b/dev-python/basemap/Manifest @@ -3,16 +3,19 @@ Hash: SHA1 AUX basemap-0.9.6-syslib.patch 2081 RMD160 528427c0fbc4fe71927f633b77e34d3658b940b6 SHA1 dca7cadf96cc94e9fd1a200b797c6bdbc2685d9d SHA256 65276e8877083034c30fe47d88b3b9f73df1358599a399d1b65c35ce5a5ec889 AUX basemap-0.9.9-syslib.patch 3266 RMD160 c2c1fcfbaf08bf68b9faad292017faccc793a3d3 SHA1 690ffd170fd5266ac8c63ffd6ddcfe729881b2f3 SHA256 1f0e69b8a977fc7b32a2d8f735de8602811d7cc0b653f6e90ef73628e72e3165 +AUX basemap-0.99-syslib.patch 2044 RMD160 de1729e56143674b2c367f95da6e0f72b5ac8ecd SHA1 1fcb2130beb886759008f715ba2fb5cab08e0c5b SHA256 b7b94680a4ec1e18ff833af6566f5c040b48942b1112df5ebb7d8b87d6586645 DIST basemap-0.9.6.tar.gz 13429588 RMD160 89f4f384980d45e91037367947381753bf79163a SHA1 5f46906c1c53c3d597b83c275f2de8d6740663d6 SHA256 9512475009fc10361580f7bc577c806a1a465e7e79ac2d233c1ffae83e4683d0 DIST basemap-0.9.9.tar.gz 31882415 RMD160 e1b3c3860ee7732efb836eff2156fb866b255cf6 SHA1 149624174e805a74d23544383ad7e72c066a780b SHA256 b811e9ab80fe38054a8fb471affe2e5367e8e052356d59e82e90416d4dd0c272 +DIST basemap-0.99.tar.gz 107986643 RMD160 18d5cc303efef8b7d9d20b5c4c3ceba26778a791 SHA1 1eb8cdeb605c59e2a7510ac4fae77633f15f0e1d SHA256 109762d29677f377f133c95f0b1af61d71bc7582f7e3e5546d99bf3bab2a00c0 EBUILD basemap-0.9.6.ebuild 929 RMD160 516844261fb8df4fbb0141c1fb7aa18e78adfc64 SHA1 6245a7fcfa34afd87044e76914905ccf7ab72c47 SHA256 5ec2b2e39a4996488ff5b3ea6a78e1543a5593207c423dd1eb71c2759d41fb8d EBUILD basemap-0.9.9-r1.ebuild 1291 RMD160 16dce8af420c7e33cb64003c585cfe7b8490de68 SHA1 17e5a6cea6d57876f32d0dbfd0dbab16da0cc265 SHA256 1b9e737759e09f0586e95b927c674452546f300e026b858a3eda9653d4e770cb -MISC ChangeLog 1505 RMD160 cc49b20c1018073ec45d05e03a8879141dcc8fb7 SHA1 117c1eabb5e597e8323b7bef54f13d94f242f129 SHA256 c65ee2763f68b5ebf25a0624809f7b58e8537d5555466f5568d032736186271c +EBUILD basemap-0.99.ebuild 1140 RMD160 62e8f93c1133f05c459f6dff618ef2de8411917e SHA1 02a06c404bf79086bb565fd384dd896942a7b7be SHA256 93097ca418925077781958f51e26cbfe4e87728a80eddf2e6df18cccf5f7fa93 +MISC ChangeLog 1684 RMD160 03cce95957499e21646bb7ff69b9abea2a8bf6f3 SHA1 95c5333860af475395a5d27e12315decfd99a0ba SHA256 6d12c10e0af808d0c5da4462a286ce59fd49e95889efd667536d788f5fb1bf25 MISC metadata.xml 345 RMD160 9b474bcb23ff1a46d81359f0cd50000ae5f6e2e8 SHA1 aef929468d8ef9a1c5161279d0c0eb16a8841811 SHA256 6912d4e1753bb1e71bd921542f553906102957bac010e60a1c08a98063d24496 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.7 (GNU/Linux) +Version: GnuPG v2.0.9 (GNU/Linux) -iD8DBQFHsvrD1ycZbhPLE2ARAgH6AJ9VT1VmGckFUF6i0ZHRKTUV6E+zDQCgkVRC -YauwlZ+AXC3KdNRL+BCcRgw= -=hmAY +iEYEARECAAYFAkhrtCIACgkQ1ycZbhPLE2DtuwCgquYa90xl5CyGfGUTCHC8b+6b +rFEAn3e/9xKB2EuQrQk6605KLI3kntT7 +=PEos -----END PGP SIGNATURE----- diff --git a/dev-python/basemap/basemap-0.99.ebuild b/dev-python/basemap/basemap-0.99.ebuild new file mode 100644 index 000000000000..4ff57c54425b --- /dev/null +++ b/dev-python/basemap/basemap-0.99.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/basemap/basemap-0.99.ebuild,v 1.1 2008/07/02 17:00:05 bicatali Exp $ + +inherit eutils distutils + +DESCRIPTION="matplotlib toolkit to plot map projections" +HOMEPAGE="http://matplotlib.sourceforge.net/matplotlib.toolkits.basemap.basemap.html" +SRC_URI="mirror://sourceforge/matplotlib/${P}.tar.gz" + +IUSE="doc examples" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="MIT GPL-2" + +CDEPEND="sci-libs/shapelib + >=dev-python/matplotlib-0.98 + =sci-libs/geos-2.2.3*" + +DEPEND="${CDEPEND} + dev-python/setuptools" + +RDEPEND="${CDEPEND} + dev-python/dap" + +DOCS="FAQ API_CHANGES" + +src_unpack() { + unpack ${A} + cd "${S}" + # patch to use shapelib and geos system libraries + # proj is unfortunately an internal patched version (bug #209895) + epatch "${FILESDIR}"/${P}-syslib.patch +} + +src_install() { + distutils_src_install --install-data=/usr/share/${PN} + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples || die + fi + if use doc; then + insinto /usr/share/doc/${PF} + doins *.pdf || die + fi +} diff --git a/dev-python/basemap/files/basemap-0.99-syslib.patch b/dev-python/basemap/files/basemap-0.99-syslib.patch new file mode 100644 index 000000000000..33aa706a6c2d --- /dev/null +++ b/dev-python/basemap/files/basemap-0.99-syslib.patch @@ -0,0 +1,45 @@ +--- setup.py.orig 2008-07-02 17:17:56.980035282 +0100 ++++ setup.py 2008-07-02 17:49:26.354807468 +0100 +@@ -26,7 +26,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: +@@ -55,7 +55,7 @@ + + if GEOS_dir is None: + # if GEOS_dir not set, check a few standard locations. +- GEOS_dirs = ['/usr/local','/sw','/opt','/opt/local',os.path.expanduser('~')] ++ GEOS_dirs = ['/usr','/usr/local','/sw','/opt','/opt/local',os.path.expanduser('~')] + for direc in GEOS_dirs: + geos_version = checkversion(direc) + print 'checking for GEOS lib in %s ....' % direc +@@ -104,17 +104,16 @@ + package_dirs['dbflib'] = os.path.join('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()) ] + + # check setup.cfg file to see how to install auxilliary packages. |