aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-basemap
diff options
context:
space:
mode:
authorbofh <bofh@FreeBSD.org>2015-02-11 20:10:36 +0800
committerbofh <bofh@FreeBSD.org>2015-02-11 20:10:36 +0800
commit80684bc41b6b042a03ae2417084a3ef9c8edb419 (patch)
tree92979f44393dc94a7e001ba636bf8226f1eac68c /math/py-basemap
parentd819134cccd71b38fd52c03d5a4f578f613f6b14 (diff)
downloadfreebsd-ports-gnome-80684bc41b6b042a03ae2417084a3ef9c8edb419.tar.gz
freebsd-ports-gnome-80684bc41b6b042a03ae2417084a3ef9c8edb419.tar.zst
freebsd-ports-gnome-80684bc41b6b042a03ae2417084a3ef9c8edb419.zip
math/py-basemap: Update version 0.9.2=>1.0.7
- Add LICENSE (GPLv2 LGPL21 MIT) - Take maintainership Approved by: bapt marino (implicit)
Diffstat (limited to 'math/py-basemap')
-rw-r--r--math/py-basemap/Makefile14
-rw-r--r--math/py-basemap/distinfo4
-rw-r--r--math/py-basemap/files/patch-lib__matplotlib__toolkits__basemap__basemap.py11
3 files changed, 12 insertions, 17 deletions
diff --git a/math/py-basemap/Makefile b/math/py-basemap/Makefile
index 2ae2f377e880..b47acf329328 100644
--- a/math/py-basemap/Makefile
+++ b/math/py-basemap/Makefile
@@ -2,16 +2,20 @@
# $FreeBSD$
PORTNAME= basemap
-PORTVERSION= 0.9.2
-PORTREVISION= 8
+PORTVERSION= 1.0.7
CATEGORIES= math python
MASTER_SITES= SF/matplotlib/matplotlib-toolkits/${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Plots data on map projections with continental and political boundaries
+MAINTAINER= bofh@FreeBSD.org
+COMMENT= Plots data on map projections with boundaries
+LICENSE= GPLv2 LGPL21 MIT
+LICENSE_COMB= multi
+
+BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:${PORTSDIR}/math/py-matplotlib
+LIB_DEPENDS= libgeos.so:${PORTSDIR}/graphics/geos
USES= python
USE_PYTHON= distutils autoplist
@@ -32,5 +36,7 @@ post-patch:
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
+ @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_geoslib.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mpl_toolkits/basemap/_proj.so
.include <bsd.port.mk>
diff --git a/math/py-basemap/distinfo b/math/py-basemap/distinfo
index 14335aba4124..57a0667a6212 100644
--- a/math/py-basemap/distinfo
+++ b/math/py-basemap/distinfo
@@ -1,2 +1,2 @@
-SHA256 (basemap-0.9.2.tar.gz) = 602c73cda3f657b49f7cabc5a60bd203a42f8cb7694c3e4fbcb6dc27389fbf0c
-SIZE (basemap-0.9.2.tar.gz) = 7348431
+SHA256 (basemap-1.0.7.tar.gz) = e07ec2e0d63b24c9aed25a09fe8aff2598f82a85da8db74190bac81cbf104531
+SIZE (basemap-1.0.7.tar.gz) = 129694711
diff --git a/math/py-basemap/files/patch-lib__matplotlib__toolkits__basemap__basemap.py b/math/py-basemap/files/patch-lib__matplotlib__toolkits__basemap__basemap.py
deleted file mode 100644
index c10d7d53dd71..000000000000
--- a/math/py-basemap/files/patch-lib__matplotlib__toolkits__basemap__basemap.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/matplotlib/toolkits/basemap/basemap.py.orig Wed Oct 11 12:46:53 2006
-+++ lib/matplotlib/toolkits/basemap/basemap.py Wed Oct 11 12:47:16 2006
-@@ -22,7 +22,7 @@
- # BASEMAP_DATA_PATH env var not set.
- _datadir = os.environ.get('BASEMAP_DATA_PATH')
- if not _datadir:
-- _datadir = os.path.join(sys.prefix,'share','basemap')
-+ _datadir = os.path.join(sys.prefix,'share','py-basemap-data')
-
- __version__ = '0.9.2'
- __revision__ = '20060831'