Info2: << Package: geoip-py%type_pkg[python] Version: 1.2.1 Revision: 11 Type: python (2.3 2.4) Description: Python %type_raw[python] mod for IP to country lookup License: GPL Maintainer: Dave Vasilevsky # Dependencies: Depends: python%type_pkg[python] | python%type_pkg[python]-nox, geoip-shlibs BuildDepends: geoip-dev # Unpack Phase: Source: http://www.maxmind.com/download/geoip/api/python/GeoIP-Python-%v.tar.gz Source-MD5: 5683420ea34490029ee0285ff048fda0 # Patch Phase: PatchScript: << perl -pi -e 's;#!/usr/bin/env python;#!%p/bin/python%type_raw[python];' setup.py << # Compile Phase: CompileScript: << python%type_raw[python] setup.py build << # Install Phase: DocFiles: ChangeLog LICENSE MANIFEST README InstallScript: << python%type_raw[python] setup.py install --root=%d << # Additional Info: DescDetail: << MaxMind GeoIP is a collection of APIs for looking up the location of an IP address. It includes support for lookup of country, region, city, latitude, and longitude. Free databases are available for the country. << Homepage: http://www.maxmind.com/app/api # End of Info2 <<