ports/125208: [NEW PORT]devel/py-geojson:Python's Encoder/decoder for simple GIS features
Wen heping
wenheping at gmail.com
Thu Jul 3 07:40:04 UTC 2008
>Number: 125208
>Category: ports
>Synopsis: [NEW PORT]devel/py-geojson:Python's Encoder/decoder for simple GIS features
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 03 07:40:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Wen heping
>Release: FreeBSD 7.0 release
>Organization:
ChangAn Middle School
>Environment:
FreeBSD tinderbox.wenjing.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
py-geojson is a python's Encoder/decoder for
simple GIS features.The package contains the
reference implementation of the Python geo
interface(http://trac.gispython.org/projects/
PCL/wiki/PythonGeoInterface) and the functions
for encoding and decoding GeoJSON formatted
data(http://geojson.org).
WWW: http://pypi.python.org/pypi/geojson/
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# py-geojson
# py-geojson/distinfo
# py-geojson/pkg-descr
# py-geojson/Makefile
# py-geojson/pkg-plist
#
echo c - py-geojson
mkdir -p py-geojson > /dev/null 2>&1
echo x - py-geojson/distinfo
sed 's/^X//' >py-geojson/distinfo << 'END-of-py-geojson/distinfo'
XMD5 (geojson-1.0b1.tar.gz) = 10863efb628d2ea76c8d674951ce2063
XSHA256 (geojson-1.0b1.tar.gz) = 61549b5dc447dcecb6f9f20593a13e87f993d3382409a2275108b32b65462aef
XSIZE (geojson-1.0b1.tar.gz) = 11586
END-of-py-geojson/distinfo
echo x - py-geojson/pkg-descr
sed 's/^X//' >py-geojson/pkg-descr << 'END-of-py-geojson/pkg-descr'
Xpy-geojson is a python's Encoder/decoder for
Xsimple GIS features.The package contains the
Xreference implementation of the Python geo
Xinterface(http://trac.gispython.org/projects/
XPCL/wiki/PythonGeoInterface) and the functions
Xfor encoding and decoding GeoJSON formatted
Xdata(http://geojson.org).
X
XWWW: http://pypi.python.org/pypi/geojson/
END-of-py-geojson/pkg-descr
echo x - py-geojson/Makefile
sed 's/^X//' >py-geojson/Makefile << 'END-of-py-geojson/Makefile'
X# Ports collection makefile for: py-geojson
X# Date created: 03 July, 2008
X# Whom: Wen Heping <wenheping at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= geojson
XPORTVERSION= 1.0b1
XCATEGORIES= devel geography python
XMASTER_SITES= ${MASTER_SITE_CHEESESHOP}
XMASTER_SITE_SUBDIR= source/g/geojson/
XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER= wenheping at gmail.com
XCOMMENT= Python's Encoder/decoder for simple GIS features
X
XRUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>1.9:${PORTSDIR}/devel/py-simplejson
X
XDOCSFILE= CHANGES.txt CREDITS.txt DEPENDENCIES.txt FAQ.txt \
X GeoInterface.txt HISTORY.txt INSTALL.txt LICENSE.txt \
X README.txt VERSION.txt
X
XUSE_PYTHON= 2.4+
XUSE_PYDISTUTILS=easy_install
XPYDISTUTILS_NOEGGINFO= yes
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X.for f in ${DOCSFILE}
X @cd ${WRKSRC} && ${CP} ${f} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-py-geojson/Makefile
echo x - py-geojson/pkg-plist
sed 's/^X//' >py-geojson/pkg-plist << 'END-of-py-geojson/pkg-plist'
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
X%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
X%%PORTDOCS%%%%DOCSDIR%%/CREDITS.txt
X%%PORTDOCS%%%%DOCSDIR%%/DEPENDENCIES.txt
X%%PORTDOCS%%%%DOCSDIR%%/FAQ.txt
X%%PORTDOCS%%%%DOCSDIR%%/GeoInterface.txt
X%%PORTDOCS%%%%DOCSDIR%%/HISTORY.txt
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL.txt
X%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
X%%PORTDOCS%%%%DOCSDIR%%/README.txt
X%%PORTDOCS%%%%DOCSDIR%%/VERSION.txt
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-py-geojson/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list