aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-06-21 00:53:25 +0800
committermiwi <miwi@FreeBSD.org>2008-06-21 00:53:25 +0800
commit1f917e5b9b2ea5cc6387a6a066eb91bf90e217b4 (patch)
treeedd530aa5aa1c779972df060704ea76d2c5e70ed
parent3a71f03a74fe29f1dcd8c127fcf31a850843736c (diff)
downloadfreebsd-ports-gnome-1f917e5b9b2ea5cc6387a6a066eb91bf90e217b4.tar.gz
freebsd-ports-gnome-1f917e5b9b2ea5cc6387a6a066eb91bf90e217b4.tar.zst
freebsd-ports-gnome-1f917e5b9b2ea5cc6387a6a066eb91bf90e217b4.zip
py-rtree is R-Tree spatial index for Python GIS. Whether for in-memory feature
stores, Plone content, or whatever -- py-rtree is an index to speed up the search for objects that intersect with a spatial bounding box. WWW: http://trac.gispython.org/projects/PCL/wiki/Rtree PR: ports/124640 Submitted by: wenheping at gmail.com
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-rtree/Makefile28
-rw-r--r--devel/py-rtree/distinfo3
-rw-r--r--devel/py-rtree/pkg-descr5
-rw-r--r--devel/py-rtree/pkg-plist16
5 files changed, 53 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index bbe3e5b0ec9b..56119c12c378 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2131,6 +2131,7 @@
SUBDIR += py-rlcompleter2
SUBDIR += py-ro
SUBDIR += py-roxlib
+ SUBDIR += py-rtree
SUBDIR += py-ruledispatch
SUBDIR += py-sendfile
SUBDIR += py-setuptools
diff --git a/devel/py-rtree/Makefile b/devel/py-rtree/Makefile
new file mode 100644
index 000000000000..f751371a14ff
--- /dev/null
+++ b/devel/py-rtree/Makefile
@@ -0,0 +1,28 @@
+# Ports collection makefile for: py-rtree
+# Date created: 16 June, 2008
+# Whom: wenheping@gmail.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= rtree
+PORTVERSION= 0.4.1
+CATEGORIES= devel science python
+MASTER_SITES= ${MASTER_SITE_CHEESESHOP}source/R/Rtree/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= Rtree-${PORTVERSION}
+
+MAINTAINER= wenheping@gmail.com
+COMMENT= R-Tree Spatial Index For Python GIS
+
+BUILD_DEPENDS+= ${LOCALBASE}/include/spatialindex/SpatialIndex.h:${PORTSDIR}/devel/spatialindex
+RUN_DEPENDS+= ${BUILD_DEPENDS}
+
+USE_PYTHON= 2.4+
+USE_PYDISTUTILS= easy_install
+PYDISTUTILS_PKGNAME= Rtree
+PYDISTUTILS_NOEGGINFO= yes
+PYEASYINSTALL_ARCHDEP= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}
+
+.include <bsd.port.mk>
diff --git a/devel/py-rtree/distinfo b/devel/py-rtree/distinfo
new file mode 100644
index 000000000000..b76afff74e61
--- /dev/null
+++ b/devel/py-rtree/distinfo
@@ -0,0 +1,3 @@
+MD5 (Rtree-0.4.1.tar.gz) = 2f8a532077c384d6c39d9f60e356f2d2
+SHA256 (Rtree-0.4.1.tar.gz) = 79cd048d4b740b4245920b5da12b02d8b31193e9e42569340d581775aa36ed81
+SIZE (Rtree-0.4.1.tar.gz) = 29378
diff --git a/devel/py-rtree/pkg-descr b/devel/py-rtree/pkg-descr
new file mode 100644
index 000000000000..0054e88b0b5b
--- /dev/null
+++ b/devel/py-rtree/pkg-descr
@@ -0,0 +1,5 @@
+py-rtree is R-Tree spatial index for Python GIS. Whether for in-memory feature
+stores, Plone content, or whatever -- py-rtree is an index to speed up the
+search for objects that intersect with a spatial bounding box.
+
+WWW: http://trac.gispython.org/projects/PCL/wiki/Rtree
diff --git a/devel/py-rtree/pkg-plist b/devel/py-rtree/pkg-plist
new file mode 100644
index 000000000000..50b9c1d7e3ac
--- /dev/null
+++ b/devel/py-rtree/pkg-plist
@@ -0,0 +1,16 @@
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rtree/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rtree/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rtree/_rtree.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rtree/_rtree.so
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rtree/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rtree/_rtree.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rtree/_rtree.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rtree
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%