geoip-py stable port information

Info2: <<
Package: geoip-py%type_pkg[python]
Version: 1.2.4
Revision: 1
Distribution: (%type_pkg[python] = 23) 10.4, (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5
Type: python (2.3 2.4 2.5 2.6)
Description: Python mod for IP to country lookup
License: GPL
Maintainer: Dave Vasilevsky

# Dependencies:
Depends: python%type_pkg[python], geoip-shlibs
BuildDepends: geoip-dev, fink (>= 0.24.12)

# Unpack Phase:
Source: http://www.maxmind.com/download/geoip/api/python/GeoIP-Python-%v.tar.gz
Source-MD5: 50f820d854476efaf3b7af733ffe4236

# Patch Phase:
PatchFile: %{ni}.patch
PatchFile-MD5: 83236443379d3f18664bde3eb1cbccdc

# 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
<<

geoip-py stable port .patch

diff -Nurd -x'*~' GeoIP-Python-1.2.4.orig/setup.py GeoIP-Python-1.2.4/setup.py
--- GeoIP-Python-1.2.4.orig/setup.py 2008-12-16 08:22:45.000000000 -0500
+++ GeoIP-Python-1.2.4/setup.py 2009-12-13 22:42:45.000000000 -0500
@@ -2,9 +2,7 @@

module1 = Extension('GeoIP',
libraries = ['GeoIP'],
- sources = ['py_GeoIP.c'],
- library_dirs = ['/usr/local/lib'],
- include_dirs = ['/usr/local/include'])
+ sources = ['py_GeoIP.c'])

setup (name = 'GeoIP-Python',
version = '1.2.4',

geoip-py _unstable_ port .patch