Path to this page:
Subject: CVS commit: pkgsrc/net/py-GeoIP
From: Filip Hajny
Date: 2016-10-19 15:31:17
Message id: 20161019133117.67D79FBD2@cvs.NetBSD.org
Log Message:
Update net/py-GeoIP to 1.3.2
1.3.2
- The description for org_by_name incorrectly directed people to
use name_by_addr rather than name_by_name.
- Previously GeoIP.country_names was populated from
GeoIP_country_name in the libGeoIP C API. Some versions of the
libGeoIP include non-ASCII ISO-8859-1 characters in these names,
causing encoding errors under Python. When installed under
Python 3, this API now uses UTF-8 country names to populate
this dict.
1.3.1
- Strings with non-ASCII characters would throw a UTF-8 decoding
error. In Python 3, all strings from the database are in UTF-8
and using set_charset to set the character set to something
other than UTF-8 will throw an ValueError exception.
1.3.0
- Python 3 support and significant code cleanup.
- The methods name_by_addr, name_by_addr_v6, name_by_name, and
name_by_name_v6 were added for ISP, Org, and ASNum lookups.
- Portability fixes.
- Expose GEOIP_MMAP_CACHE from the C library.
- Unit tests were added.
1.2.9
- Packaging fix. PyPI-only release.
1.2.8
- Remove unused code.
- Fix low memory error handling and refcount issues on error
reported by Matt Domsch
1.2.7
- Add example test_netspeedcell.py
Files: