pkgsrc/net/py-GeoIP/Makefile
obache 747841268e 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 13:45:57 +00:00

20 lines
540 B
Makefile

# $NetBSD: Makefile,v 1.10 2010/01/22 13:45:57 obache Exp $
#
DISTNAME= GeoIP-Python-1.2.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/Python-//}
CATEGORIES= net python
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
LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
PYDISTUTILSPKG= yes
.include "../../lang/python/extension.mk"
.include "../../net/GeoIP/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"