pkgsrc/net/py-GeoIP/Makefile

21 lines
549 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.11 2011/10/31 09:08:55 obache Exp $
#
DISTNAME= GeoIP-Python-1.2.7
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/Python-//}
CATEGORIES= net python
2009-10-18 21:54:52 +02:00
MASTER_SITES= http://geolite.maxmind.com/download/geoip/api/python/
MAINTAINER= bartosz.kuzma@gmail.com
HOMEPAGE= http://www.maxmind.com/app/python
COMMENT= GeoIP support for Python
Update py-GeoIP to 1.2.4. Based on PR#42657 by Wen Heping. 1.2.4 2008-12-16 * Add charset and set_charset methods , as well as the new attributes GeoIP.GEOIP_CHARSET_ISO_8859_1 and GeoIP.GEOIP_CHARSET_UTF8 ( Boris Zentner ) * Add test_city_charset.py script showing howto use charset and set_charset ( Boris Zentner ) * Add last_netmask ( Boris Zentner ) * Fix compile warnings ( Boris Zentner ) * fix small memoryleak in database_info, org_by_name and org_by_addr ( Boris Zentner ) * fix version number in setup.py ( Boris Zentner ) * remove dma_code from test_city.py example ( Boris Zentner ) 1.2.3 2008-09-11 * update test.py - replace www.government.de with www.bundestag.de. Add range_by_ip example. ( Boris Zentner ) * Add range_by_ip - returns largest start and stop ip for any ip. Remember to use a IP not a name ( Boris Zentner ) * Add metro_code as a alias for the depreciated dma_code ( Boris Zentner ) 1.2.2 2008-08-13 * Update test_city.py and test_region.py ( Boris Zentner ) * Add region_name to GeoIPRegion ( Boris Zentner ) * Add database_info and database_edition attributes to GeoIP object (James Henstridge) * Add region_name and time_zone keys to GeoIPRecord wrapper (James Henstridge). * Export the country list, country code -> country name mapping, and country->continent mapping ( Ignacio Vazquez-Abrams ) * Raise country code counter from 251 to 253 ( Boris Zentner ) !! record_by_addr and record_by_name return None instead of throwing a exception. See test_city.py ( Boris Zentner ) * Add a py_geoip.error Exception object. (Boris Zentner) * Export the country list, country code -> country name mapping, and country->continent mapping ( Ignacio Vazquez-Abrams ) * Changed license to LGPL from GPL
2010-01-22 14:45:57 +01:00
LICENSE= gnu-lgpl-v2.1
2008-06-12 04:14:13 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
EGG_NAME= ${DISTNAME:S/-/_/}
.include "../../lang/python/distutils.mk"
.include "../../net/GeoIP/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"