From sw@gegenunendlich.de  Sat Feb 28 07:21:30 2004
Return-Path: <sw@gegenunendlich.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A549716A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 28 Feb 2004 07:21:30 -0800 (PST)
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A47AD43D1F
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 28 Feb 2004 07:21:29 -0800 (PST)
	(envelope-from sw@gegenunendlich.de)
Received: from [212.227.126.160] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 1Ax6HQ-00031j-00
	for FreeBSD-gnats-submit@freebsd.org; Sat, 28 Feb 2004 16:21:28 +0100
Received: from [80.142.202.45] (helo=kyuzo.dunkelkammer.void)
	by mrelayng.kundenserver.de with asmtp (TLSv1:EDH-RSA-DES-CBC3-SHA:168)
	(Exim 3.35 #1)
	id 1Ax6HQ-00008v-00
	for FreeBSD-gnats-submit@freebsd.org; Sat, 28 Feb 2004 16:21:28 +0100
Received: by kyuzo.dunkelkammer.void (Postfix, from userid 1002)
	id 884413FB6; Sat, 28 Feb 2004 16:21:26 +0100 (CET)
Message-Id: <20040228152126.884413FB6@kyuzo.dunkelkammer.void>
Date: Sat, 28 Feb 2004 16:21:26 +0100 (CET)
From: Stefan Walter <sw@gegenunendlich.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] net/py-GeoIP: Mapping of IP addresses/hostnames to country names in Python
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         63490
>Category:       ports
>Synopsis:       [NEW PORT] net/py-GeoIP: Mapping of IP addresses/hostnames to country names in Python
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 28 07:30:19 PST 2004
>Closed-Date:    Sat Feb 28 13:04:31 PST 2004
>Last-Modified:  Sat Feb 28 13:04:31 PST 2004
>Originator:     Stefan Walter
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
Infinity Approximation Task Force
>Environment:
System: FreeBSD kyuzo.dunkelkammer.void 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sat Feb 14 20:59:15 CET 2004
>Description:
Python API to the GeoIP library for obtaining the country, region, city,
latitude, and longitude of any IP address.

Depends on net/GeoIP.

WWW: http://www.maxmind.com/app/python

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
--- py23-GeoIP-1.2.0.shar begins here ---
# 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-GeoIP
#	py-GeoIP/Makefile
#	py-GeoIP/distinfo
#	py-GeoIP/pkg-descr
#
echo c - py-GeoIP
mkdir -p py-GeoIP > /dev/null 2>&1
echo x - py-GeoIP/Makefile
sed 's/^X//' >py-GeoIP/Makefile << 'END-of-py-GeoIP/Makefile'
X# New ports collection makefile for:	py-GeoIP
X# Date created:		27 February 2004
X# Whom:			Stefan Walter <sw@gegenunendlich.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	GeoIP
XPORTVERSION=	1.2.0
XCATEGORIES=	net python
XMASTER_SITES=	http://www.maxmind.com/download/geoip/api/python/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	${PORTNAME}-Python-${PORTVERSION}
X
XMAINTAINER=	sw@gegenunendlich.de
XCOMMENT=	Mapping of IP addresses/hostnames to country names in Python
X
XLIB_DEPENDS=	GeoIP:${PORTSDIR}/net/GeoIP
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=yes
X
XEXAMPLESDIR=	${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
XEXAMPLE_FILES=	README test.py test_city.py test_org.py
X
XPLIST_FILES=	%%PYTHON_SITELIBDIR%%/GeoIP.so \
X		%%PORTDOCS%%%%EXAMPLESDIR%%/README \
X		%%PORTDOCS%%%%EXAMPLESDIR%%/test.py \
X		%%PORTDOCS%%%%EXAMPLESDIR%%/test_city.py \
X		%%PORTDOCS%%%%EXAMPLESDIR%%/test_org.py
XPLIST_DIRS=	%%PORTDOCS%%%%EXAMPLESDIR%%
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${EXAMPLESDIR}
X.for file in ${EXAMPLE_FILES}
X	@${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-py-GeoIP/Makefile
echo x - py-GeoIP/distinfo
sed 's/^X//' >py-GeoIP/distinfo << 'END-of-py-GeoIP/distinfo'
XMD5 (GeoIP-Python-1.2.0.tar.gz) = ec40f604fb64971035b1ab72866d8fc1
XSIZE (GeoIP-Python-1.2.0.tar.gz) = 9622
END-of-py-GeoIP/distinfo
echo x - py-GeoIP/pkg-descr
sed 's/^X//' >py-GeoIP/pkg-descr << 'END-of-py-GeoIP/pkg-descr'
XPython API to the GeoIP library for obtaining the country, region, city,
Xlatitude, and longitude of any IP address.
X
XWWW: http://www.maxmind.com/app/python
END-of-py-GeoIP/pkg-descr
exit
--- py23-GeoIP-1.2.0.shar ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Sat Feb 28 13:04:26 PST 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63490 
>Unformatted:
