summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-05-03 14:21:13 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-05-03 14:21:13 +0000
commit8126ff189454a1baba961cd9b676809b9f8e4df8 (patch)
treefc2eed993a4479978ee84c4a22272a52f4e7a8bc /dev-python/basemap/files
parentVersion bump, basic fixes according to new package structure (diff)
downloadhistorical-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/files')
-rw-r--r--dev-python/basemap/files/basemap-0.9.5-syslib.patch45
-rw-r--r--dev-python/basemap/files/digest-basemap-0.9.56
2 files changed, 51 insertions, 0 deletions
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